Timeline for "Subtemplates" for entry using routing?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2015 at 18:56 | comment | added | Douglas McDonald | Great! Ya... I couldn't remember if using slug returned an ElementCriteriaModel or EntryModel. I should have warned you. Glad you got it working. I updated the answer. | |
Feb 18, 2015 at 18:54 | history | edited | Douglas McDonald | CC BY-SA 3.0 |
added 8 characters in body
|
Feb 18, 2015 at 17:55 | vote | accept | Chad W | ||
Feb 18, 2015 at 17:55 | comment | added | Chad W |
This worked! I guess it was easier than I first thought. The only thing I had to do different was {% set entry = craft.entries.section('mySectionHandle').slug(slug).first() %}
|
|
Feb 17, 2015 at 22:24 | history | answered | Douglas McDonald | CC BY-SA 3.0 |