Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
if I have a
Code: Select all
how can output every entry?
I have my template where the fields are declared at the start and than I have a html-code for every entry which I embed through
Code: Select all
<cms:embed 'dates-list.html' />
But I get no output of the fields.
Do I need a masterpage tag in the embeded file?
There is no difference whatsoever in code that works when placed directly within a template and the same code when placed within a embedded snippet - you can confidently cut and paste code from the template and put it in a snippet and it will work just the same (assuming it worked in the main template to begin with).

I am not sure what code is contained in your snippet but imagine that it was placed in your main template and if it required the 'masterpage' param to work there, it will need the same in the snippet too.

Hope this helps.
2 posts Page 1 of 1