Hi,
Ive had a look at the examples for the sample portfolio site. I decided to download and use the blog section. I'm using couch in the following directory structure:
Therefore I had to change a few things for example embed files and the main include:
From
To
From
To
Now masterpage does not seem to work. Removing them helps get most features working because it falls back to the current page but on the links it does not. See below:
My question is what path should be supplied to masterpage?
Cheers Jason.
Ive had a look at the examples for the sample portfolio site. I decided to download and use the blog section. I'm using couch in the following directory structure:
/couch <--- Couch Dir
/cms <--- Template Files
Therefore I had to change a few things for example embed files and the main include:
From
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
To
- Code: Select all
<?php require_once( '../couch/cms.php' ); ?>
From
- Code: Select all
<cms:embed 'blog_sidebar.html' />
To
- Code: Select all
<cms:embed '../../cms/blog_sidebar.html' />
Now masterpage does not seem to work. Removing them helps get most features working because it falls back to the current page but on the links it does not. See below:
- Code: Select all
<a href="<cms:link masterpage='blog.php' />" class="button float" ><< Back to Blog</a>
My question is what path should be supplied to masterpage?
Cheers Jason.