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

Home: Products: Article Manager 2:
Selected Branch Only not working correctly

 

 


nkerschgens
User

Mar 11, 2008, 1:58 PM

Post #1 of 13 (1181 views)
Shortcut
Selected Branch Only not working correctly Can't Post

Hello!

I am trying to create a navigation for this site:

http://www.vitalplanet.net/html/publish/en/organization/index.shtml

On the left, you see the selected Branch Menu where the branch category is Organization. When i click on the sub item "Profile" the page reloads, the branch category (organization) remains and the subcategories of Profile are displayed. But the other subcategories (Values and Communications) of Organization are gone. These also needs to be displayed. This same problem also exists at the other categories (at the top): activities, info etc.

My template used for the navigation looks like this:

Code
<ul> 
<!-- templateInsert : $categoryList$ -->
<!-- templatecell : categoryRow -->
<!-- templateIf: $category.depth$ == '1' -->
<!-- templateIf: $category.name$ eq 'Frontpage' -->
<li style="display:none;">&nbsp;</li>
<!-- /templateIf -->
<!-- templateIf: $category.name$ ne 'Frontpage' -->
<li class="top blue italic"><h1 class="blue italic">$category.name$</h1></li>
<!-- /templateIf -->
<!-- /templateIf -->
<!-- templateIf: $category.depth$ == '2' -->
<!-- templateIf: $category.isSelected$ != '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->
<!-- templateIf: $category.isSelected$ == '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$" class="selected">$category.name$</a></li>
<!-- /templateIf -->
<!-- /templateIf -->
<!-- templateIf: $category.depth$ == '3' -->
<!-- templateIf: $category.isSelected$ != '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->
<!-- templateIf: $category.isSelected$ == '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$" class="selected">$category.name$</a></li>
<!-- /templateIf -->
<!-- /templateIf -->
<!-- templateIf: $category.depth$ == '4' -->
<!-- templateIf: $category.isSelected$ != '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->
<!-- templateIf: $category.isSelected$ == '1' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$" class="selected">$category.name$</a></li>
<!-- /templateIf -->
<!-- /templateIf -->
<!-- /templatecell : categoryRow -->
</ul>


The publish rule is set as:

Selected Branch Only (for lots of categories)

The navigation structure is set as:

- EN
- EN : Organization
- EN : Organization : Profile
- EN : Organization : Profile : Subcat
- EN : Organization : Values
- EN : Organization : Values : Subcat
- EN : Activities
- EN : Activities : R&D
- EN : Activities : R&D : Subcat

etc.

Can someone please help me to fix this problem?
Please let me know if you need more information.

Thank you!


Jake
Staff / Moderator


Mar 12, 2008, 1:07 PM

Post #2 of 13 (1172 views)
Shortcut
Re: [nkerschgens] Selected Branch Only not working correctly [In reply to] Can't Post

Hi nkerschgens,

I think the "One Level (recommended)" setting for your category menu publishing rule will accomplish the menu structure you're after - could you give that a shot and let me know if that's what you were looking for? If not I think some custom settings might be required here.

Don't hesitate to contact us. 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.



nkerschgens
User

Mar 12, 2008, 1:24 PM

Post #3 of 13 (1170 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

I've changed it to One level (recommended). It is almost the menu that i need (please see attached file of currently navigation), but now i want to remove the other parent categories (activities, info, investor relations) from the Organization Menu. (see attached file to see how the menu needs to be)

So there needs to be some custom settings and scripting i think.


(This post was edited by nkerschgens on Mar 13, 2008, 5:33 AM)
Attachments: currently.png (114 KB)
  howitshouldbe.png (110 KB)


Jake
Staff / Moderator


Mar 13, 2008, 3:07 PM

Post #4 of 13 (1158 views)
Shortcut
Re: [nkerschgens] Selected Branch Only not working correctly [In reply to] Can't Post

Hi nkerschgens,

Try using the following custom menu settings:

Show 0 level(s) of subcategories from root (always visible)
Show 1 level(s) of subcategories below selected category
Show parents only above selected category
Show selected category

I think that should work, but if not try fiddling with some of those settings. If anything is still off we'll probably need to set up some templateIf statements, but we can cross that bridge if we come to it. 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.



nkerschgens
User

Mar 14, 2008, 3:11 AM

Post #5 of 13 (1150 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

Almost!!

Please take a look at http://www.vitalplanet.net/html/publish/en/organization/index.shtml, when navigate deeper (example: profile) the other level 2 cats. (values and communications) are gone.

It is a tricky thing :) One remark, i am still using the template as described before (with al if statements etc.)


nkerschgens
User

Mar 17, 2008, 7:21 AM

Post #6 of 13 (1120 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

Jake,

I think that it should be possible to display all the categories with the parent category. I need to get the menu work this week. Can someone please help me?!

Thank you


Jake
Staff / Moderator


Mar 17, 2008, 10:53 AM

Post #7 of 13 (1118 views)
Shortcut
Re: [nkerschgens] Selected Branch Only not working correctly [In reply to] Can't Post

Hi nkerschgens,

Try changing this:

Show 0 level(s) of subcategories from root (always visible)

To this:

Show 1 level(s) of subcategories from root (always visible)

I tested that out on my end, and it looks like this will work for you. 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.



nkerschgens
User

Mar 17, 2008, 11:44 AM

Post #8 of 13 (1116 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

Dear Jake,

This is still not the solution, please check http://www.vitalplanet.net/html/publish/en/organization/index.shtml
and you will see that the level 2 categories (Profile, Values and Communications... except the selected level 2 category) disappears.


nkerschgens
User

Mar 17, 2008, 11:44 AM

Post #9 of 13 (1115 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

Maybe i need some php code to get the menu that i need?!


nkerschgens
User

Mar 18, 2008, 3:57 AM

Post #10 of 13 (1101 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

I've set the publish rule to:

-- Custom
--- Show 0 level(s) of subcategories from root (always visible)
--- Show 1 level(s) of subcategories below selected category
--- Show parent branches above selected category
--- Show selected category

Please see attached file to see the results.

When i navigate deeper within Organization, it all works fine (this is how it should be within a parent branch).

Now i need to remove the other Level 1 categories that are not "selected" (selected branch is now Organization).

The template looks now like this:


Code
<ul> 
<!-- templateInsert : $categoryList$ -->
<!-- templatecell : categoryRow -->

<!-- templateIf: $category.depth$ == '1' -->
<!-- templateIf: $category.name$ eq 'Frontpage' -->
<li style="display:none;">&nbsp;</li>
<!-- /templateIf -->
<!-- templateIf: $category.name$ ne 'Frontpage' -->
<li class="top blue italic"><h1 class="blue italic"><a href="$published.en_vpCatIndex.url$">$category.name$<a href="$published.en_vpCatIndex.url$"></h1></li>
<!-- /templateIf -->
<!-- /templateIf -->

<!-- templateIf: $category.depth$ == '2' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->

<!-- templateIf: $category.depth$ == '3' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->
<!-- /templateIf -->

<!-- templateIf: $category.depth$ == '4' -->
<li class="depth-$category.depth$"><a href="$published.en_vpCatIndex.url$">$category.name$</a></li>
<!-- /templateIf -->

<!-- /templatecell : categoryRow -->
</ul>


Is there a way to define and check the SELECTED parent branch!? Cause when this is possible, it should be possible to work with if statements or php to get it done.


(This post was edited by nkerschgens on Mar 18, 2008, 7:49 AM)
Attachments: VP_current.gif (90.5 KB)


Jake
Staff / Moderator


Mar 19, 2008, 11:03 AM

Post #11 of 13 (1083 views)
Shortcut
Re: [nkerschgens] Selected Branch Only not working correctly [In reply to] Can't Post

Hi nkerschgens,

I took a look at your site this morning and it looks like you got the menu to display according to the mock-up image you attached earlier.

Let us know if you need anything else! 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.



nkerschgens
User

Mar 19, 2008, 3:17 PM

Post #12 of 13 (1060 views)
Shortcut
Re: [Jake] Selected Branch Only not working correctly [In reply to] Can't Post

Yes i got i fixed with 2 "menu's" The Level 1 category (Organization etc.) is displayed by a customized breadcrumb menu. The subcats are displayed with the custom option (show 0 levels of root, show 1 level of subs, show parents)

If someone needs the details, please let me know.

Thank you for your support!


Jake
Staff / Moderator


Mar 20, 2008, 3:32 PM

Post #13 of 13 (984 views)
Shortcut
Re: [nkerschgens] Selected Branch Only not working correctly [In reply to] Can't Post

Hi nkerschgens,

That sounds like a clever solution! Let us know if you have any other questions. 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.


 
 
 


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