Products Module: Open hierarchy link in different page.

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am
Location: Bristol, UK

Products Module: Open hierarchy link in different page.

Post by SideshowBob »

Hi All,

I'm not sure if this is possible and I wonder if anyone with more experience with the Products modules could enlighten me.

Essentially I want to be able to click a hierarchy link and specify a target page/template to show the content.
Kind of like this but the parameter target doesn't exist:

Code: Select all

{Products action="hierarchy" target="somepage"}
As a little background: I have modified a hierarchy template and it now displays hierarchy items as a drop down menu on all pages. The site has several different page templates so having the hierarchy link target show on whatever page is currently showing isn't appropriate.

I hope this is clear, does anyone have any thoughts or suggestions?

Bob
bryan

Re: Products Module: Open hierarchy link in different page.

Post by bryan »

I've posted a request for this feature at:
http://dev.cmsmadesimple.org/feature_request/view/3640

I need it for this website:
http://wincomfg.com/

I ended up having to use external page links to each hierarchy item. Lucky for me I only have a few categories in that site.
cmaunoury
Forum Members
Forum Members
Posts: 36
Joined: Sun Jul 19, 2009 9:52 pm

Re: Products Module: Open hierarchy link in different page.

Post by cmaunoury »

Hey Brian,

Could you give a little more insight about how you achieved this on your website? I am thinking mostly of the MenuManger part with the Product Hierarchy. I am kind of lost with this part...

To explain some more, what I want to do is having a menu like that:

1) MENU ITEM 1
2) MENU ITEM 2
3) PRODUCTS MENU
                            -> PRODUCT HIERARCHY 1  -> page with all the products in this hierarchy together displayed as summary
                            -> FIRST CHILD ITEM IN PRODUCT HIERARCHY 2 -> page with this item in detail mode
                            -> SECOND CHILD ITEM IN PRODUCT HIERARCHY 2 -> page with this item in detail mode
                            -> THIRD CHILD ITEM IN PRODUCT HIERARCHY 2 -> page with this item in detail mode

etc.

bascially, my hierarchy 1 are a summary presentation of items in development in a list and then when they are developped enough to have a page of their own with more details, my editors would just have to change which hierarchy they belong to.

you can see a static/graphical presentation of it there: http://colin.maunoury.free.fr/o2la/test7.html

I use Products for the "Productions" part. So, it looks like your concept for wincomfg.com, but I am not very familiar with how to implement Product hierarchy in the menu manager, and even less with how to manage this child/parent difference between my menu items.

I guess I could basically create a "in development" page where I call the templates I have defined for this list presentation and the right hierarchy children and then create templates for the detail display of Products that I would call in pages I create each time there is a news completed Production.

But that means I have to be there each time a Project change hierarchy and I lose a fair amount of dynamism to my website.

Any idea? I am quite sure it's possible, but a quick walkthrough of the MenuManager/ Product Hierarchy synergies would be very helpful...
bryan

Re: Products Module: Open hierarchy link in different page.

Post by bryan »

cmaunoury,
All I did was create a page titled 'Products' which is where I put my Products Hierarchy template:

Code: Select all

{Products action='hierarchy' hierarchytemplate='Hierarchy-Main'}
Then I added 3 new pages with 'Products' as their parent page and set their content type as External Link. After that I set the URLs to the corresponding hierarchy pages:
Chairs: http://www.wincomfg.com/products/hierarchy/1/51
Tables: http://www.wincomfg.com/products/hierarchy/2/51
Furnishings: http://www.wincomfg.com/products/hierarchy/3/51

No need to change your menu
Last edited by bryan on Wed Dec 09, 2009 2:31 pm, edited 1 time in total.
bryan

Re: Products Module: Open hierarchy link in different page.

Post by bryan »

I created a workaround for this using jquery. I think you might be able to adapt it for your menu.
http://forum.cmsmadesimple.org/index.ph ... 89919.html
Post Reply

Return to “Modules/Add-Ons”