Developer forum

Forum » CMS - Standard features » ItemTypes behavior similar to news module

ItemTypes behavior similar to news module

Adrian Ursu
Reply

Hi Guys,

I need to replicate something similar with the behavior of news module.

I have a list of items for Speaker at a series of conferences.

I have also defined a Conference ItemType and I select Speakers to these conferences.

Because I want to re-use the speakers, I need to have details pages for the speaker near the structure of the conference (like Conference/speaker-name instead of General-page/Speaker-name).
This behavior is very similar with the way News modules wored. You could define news articles and list them with the news module wherever needed.

I am trying to accomplish the same thing using ItemPublisher.

I am trying to set up a general page where I could list the Speaker details based on the ID, and add the ItemPublisher in that page. The problem is that the SmartSearch of the ItemPublisher does not allow any rule based on ItemID.

Is there any other way I can get this bevahior? Or extend the SmartSearch of the ItemTypes?

Thanks,


Adrian

 


Replies

 
Mikkel Ricky
Reply

If I understand you correctly, I think you should take a look at the example items and templates we created for the Dynamicweb Tech Conference 2014

The Speaker.cshtml template includes an item publisher (@Item.RenderList) that lists all sessions, and the item publisher template uses a hacktrick to show only the session for the current speaker. It's a workaround, but it works – and we're working on a better solution.

Best regards,
Mikkel

 

You must be logged in to post in the forum