Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi everyone, im very new to couch cms, it looks amazing. I'm wondering how do I embed/nest content from other pages?

My goal is to create a long one page site. However it has a lot of fields, which would confuse the client, so I would like to break up all the content somehow. What's the best way to do this?

I was thinking of maybe creating a page for the 'About Us', a page for the 'Services', a page for 'Contact' etc and then embed them all into index.php and also make each one of those pages execute=0 so that only index.php loads.

Hope that makes sense. I'm happy to hear if there are other ways to achieve this!
Hi and welcome @rj751b,

You are absolutely correct in your assessment.

The standard way to handle a one-page site with Couch is to create a non-executable template for each distinct section. The templates will only be used to define editable regions. These values can then be fetched directly from the main index.php template with the cms:pages tag and masterpage parameter.

See viewtopic.php?f=4&t=7119&p=9516 for a similar topic.

Do let us know if you require any assistance.
Brilliant thanks! :D
3 posts Page 1 of 1