[SOLVED]ListIt2 how to create a cms selflink?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

[SOLVED]ListIt2 how to create a cms selflink?

Post by delve2013 »

I have setup listit2 to handle images and a title for each image. I would like the image when clicked to take the user to an internal cms page. I've managed to get the field definition working, and I can select the destination page but instead of taking me to that page it prints out the page id to the screen.
Last edited by delve2013 on Tue Oct 08, 2013 11:43 am, edited 1 time in total.
uniqu3

Re: ListIt2 how to create a cms selflink?

Post by uniqu3 »

Correct, a field definition will always output it's saved value, therefore in your ListIt2 template you still have to call {cms_selflink} where page parameter should contain your field definition value.

For exmaple {cms_selflink page=$item->ALIAS_OF_FIELD_DEF}
delve2013
Forum Members
Forum Members
Posts: 91
Joined: Thu Jan 31, 2013 4:23 pm

Re: [SOLVED]ListIt2 how to create a cms selflink?

Post by delve2013 »

Thanks buddy!
Post Reply

Return to “Modules/Add-Ons”