I am having trouble manually re-ordering cloned pages in the front-end. The only way to get reorder working in backend was to turn on nested pages.
Contents of section.php:
Contents of index.php:
The order of titles will remain the same in the front-end even though I have changed it in the backend. How to make nested pages reorder in the front-end?
I have tried this - viewtopic.php?f=8&t=9577&p=32874#p32874, but it seems to be outdated as it breaks the admin panel UI.
Contents of section.php:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<cms:template title='Section' clonable='1' nested_pages='1' order='3' >
...
</cms:template>
<cms:if k_is_page>
<!DOCTYPE HTML>
<cms:show k_page_title />
</html>
</cms:if>
<?php COUCH::invoke(); ?>
Contents of index.php:
- Code: Select all
<?php require_once( 'admin/cms.php' ); ?>
<!DOCTYPE HTML>
<cms:pages masterpage='section.php'>
<h4><cms:show k_page_title /></h4>
</cms:pages>
</html>
<?php COUCH::invoke(); ?>
The order of titles will remain the same in the front-end even though I have changed it in the backend. How to make nested pages reorder in the front-end?
I have tried this - viewtopic.php?f=8&t=9577&p=32874#p32874, but it seems to be outdated as it breaks the admin panel UI.