Fóruns

Início » Liferay Portal » English » 2. Using Liferay » General

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Ahmed Fehri
Recent Blogger for all scopes
11 de Fevereiro de 2013 01:03
Resposta

Ahmed Fehri

Ranking: Junior Member

Mensagens: 43

Data de entrada: 4 de Novembro de 2012

Mensagens recentes

Hi,

I have 3 pages:
  • Welcome :Recent Blogger portlet +Blogs Aggregator(Scope/Global/Default :all have been tested)
  • Page1 : :Recent Blogger portlet+Blogs portlet (Scope Mode)
  • Page2 : :Recent Blogger portlet+Blogs portlet (Scope Mode)

I am trying to display the recent blogger in the Welcome page which should include recent blogger of two pages(page1+2), but it does not work.
I tested the different modes available (in the Welcome page) : Scope / Global / default but all does not give me what I need!

So what should I do exactly?
Oliver Bayer
RE: Recent Blogger for all scopes
11 de Fevereiro de 2013 01:45
Resposta

Oliver Bayer

Ranking: Liferay Master

Mensagens: 875

Data de entrada: 18 de Fevereiro de 2009

Mensagens recentes

Hi,

I've not debugged it but as you've discovered it seems to be that tha recent blogger portlet is using the scopeGroupId as a parameter to retrieve the recent blog posts. Please check the source code to see if that's the case. If yes you have to modify it. You will have to retrieve all scope groups of the group table (the one with a parentGroupId set to the current group/ site you're accessing). In a next step retrieve the recent bloggers for all retrieved scopes in a loop.

HTH Oli
Ahmed Fehri
RE: Recent Blogger for all scopes
11 de Fevereiro de 2013 02:24
Resposta

Ahmed Fehri

Ranking: Junior Member

Mensagens: 43

Data de entrada: 4 de Novembro de 2012

Mensagens recentes

Hi Oliver,
Okey ,thanks i will try it soon and i will bring you up to date.