Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
create a single menu with only categories I want?

 

 


jeremed
User

Nov 12, 2006, 11:13 AM

Post #1 of 7 (1472 views)
Shortcut
create a single menu with only categories I want? Can't Post

If my categories look like this:

a.
b.
c.
c.1
c.2
c.3
d.
d.1
d.2
e.

Is it possible to create a single menu which ONLY has categories c, c.2, d.1, and e?

I played with the categories options for quite a while and I could not come up with the results I want.


ross
Staff / Moderator


Nov 12, 2006, 5:14 PM

Post #2 of 7 (1461 views)
Shortcut
Re: [jeremed] create a single menu with only categories I want? [In reply to] Can't Post

Hi there.

Thanks for posting!

My first thought here is that you could actually setup a custom category field called "show in custom menu". That way, for each category, you can tell it whether it will show up on the new menu you are trying to create.

Then on your menu template, you would just need to do a little bit of templateif-ing to determine which categories are going to appear.

Now, you could take this one step further and create a new publish rule that creates the custom menu. That way, you could use a completely different template and actually have a regular menu as well as a custom menu.

Does that sound like it would work? Let me know and I can go into more detail for you here Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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: http://www.interactivetools.com/consulting/



(This post was edited by ross on Nov 12, 2006, 5:15 PM)


jeremed
User

Nov 13, 2006, 5:13 PM

Post #3 of 7 (1445 views)
Shortcut
Re: [ross] create a single menu with only categories I want? [In reply to] Can't Post

Yes. That will work just fine. Thank you.


ross
Staff / Moderator


Nov 15, 2006, 3:17 PM

Post #4 of 7 (1427 views)
Shortcut
Re: [jeremed] create a single menu with only categories I want? [In reply to] Can't Post

Hi there.

Thanks for hanging on!

Theo actually just pointed out that there is an easier way to do this than I had started thinking. Basically, when you create a new category menu publish rule, you can select which categories it will display. So here's all you would need to do:

1. Log into Article Manager and go to Admin.
2. From Admin, select Publishing and click to create a new rule.
3. Rule name and description can be anything you like.
4. Rule type should be set to "a category menu".
5. Template can be set to "categoryMenus/categoryMenu.html
6. Placeholder Set Name can be set as something like "customMenu".
7. For the Published Files section, select One file - listing all selected categories.
8. Filename can be something like "customMenu" and extension can be left as is.
9. Scroll down to Category Filter and just select the categories you wanted to appear in your menu.

And that's it. Hit save and publish this listing. You'll now have a file created for you that only has those specific categories in it. You'll be able to include it onto any of your other Article Manager template by using:

<!--#include virtual="$published.customMenu.webpath$" -->

One important thing here is that the part in that include which says "customMenu" needs to be the same as what you used in step 6.

How does that all sound? Give it a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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: http://www.interactivetools.com/consulting/



jeremed
User

Nov 15, 2006, 6:41 PM

Post #5 of 7 (1418 views)
Shortcut
Re: [ross] create a single menu with only categories I want? [In reply to] Can't Post

I actually employed the method you described before and it is working well, but I will remember this method as it is simpler. Thank you.


Ruggerman77
New User

Nov 18, 2006, 4:45 AM

Post #6 of 7 (1402 views)
Shortcut
Re: [ross] create a single menu with only categories I want? [In reply to] Can't Post

I tried using your method - but I am getting hung up on where to find the file that I can change the template reference. It is grayed out in the index page in which I want to make the change, and I have tried to track the template holder section where I can make the changes - but I am all a bit new to this - any help would be appreciated -

Doug


ross
Staff / Moderator


Nov 21, 2006, 4:09 PM

Post #7 of 7 (1353 views)
Shortcut
Re: [Ruggerman77] create a single menu with only categories I want? [In reply to] Can't Post

Hi Doug.

Thanks for trying out my walk through Smile.

I am not actually quite sure where you are getting stuck though. What step had you made it to? And is the problem you are having inside the Admin interface or on one of your templates.

Perhaps you could attach a screenshot of what you are seeing on your page because I haven't actually come across any menus that were greyed out.

I know it isn't going to be anything major so I am sure we'll get it all sorted out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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: http://www.interactivetools.com/consulting/