Page 1 of 1

[SOLVED] how to reference page alias in module tag

Posted: Fri Jun 17, 2011 11:05 am
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

Re: how to reference page alias in module tag

Posted: Fri Jun 17, 2011 11:29 pm
by uniqu3
Yes use:
{Gallery dir=$page_alias}

Re: how to reference page alias in module tag

Posted: Mon Jun 20, 2011 9:41 am
by hollpoll
Thank you!


I was close though:)