CGContentUtils and CMSMS 2.1.5
Posted: Wed Dec 07, 2016 10:11 am
II want to convert a website from 1.12.2 tot 2.1.5.
On the website I use the following tag :
This workes fine on the 1.12.2 website and content and tags ({news},{gallery}) from the page $child.alias shows up on the master page.
But on cmsms 2.1.5 only the tekst shows up and the tags {news} and {gallery} showsup as {news} and as {gallery}. The tags are not replaced by smarty so the news is not shown and the gallery pictures are not show.
Is there something I have to change in the code to make this work under cmsms 2.1.5.
Please help.
On the website I use the following tag :
Code: Select all
{cgsimple::get_page_content("{$child.alias}",'','foo')}{eval var=$foo}
But on cmsms 2.1.5 only the tekst shows up and the tags {news} and {gallery} showsup as {news} and as {gallery}. The tags are not replaced by smarty so the news is not shown and the gallery pictures are not show.
Is there something I have to change in the code to make this work under cmsms 2.1.5.
Please help.