Hi, I've created a module based on the news module,
in the search/display template I want to add the following {cms_module module="Album" album={$entry->albumid}}
the parser doesn't deal with the nested parentheses very well and the album id does not get passed to the Album module.... is there any way I can get around this
Al
[solved] using tags in smarty templates
[solved] using tags in smarty templates
Last edited by Anonymous on Sat May 12, 2007 6:06 pm, edited 1 time in total.
--
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie
Re: using tags in smarty templates
I solved this, I am an idiot...
{cms_module module="Album" albumid=$entry->prop_album_id number="1"}
no need for the inner parentheses
{cms_module module="Album" albumid=$entry->prop_album_id number="1"}
no need for the inner parentheses
--
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie
Alan Ryan
Lead Developer
CodeCrunchers Internet Software Development - Ireland
http://www.codecrunchers.ie