The title isn't great, but it's difficult to convey what I'd like to achieve in one line.
A few weeks ago I helped Simon, the guy who some of you thought was spamming the forum LOL.
He was manually entering links to other items within the same Parent Section into his Product Layout. Which apart from being time consuming and labour intensive it became out of date very quickly when new items were listed.
We worked out some code that code be put in the product layouts and using a couple of variables it produced a list of sections (SPP):
The only downside to this code is that a new CV has to be created and set for each section.
I've been playing around with a blockif/variable combination that would only produce a list of sections that are all in the same parent section, but can't do it.
Does anyone have any thoughts, or perhaps you've already done it using a similar or completely different method.
I've searched the forum/KB and AUG because I'm sure this would have come up before, but don't think I'm using the correct search terms because the articles I find aren't relevant.
It's not rush job, don't even know if I'm going to use it, but it's been niggling at me for a few weeks and I'd like to take it, sorry put it to bed
If it's still unclear as to what I want let me know.
A few weeks ago I helped Simon, the guy who some of you thought was spamming the forum LOL.
He was manually entering links to other items within the same Parent Section into his Product Layout. Which apart from being time consuming and labour intensive it became out of date very quickly when new items were listed.
We worked out some code that code be put in the product layouts and using a couple of variables it produced a list of sections (SPP):
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22ShowTTLinks%22%20%2f%3e%20%3d%3d%20true"> <actinic:block type="EntireSectionList" > <actinic:block if="%3cactinic%3avariable%20name%3d%22Indoor%20List%22%20%2f%3e%20%3d%3d%20true" > <a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><actinic:variable name='SectionName'/></a> </actinic:block> </actinic:block> </actinic:block>
I've been playing around with a blockif/variable combination that would only produce a list of sections that are all in the same parent section, but can't do it.
Does anyone have any thoughts, or perhaps you've already done it using a similar or completely different method.
I've searched the forum/KB and AUG because I'm sure this would have come up before, but don't think I'm using the correct search terms because the articles I find aren't relevant.
It's not rush job, don't even know if I'm going to use it, but it's been niggling at me for a few weeks and I'd like to take it, sorry put it to bed
If it's still unclear as to what I want let me know.
Comment