Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi all,

I am trying to install CouchCMS on a PHP website so that the client can edit the content but every time I try to insert the Header and Footer files using:
Code: Select all
<cms:embed 'header.php' />

Code: Select all
<cms:embed 'footer.php' />


It is showing in the source code as a comment...

Any ideas?

FYI: I have changed the default 'snippets' path to 'includes' on the root.

Thanks!
Hi,

Is there any raw PHP being used in those snippets (the .php extension you are using seems to suggest that)?
If so, you'll have to convert the '<?php' and '?>' into 'cms:php>' and '</cms:php>'.

The following thread goes in greater depth on this topic -
viewtopic.php?f=2&t=10763

Hope it helps.
2 posts Page 1 of 1
cron