Page 1 of 1

[SOLVED]ListIt2 how to create a cms selflink?

Posted: Fri Oct 04, 2013 4:02 pm
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.

Re: ListIt2 how to create a cms selflink?

Posted: Fri Oct 04, 2013 8:23 pm
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}

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

Posted: Tue Oct 08, 2013 11:44 am
by delve2013
Thanks buddy!