Search found 7 matches
- Sat Oct 23, 2010 6:08 am
- Forum: Layout and Design (CSS & HTML)
- Topic: $node->haschildren always returns true
- Replies: 4
- Views: 1208
- Thu Oct 21, 2010 12:32 am
- Forum: Layout and Design (CSS & HTML)
- Topic: $node->haschildren always returns true
- Replies: 4
- Views: 1208
Re: $node->haschildren always returns true
Sorry. I suck at smarty. You probably (or don't) know the frustration of working with something for days and getting nowhere. Okay, so this is what I want. I've changed it a bit from the previous thread. I have 3 levels. If the current page has a sub-page, the submenu is shown. If the current page h...
- Wed Oct 20, 2010 3:04 pm
- Forum: Layout and Design (CSS & HTML)
- Topic: $node->haschildren always returns true
- Replies: 4
- Views: 1208
$node->haschildren always returns true
$node->haschildren always returns true. Why? In this example, #menu2 is always shown regardless if the page has subpages or not. God this CMS drives me nuts. {if $count > 0} {assign var="test1" value="test"} {assign var="test2" value="test1"} <div class="...
- Wed Oct 20, 2010 3:57 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Help making 3 level menu
- Replies: 5
- Views: 1476
Re: Help making 3 level menu
anybody out there?
- Mon Oct 18, 2010 1:36 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Help making 3 level menu
- Replies: 5
- Views: 1476
Re: Help making 3 level menu
Where do I get the code for that menu? Edit: The default menu does not do what I want. 1) It displays all subpages no matter what 2) The html is wrong: is inside of , not inside of I've spent like 8 hours on getting this extremely simple thing to work, but no luck. Edit2: What does the default menu ...
- Sun Oct 17, 2010 8:27 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Help making 3 level menu
- Replies: 5
- Views: 1476
Re: Help making 3 level menu
I'm bad at explaining. Here's some examples for what I want: When you are on a 1st level page (eg. About) and it has children <div class="menus" style="clear: both;"> <ul> <li><a href="#">Front page</a></li> <li><a class="selected" href="#">About</a>...
- Sun Oct 17, 2010 4:42 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Help making 3 level menu
- Replies: 5
- Views: 1476
Help making 3 level menu
Somehow my brain can't do menu design! I have three levels of menus, but I only want sublevels shown if the current page has sublevels. The active page, and it's parent(s) should be marked. But I can't figure out how to do this in the "menu-language" of CMSMS. Can anybody point me in the r...