Developer forum

Forum » CMS - Standard features » Is it possible to show items related to other items (related via a dropdown itemfield)

Is it possible to show items related to other items (related via a dropdown itemfield)

Hans Ravnsfjall
Hans Ravnsfjall
Reply

On a newsbased website, we have two itemtypes.

ItemType A is Authtor (Item based page), where you create the authors.

ItemType B is Newsitem (Item based page), from where you create newsitems.

Now, in the NewsItem - it will be possible to select a newsauthor via a dropdown itemfield, that is set up to populate options from the list of Authors (ItemType B)

So far so good.

But the challenge is that we want it to be possible to show links to all the newsitems related to an author, when you are on an author page ( ie. those newsitems where the author is selected in the dropdown)

 

Can this be done somehow? And can it be done directly on a pagetemplate - without having to use an itempublisher?

 

/Hans

 


Replies

 
Nicolai Pedersen
Reply

Hi Hans

I think you can do it using the Item Publisher in a template - see example 3:

https://doc.dynamicweb.com/documentation-9/content/items/item-publisher#3297

BR Nicolai

 

You must be logged in to post in the forum