Answers.Body: <p>Welcome Ross! If you have 'Case Studies' as a <strong>Section</strong> and not a field, try changing your syntax to:</p>
  
  <pre><code>{% for entry in craft.entries.section('caseStudies').find() %}
  
      {{ entry.title }}
      ...
  
  {% endfor %}
  </code></pre>
  
  <hr>
  
  <p>Here's an updated example, showing an additional custom field...</p>
  
  <pre><code>{# Find all Entries in the Case Study section #}
  {% for entry in craft.entries.section('caseStudies').find() %}
  
      {# Display the entry's Title #}
      &lt;h2&gt;{{ entry.title }}&lt;/h2&gt;
  
      {# Display the contents of the Intro Summary (plain text field) #}
      &lt;p&gt;{{ entry.introSummary }}&lt;/p&gt;
  
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-04T11:42:08.427Z
Answers.Text: Thanks Matt, I think my understanding of the template system is a bit wrong. I thought that if I added entry.caseStudies to the template then it would give the option for that field in the backend. Are there any guides/docs available on how to add Sections and Fields to templates?
Answers.UserDisplayName: Ross
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-04T14:37:26.053Z
Answers.Text: The contents of a custom field are retrieved using tags WITHIN the for-loop. e.g. {{ entry.title }}. Check out: https://craftcms.com/docs/templating/craft.entries. Each field-type has a different syntax for rendering or making use of it's contents: https://craftcms.com/docs/fields
Answers.UserDisplayName: Matt P
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-05T19:18:40.437Z
Answers.Text: Thanks - But is it possible to create custom fields like {{ entry.variable }}
Answers.UserDisplayName: Ross
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-01T09:04:35.950Z
Answers.LastActivityDate: 2016-04-04T15:49:37.620Z
Answers.LastEditDate: 2016-04-04T15:49:37.620Z
Answers.UserDisplayName: Matt P
Body: <p>I'm new to Craft CMS dev and I'm trying to create a template using Twig and I'm getting this error: Craft\EntryModel and its behaviors do not have a method or closure named "Case Studies"</p>
  
  <p>I have a reference in the view file:</p>
  
  <pre><code>{% for entry in entry.caseStudies %}
  </code></pre>
  
  <p>I'm assuming there's a config file or somewhere I can add this to the EntryModel but I'm not sure where this is in the default Craft installation. Any suggestions are welcome.</p>
  
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-31T17:00:43.967Z
Comments.Text: You do not need to add anything to the model to access field properties/values — craft handles all of this for you. You may want to double check that the field `caseStudies` is defined (and spelled correctly), and that it has been added to the field layout of the entry in question.
Comments.UserDisplayName: Douglas McDonald
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-31T21:48:39.573Z
Comments.Text: What type of field is `caseStudies` and how are you defining the initial `entry`? You'll probably want to rename it to `{% for anythingBesidesEntry in entry.caseStudies %}` so as not to clobber the original `entry` variable name.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-04T11:43:46.073Z
Comments.Text: Thanks I think my understanding of the template system is a bit wrong, If I don't add field properties/values and sections in the model then where to I define them?
Comments.UserDisplayName: Ross
Tags: <templating><entrymodel>
Title: Error: Craft\EntryModel and its behaviors do not have a method or closure named "Case Studies"
ThreadText: # Error: Craft\EntryModel and its behaviors do not have a method or closure named "Case Studies"
  
  (Asked by: username_0 on 2016-03-31)
  
  I'm new to Craft CMS dev and I'm trying to create a template using Twig and I'm getting this error: Craft\EntryModel and its behaviors do not have a method or closure named "Case Studies"
  
  I have a reference in the view file:
  
  ```
  {% for entry in entry.caseStudies %}
  
  ```
  
  I'm assuming there's a config file or somewhere I can add this to the EntryModel but I'm not sure where this is in the default Craft installation. Any suggestions are welcome.
  
  Thanks
  
  **Tags:** templating, entrymodel
  
  > **Comments:**
  > **username_1**: You do not need to add anything to the model to access field properties/values — craft handles all of this for you. You may want to double check that the field `caseStudies` is defined (and spelled correctly), and that it has been added to the field layout of the entry in question.  
  > **username_2**: What type of field is `caseStudies` and how are you defining the initial `entry`? You'll probably want to rename it to `{% for anythingBesidesEntry in entry.caseStudies %}` so as not to clobber the original `entry` variable name.  
  > **username_0**: Thanks I think my understanding of the template system is a bit wrong, If I don't add field properties/values and sections in the model then where to I define them?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-04-01. Score: 2 | Accepted answer
  
  Welcome username_0! If you have 'Case Studies' as a **Section** and not a field, try changing your syntax to:
  
  ```
  {% for entry in craft.entries.section('caseStudies').find() %}
  
      {{ entry.title }}
      ...
  
  {% endfor %}
  
  ```
  
  ---
  
  Here's an updated example, showing an additional custom field...
  
  ```
  {# Find all Entries in the Case Study section #}
  {% for entry in craft.entries.section('caseStudies').find() %}
  
      {# Display the entry's Title #}
      <h2>{{ entry.title }}</h2>
  
      {# Display the contents of the Intro Summary (plain text field) #}
      <p>{{ entry.introSummary }}</p>
  
  {% endfor %}
  
  ```
  
  > **Comments:**
  > **username_0**: Thanks username_3, I think my understanding of the template system is a bit wrong. I thought that if I added entry.caseStudies to the template then it would give the option for that field in the backend. Are there any guides/docs available on how to add Sections and Fields to templates?  
  > **username_3**: The contents of a custom field are retrieved using tags WITHIN the for-loop. e.g. {{ entry.title }}. Check out: https://craftcms.com/docs/templating/craft.entries. Each field-type has a different syntax for rendering or making use of it's contents: https://craftcms.com/docs/fields  
  > **username_0**: Thanks - But is it possible to create custom fields like {{ entry.variable }}  
  
  ---
  
  