Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. {% set enroll = craft.sections.getSectionByHandle('workshopEnrollments') %}
  2.  
  3. {% for e in enroll %} {{ e.sectionId }} {% endfor %}
  4.  
  5. {% for e in enroll %} {{ e.id }} {% endfor %}
  6.  
  7. Impossible to access an attribute ("sectionId") on a string variable ("32")
  8.  
  9. 32Workshop EnrollmentsworkshopEnrollmentschannel1workshop-enrollments/_entry1
  10.  
  11. {% set enroll = craft.sections.getSectionByHandle('workshopEnrollments') %}
  12.  
  13. {{ enroll.id }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement