[Solved] Content Pages in Listit2

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

[Solved] Content Pages in Listit2

Post by carasmo »

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!
Last edited by carasmo on Sun Sep 02, 2012 4:13 pm, edited 1 time in total.
uniqu3

Re: Content Pages in Listit2

Post by uniqu3 »

In your template:

Code: Select all

{if !empty($item->fielddefs.alias_of_field.value)}{cms_selflink page=$item->fielddefs.alias_of_field.value}{/if}
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: Content Pages in Listit2

Post by carasmo »

THANK YOU!!!!!!!
pedes
Power Poster
Power Poster
Posts: 840
Joined: Tue Jan 27, 2009 11:47 am

Re: [Solved] Content Pages in Listit2

Post by pedes »

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:

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>
someone ?

Thks,
Peter
Post Reply

Return to “Modules/Add-Ons”