Foros de discusión

Search filter in Asset Publisher

Sandra Hidalgo, modificado hace 12 años.

Search filter in Asset Publisher

New Member Mensajes: 21 Fecha de incorporación: 9/10/11 Mensajes recientes
Hi again,

Is it possible to add a search filter above an asset publish table or I have to develop a new portlet for doing that? Where can I find an example?

Thanks!
thumbnail
Gnaniyar Zubair, modificado hace 12 años.

RE: Search filter in Asset Publisher

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Sandra Hidalgo:
Hi again,

Is it possible to add a search filter above an asset publish table or I have to develop a new portlet for doing that? Where can I find an example?

Thanks!



Hi Sandra,


Search Filter feature can be done in Asset Publisher Portlet to be filtered by category or article...etc. But Best practice is to develop custom portlet for that which would not disturb Liferay's OOTB portlet.

Are you looking for example to create a portlet or search Filter features?

- Gnaniyar Zubair
Sandra Hidalgo, modificado hace 12 años.

RE: Search filter in Asset Publisher

New Member Mensajes: 21 Fecha de incorporación: 9/10/11 Mensajes recientes
Hi Gnaniyar

I agree with you and I am going to develop a new portlet.

Have you got an example of new search portlet?

Thanks
Sandra Hidalgo, modificado hace 12 años.

RE: Search filter in Asset Publisher

New Member Mensajes: 21 Fecha de incorporación: 9/10/11 Mensajes recientes
I would like to achieve something like that: http://www.liferay.com/products/liferay-portal/stories
thumbnail
Gnaniyar Zubair, modificado hace 12 años.

RE: Search filter in Asset Publisher

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Sandra Hidalgo:
I would like to achieve something like that: http://www.liferay.com/products/liferay-portal/stories



Yes you have to write the search logic in your custom portlet.

display all the articles using journal content List by JornalContentLocalServiceUtil.getJournalArticles(int start, int end);

then if you want to filter based on category, then pull all the category in that dropdown, when we select that category, just change the List by passing the category . you can use Dynamic query feature.

HTH

- Gnaniyar Zubair
Sandra Hidalgo, modificado hace 12 años.

RE: Search filter in Asset Publisher

New Member Mensajes: 21 Fecha de incorporación: 9/10/11 Mensajes recientes
Last question emoticon

Can I reuse asset publisher display table and develop only the search filter or I have to develop in a portlet both (new search filter + new table)?
thumbnail
Gnaniyar Zubair, modificado hace 12 años.

RE: Search filter in Asset Publisher

Liferay Master Mensajes: 722 Fecha de incorporación: 19/12/07 Mensajes recientes
Sandra Hidalgo:
Last question emoticon

Can I reuse asset publisher display table and develop only the search filter or I have to develop in a portlet both (new search filter + new table)?



Better you can use custom table for that which would help you track the data.
Paul Butenko, modificado hace 12 años.

RE: Search filter in Asset Publisher

Junior Member Mensajes: 38 Fecha de incorporación: 2/07/10 Mensajes recientes
Hi,
I develop my custom portlet for searching througth Web contents. You can chek some info here.

BR,
Paul Butenko