Hi,
A Nice Friday evening teaser.
I am trying to show/hide layout code on my homepage if a section and or a product inside it is not hidden from the live website.
looked on the comunity but couldn't find anything.
I thought of something like this (bearing in mind it is in the outer layout of the homepage:
could something like this work? i say something like this because THIS doesn't work.
Any ideas?
Cheers
Lee
A Nice Friday evening teaser.
I am trying to show/hide layout code on my homepage if a section and or a product inside it is not hidden from the live website.
looked on the comunity but couldn't find anything.
I thought of something like this (bearing in mind it is in the outer layout of the homepage:
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e" >
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%202%29%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
<!-- layout code here -->
</actinic:block>
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%202%29%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
<!-- layout code here -->
</actinic:block>
</actinic:block>
Any ideas?
Cheers
Lee
Comment