Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
My Ultimate Navigation Dream

 

 


trumpetmic
User

Mar 18, 2008, 6:46 AM

Post #1 of 5 (478 views)
Shortcut
My Ultimate Navigation Dream Can't Post

I would love it if my sub-navigation had two parts:

- one menu showing a list of only sub-categories of the currently displayed category page

and...

- the other menu showing a list of only the categories that are up one level from the currently displayed category page (all of the categories at the same level as the parent of the current category)

Is this possible? Any guidance here would be HUGELY appreciated. Thanks!

Mike


Jake
Staff / Moderator


Mar 19, 2008, 11:25 AM

Post #2 of 5 (466 views)
Shortcut
Re: [trumpetmic] My Ultimate Navigation Dream [In reply to] Can't Post

Hi Mike,

Have you tried adjusting the display settings for your navigation on your Category Menu publishing rule? This should be possible to get working by adjusting the settings there. Try playing around with the custom settings if none of the preset options work for you.

If you can't work out how to set this up, let us know what the category structure is on your site and we can look into it from our end. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



trumpetmic
User

Mar 19, 2008, 12:42 PM

Post #3 of 5 (465 views)
Shortcut
Re: [Jake] My Ultimate Navigation Dream [In reply to] Can't Post

Thanks for the reply. The Sr. Developer at my office found a way to accomplish this using some am2 and php script-fu. We weren't able to figure it out using the custom rules for some reason.

On another note, we also have globalMenu outputting a nested list of our entire category structure. We then apply fsmenu.js to give it some nice dropdown menu behavior. What I'd like to do is use globalMenu and fsmenu to create a menu with multi-column dropdowns, similar to what you can see on target.com.

I imagine the code that the publishing rule would need to spit out would have the ability to apply special classes, depending on which level within the categories it is in, and also classes should be applied to act as hooks for the columnar styles. Might even need to add in a div to contain each column.

So:
The level-0 categories would be visible nav links in the menu, each would be an <li> within the first <ul>.

The level-1 categories would look like column-headings in the main dropdown, and level-2 categories would be listed immediately below. I think this would be absolutely fantastic!

Ideas on how to accomplish this would be SUPER appreciated!


Jake
Staff / Moderator


Mar 20, 2008, 3:24 PM

Post #4 of 5 (460 views)
Shortcut
Re: [trumpetmic] My Ultimate Navigation Dream [In reply to] Can't Post

Hi trumpetmic,

I think the main thing to make use of for a menu like this would be the $category.depth$ placeholder - you can use this to evaluate where a category is at in the structure of your site with a templateIf statement.

One thing that could also be helpful would be to add the <!-- templateplaceholderlist --> command into your categoryMenu.html template to see all of the placeholders that are available for use. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



trumpetmic
User

Mar 20, 2008, 3:27 PM

Post #5 of 5 (458 views)
Shortcut
Re: [Jake] My Ultimate Navigation Dream [In reply to] Can't Post

Thanks for the reply! You've been really helpful to me.

Ok, so can I show you my template and ask a few specific questions?

Here's the template:

<ul class="menulist" id="listMenuRoot">
<!-- templateInsert : $categoryList$ -->
<!-- templatecell : categoryRow -->
<!-- templateIf: $category.isSelected$ != '1' -->
$category.listItemStart$<a href="$published.categoryIndex.url$">$category.name$</a>$category.listItemEnd$
<!-- /templateIf -->
<!-- templateIf: $category.isSelected$ == '1' -->
$category.listItemStart$<a href="$published.categoryIndex.url$">$category.name$</a>$category.listItemEnd$
<!-- /templateIf -->
<!-- /templatecell : categoryRow -->
</ul>



Question: How do I apply the $category.depth$ to each level of nested list?

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4