CGSimpleSmarty get_page_content doesnt render Modules
Posted: Fri Mar 31, 2017 11:45 am
Hey,
I'm doing a OnePager right now with CMSms 2.1.6 and want to have the different sections as separate content pages.
Fortunately with CGSimpleSmarty I can get the content with:
But when I want to have a form from Formbuilder for example it shows me the smarty code on the page:
Is there a way to render that?
If not, is there a different way to show multiple page contents on one page + the modules / smarty code?
I'm doing a OnePager right now with CMSms 2.1.6 and want to have the different sections as separate content pages.
Fortunately with CGSimpleSmarty I can get the content with:
Code: Select all
{foreach from=$children item='child'}
{if $child.show_in_menu}
<section id="{$child.alias}">
<div class="container">
{cgsimple::get_page_content($child.alias,'','foo')}{eval var=$foo}
</div>
</section>
{/if}
{/foreach}
Code: Select all
Sektion 1
{FormBuilder form='kontakt'}
Is there a way to render that?
If not, is there a different way to show multiple page contents on one page + the modules / smarty code?