TomMLS Reply #1, 1 year, 8 months ago
I Hope I am posting to the correct forum.
have a 'content' template which handles all my pages.
I'd like to vary its content according to whether someone has clicked a link from the home page, which has a resource ID #1.
That is, if the Resource ID == 1, use a particular chunk which contains particular placeholders.
Otherwise display a different chunk with different placeholders.
It would be something like:
[[!*id:if=``:eq=`1`:then=``:else=``]]
*id is for the current page, I need whatever is the way to designate the previous page's ID to know if it was 1 or not...it's the only source for going to the particular resource IDs involved...
Would it be ?? Does this pre-defined TV exist?? I need to use the parent ID of the current ID to know what to do with this call.
It seems like
[[!*parent:if=``:eq=`1`:then=``:else=``]] would work
This is for an announcements section, where each announcement section goes to its own announcement, whose parent ID is 1 (home).
Thank you, Tom
have a 'content' template which handles all my pages.
I'd like to vary its content according to whether someone has clicked a link from the home page, which has a resource ID #1.
That is, if the Resource ID == 1, use a particular chunk which contains particular placeholders.
Otherwise display a different chunk with different placeholders.
It would be something like:
[[!*id:if=``:eq=`1`:then=``:else=``]]
*id is for the current page, I need whatever is the way to designate the previous page's ID to know if it was 1 or not...it's the only source for going to the particular resource IDs involved...
Would it be ?? Does this pre-defined TV exist?? I need to use the parent ID of the current ID to know what to do with this call.
It seems like
[[!*parent:if=``:eq=`1`:then=``:else=``]] would work

This is for an announcements section, where each announcement section goes to its own announcement, whose parent ID is 1 (home).
Thank you, Tom