[SOLVED] how to reference page alias in module tag

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
hollpoll
New Member
New Member
Posts: 5
Joined: Fri Jun 17, 2011 10:58 am

[SOLVED] how to reference page alias in module tag

Post by hollpoll »

Hi,

Im trying to use a different gallery on each page using one template.
So i wish to reference my gallery by calling it the same as my page and using the $page-alias tag to get it. I tried:

{Gallery dir='$page-alias'}

with no luck, is there a way of doing this?

Thanks
Last edited by hollpoll on Fri Jun 24, 2011 4:02 pm, edited 1 time in total.
uniqu3

Re: how to reference page alias in module tag

Post by uniqu3 »

Yes use:
{Gallery dir=$page_alias}
hollpoll
New Member
New Member
Posts: 5
Joined: Fri Jun 17, 2011 10:58 am

Re: how to reference page alias in module tag

Post by hollpoll »

Thank you!


I was close though:)
Post Reply

Return to “CMSMS Core”