Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Brian Scott Schupbach
Asset Publisher, Related Assets, or something custom?
March 29, 2013 9:56 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

I would like to have 3 content areas on a page. One is the main content area and the 2 others are below and to the right of it. The content areas below and to the right will display content based off of categories contained in main content area.

What's the best way to do this?

I've checked out the related asset publisher and this doesn't seem to work because it forces me to manually select related assets within the main content area instead of simply categorizing them.

The second option I've been trying is to get 3 asset publishers on a page (each with their own structure/template so it displays the proper content type) but I can't seem to get it to function the way I need it. When the main content asset publisher is expanded, the others don't update their list to contain assets that have the same categories as the main asset publisher. I see that there is a communication tab in the configuration and was thinking this might be the key to getting it to work. However, having a categoryId parameter in the URL is not ideal for SEO and linking purposes.

Has anyone set something like this up before? If so, some help would be appreciated.

Thanks,

Brian
Mehdi norouzi
RE: Asset Publisher, Related Assets, or something custom?
March 30, 2013 3:42 AM
Answer

Mehdi norouzi

Rank: New Member

Posts: 19

Join Date: July 17, 2006

Recent Posts

Hi
this requirement is not support directly in liferay. you should make function to get categoryId or tag and return for example 3 article that have same tag (or categoryId) and then in structure and template you call this function and arrange your content for example see this
Brian Scott Schupbach
RE: Asset Publisher, Related Assets, or something custom?
April 1, 2013 8:39 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

Thanks for the advice. Do you have a code sample you could share to get me started?

Thanks!

Brian
Roger Wilson
RE: Asset Publisher, Related Assets, or something custom?
April 12, 2013 6:23 AM
Answer

Roger Wilson

Rank: Junior Member

Posts: 29

Join Date: February 20, 2013

Recent Posts

Why is the link in question pointing to a site concerning the Quran?
Brian Scott Schupbach
RE: Asset Publisher, Related Assets, or something custom?
April 12, 2013 10:54 AM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 329

Join Date: October 23, 2008

Recent Posts

I wondered the same thing but I think we're seeing an example of it working which happens to be a Quran website. I've created an app that I plan on putting in the marketplace that does it differently. I'm hoping within the next month or so...