I have a table showing the top level sections on the home page of my test site at http://www.graphicz.eu.com/site1/
(Scroll right down.)
The code for the layout is:
There is a variable "ShowInHomepageSectionList" true/false, place of setting - section, default true, which is meant to let or stop a section appearing in the table. Problem is it stops the section appearing but the <td> still appears. I ave tried moving the blockif above the <td> which causes chaos (!) and using ListCount instead of ListIndex to no avail. I am not a php person but I wondered if it needs a bit of that?
Thank you everyone.
(Scroll right down.)
The code for the layout is:
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e"> <h2 class="clearall"><actinic:variable name="HomePageCatalogueTitle" /></h2> <table border="0" cellpadding="0" cellspacing="10" ><tr> <actinic:block type="TopLevelSectionList"> <td style="padding:5px; border:1px dotted silver; vertical-align:top;"> <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSectionIncludedInSiteMap%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22ShowInHomepageSectionList%22%20%2f%3e"> <actinic:variable name="SectionLinkHomePage" /> </actinic:block> </td><td><div class="best_selling_items_spacing"><img src="theme_shim.gif" height="1" width="1" alt=" " /></div></td> <actinic:block if="%28%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%25%204%29%20%3d%3d%200" ></tr><tr></actinic:block> </div> </actinic:block> </tr></table> </actinic:block>
Thank you everyone.
Comment