The Page Blocks module has been discontinued in favour of using actual pages and page templates and CGSimpleSmarty module to emulate Page Blocks. (see: http://forum.cmsmadesimple.org/index.ph ... 988.0.html)
It's great, it means that page blocks and the page structure are all kept together with the benefit of a clean and clear page structure and the ability to move page Block positions.
I have successfully replaced Page Blocks on all my pages except one where there is a need for nested page blocks. It all works except for the third level page (the Page Block nested within a Page Block) where only the actual {content} content shows up but {content block="Publication logo"} does not.
Here are snippets of the code used in the 3 templates that list Page Blocks of publications categories and then Page Blocks of the publications within these categories:
TOP LEVEL (main Publications page):
Code: Select all
{content}
{foreach from=$cgsimple->get_children('','',$children) item='child'}
{$cgsimple->get_page_content($child.alias)}
{foreach from=$cgsimple->get_children($child.alias,'',$subchildren) item='subchild'}
{$cgsimple->get_page_content($subchild.alias,'Publication logo')}
{$cgsimple->get_page_content($subchild.alias)}
{/foreach}
{/foreach}
{content}
THIRD LEVEL (repeating 'Publications' for each 'Publications Category'):
{content block="Publication logo"}
{content}
Can anyone see where I'm going wrong? Is it possible to nest "Page Blocks" using this method?
Any help appreciated.
Thanks.