Lee's method given in post 13 on that thread works a treat and I recently used something similar to split a brochure list and a section list into 2 lists each on a site.
Announcement
Collapse
No announcement yet.
Custom Section List With Sub Sections
Collapse
X
-
Great, had a good read through that (a few times!) and I am encouraged, if still slightly confused.
Conceptually I think I have a handle on Lee's method (very smart it is too), however, I have a few specific querstions...
1. where are the variables for each section actually set?
2. Once I set a specific variable for each section, how do I amend the code below so that it only shows a specific variable? Do I change the section marked in red below (this is the code I am using for the side section presently...)
Code:"<ul id="sectionListSide"> <actinic:block type="EntireSectionList"> <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%21%3d%20%22%22%29"></li></actinic:block> <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNamePrev%22%20%2f%3e%20%3d%3d%20%22%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%202%29" ><ul></actinic:block> <li<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionID%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aSectionID%22%20%2f%3e"> id="currentPage"</actinic:block>><a href="<actinic:variable name="SectionPageName"/>"><actinic:variable name='SectionName'/></a> <actinic:block if="%28%3cactinic%3avariable%20name%3d%22SectionNameNext%22%20%2f%3e%20%3d%3d%20%22%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%202%29" ></li></ul></actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22ListCount%22%20%2f%3e"></li></actinic:block> </actinic:block> </ul>"
Comment
-
I don't think you are doing anything wrong. I've never managed to get this to work either. I'm sure it will work with PHP, but it doesn't work with standard Actinic conditions (well, it does, but it doesn't product 100% w3c-valid HTML).
I was trying to get a nice hierarchical bulleted list to improve the look of the sitemap in Actinic (which isn't as good as it could be). In the end I just did the following for the site map section links...
Code:<li style="margin-left: <actinic:variable name="SectionLevel" />em;"> <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>'> <Actinic:Variable Name="SectionName"> </a> </li>
Comment
-
Ah, this old chestnut is still causing problems, I see... it's been so long since I visited this issue. I seem to remember getting it to work but only with 2 layers of sections. I've since found (read: fudged) another way around what I was originally trying to achieve so I didn't pursue it further. Maybe it would be a good idea to delete this thread? Or I could stick a warning on the first post? It seems to be a dilly of a pickle(!)Mark
Comment
-
haha, I did think about posting my code... I even wrote a tutorial because it isn't just code but then I saw all the confusion I created with this thread so it put me off some what. But, if you like you can have a gander at my work in progress site... I'd like to emphasise WORK IN PROGRESS, I know it looks like... poo. Anyway, you can still see it working on my old trial space HERE. If you click on "Blum CLIP" it will go into the section, show you it's siblings followed by another menu containing it's children, on the left (Does that make sense? I've confused myself!). If you think that kind of thing is useful, I'll post my tutorial. It's all done within Actinic and doesn't use any javascript, which is nice.Mark
Comment
-
Nested fly out menu
Hello
Well i have struggled all day to try and jam Chris' nested list code into a style sheet to get a fly out menu.
Some hours ago it looked like I had it. Then I added another section and it all went wrong. Still this does look like a useful link:
http://http://www.cssplay.co.uk/menus/flyoutt.html
I really wanted a lovely flyout menu. I have hard coded the links till I find one, but no doubt this will all fall over when I go live.
I was hoping to find an add on to do flyouts in Actinic v9, but cant find any?? Does anyone know of a nested section, sub section flyout menu that works with Actinic 9. I'm sure someone must have made one?
Angel
Comment
-
Hello Tracy
I downloaded the drillpine.biz norlist software, but it came up with an error about not recognising my catalog and then a number. I have actinic v9 which might be a problem.
I have hard coded the sections in, but I am not sure this will work when I go live as Actinic puts a "P_" infront of the links.
I am sure someone must have one that works on v9 somewhere. I am just getting on with the rest of the site whilst I keep looking.
Angel
Comment
Comment