Hey
In the listit2 the summary template, links to the detailed page are called by {$item->url}
In the detailed template, I'm trying to pass {$item->url} to a variable and then in to the main CMSMS template for SEO.
{$item->url} seems to has no value in the detailed template.
How do I past the detailed url to the main cmsms template??
I also trying to construct the url to pass from the detailed template, like so:
{assign var="product_url" value="{root_url}/products/{$item->alias}/{$item->item_id}"}
But {$item->item_id} is giving a value of 1 where it should be say 59.
Any ideas... I've trawled the forum.
[Solved] Pass Listit2 detailed URL to CMSMS template
[Solved] Pass Listit2 detailed URL to CMSMS template
Last edited by KayakMan on Mon May 25, 2015 2:10 pm, edited 1 time in total.
Re: Pass Listit2 detailed URL to CMSMS template
Last parameter isn't the item id but the id of the page where the details should be displayed.
Consider installing CGSimpleSmarty module and use
Consider installing CGSimpleSmarty module and use
Code: Select all
{cgsimple::self_url()}
Re: Pass Listit2 detailed URL to CMSMS template
Thanks velden!
I'll give that a try.
I'll give that a try.
Re: Pass Listit2 detailed URL to CMSMS template
velden, you're the man/woman! worked a treat. Cheers!!