Developer forum

Forum » Templates » new-items as menu-items

new-items as menu-items

Lise T. Pedersen
Reply

I have a small group of products in 8 categories, and I think, I am going to build a "product catalogue" in the news v2 module.

But is there any way, that I can "extract" the list of news categories and  items in each category and in some way show them in a fold-out (left) navigation?

Or any other ideas to solve this?

My problem is that I have to implement pages with overview of all products in each category, both with picture and text and link for each category/item. If it was only links, I could go the other way around, produce pages for each product and use either sitemap or navigation templates to "collect" them. But i'm not sure I can handle all the xslt-programming, these templates would need.


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Lise,

 

As far as I know, there's no direct way to do it. However, you can use the extensibility API to inject your items into the main navigation. This article shows you how: http://devierkoeden.com/articles/extending-the-sitemap-with-dynamicweb-content.aspx

 

Cheers,

 

Imar

 
Nicolai Høeg Pedersen
Reply

Hi Lise

 

Imars approach is a possibility.

 

BUT - you should consider using Items. They will be available in the navigation, can be published on pages using the item Publisher and can contain whatever data you need. That is the way to go.

 

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Ah, yes, I agree. Items would make this much easier. Guess I still had my old extensibility API hat on.... ;-)

Imar

 
Lise T. Pedersen
Reply

Thanks for your answers - I have not practiced anything with items yet, only seen it demonstrated, and it looks promising.. Can I find some study material/tutorials somewhere in the Engage (have searched in video archive, found nothing, and hans now signed up for a tech talk in november)??

Lise

 
Merethe Nielsen
Reply

Hi Lise

 

A lot of documentation for items is placed in the manual: http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Items.aspx

 

I agree with Nicolai. Items have a lot of possibilities and we improve it for each release.

 

Kind regards,

Merethe Nielsen

 
Merethe Nielsen
Reply

In in the download section here on the developer site you can download a zip containing a design and datebase that illlustrate Nicolais "4 ways of implementing" which he has demoed on tech conference and in partner meetings:

http://developer.dynamicweb-cms.com/downloads/tech-conference-2013.aspx

 
Lise T. Pedersen
Reply

Thank you Merethe - I'll ihave look at it immediately!!

 

You must be logged in to post in the forum