Page 1 of 1

cgsimple question

Posted: Sun Sep 18, 2016 9:46 pm
by rbaby
I added a new page with the correct alias and in my template I specify:

{cgsimple::get_page_title([$aboutsummary])}
{cgsimple::get_page_content($aboutsummary,'content_en')}

Title seems to be returning the current page you are on, instead of the page alias I specified...sometimes, it shows nothing too.

Page content is pulling nothing--what am I doing wrong?

Thank you!

Re: cgsimple question

Posted: Mon Sep 19, 2016 8:06 am
by pWorker
Hey,

that works for me:

{cgsimple::get_page_title([$aboutsummary])}

{cgsimple::get_page_title(aboutsummary)}

Original module hint:

Code: Select all

The title of the current page is {cgsimple::get_page_title()}
mfg