portlet - Linking to a Page that "contains" a specific Web Content Article in Liferay 6 -


i'm building portlet site powered liferay ee 6.0 sp1 suggest related or otherwise interesting content depending on user looking at.

for example, suppose user on page contains web content display portlet displaying web content article 5. portlet contain html links pages user can view web content articles 6 , 7 (which contain content determined similar content in web content 5).

the problem comes in because don't want portlet display html links web content articles 6 , 7 (assuming such concept valid), want portlet display links to pages on items displayed (i.e., links pages contain web content display portlets configured show web content articles).

is there way to:

  • associate web content article page if have former, can fetch latter?
  • or, determine page(s) contain portlets display web content article?

alternatively, if there way portlet instances associated particular page, might lead solution well.

one approach problem appears to add "link page" control web content article's structure. content managers can use create many-to-one relationships between web content articles , pages.

this solution problematic, though, because there no constraint on page selected when web content edited.

for example, content manager might create web content article entitled "our history", specify "products" page value of article's "link page" control. when related content portlet renders "our history" article, create hyperlink "products" page in case not display "our history" article anywhere.

arguably, considered feature, perhaps there better way it.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -