I REALLLLLLY love Listit2. I'm wondering how the Content Pages work. All I can see it returns is the page id, can it be used to spit out the link to a page, and if so, how?
Thanks!
[Solved] Content Pages in Listit2
[Solved] Content Pages in Listit2
Last edited by carasmo on Sun Sep 02, 2012 4:13 pm, edited 1 time in total.
-
uniqu3
Re: Content Pages in Listit2
In your template:
Code: Select all
{if !empty($item->fielddefs.alias_of_field.value)}{cms_selflink page=$item->fielddefs.alias_of_field.value}{/if}Re: Content Pages in Listit2
THANK YOU!!!!!!!
Re: [Solved] Content Pages in Listit2
ok this gives me a link ... but how to use this over an image
like gives me just the content id, but not the url, i would like to see the url:
someone ?
Thks,
Peter
like gives me just the content id, but not the url, i would like to see the url:
Code: Select all
<a href="{$item->fielddefs.contentpage.value|cms_escape}" title="">
<img src="{$uploads_url}/images/product/{$item->fielddefs.product_image.value|cms_escape}" alt="" /></a>Thks,
Peter

