[opencms-dev] Get category from url param and use it in collector parameters
Arturo Martín Lladó
arturo.martin.llado at gmail.com
Thu Apr 18 11:51:10 CEST 2013
Hi, Yves:
You have available the non stored field (you won't see it in the response,
but you can use it in the filter query) "category_exact" to do what you
need.
Try something like [...]&fq=category_exact:your_category.
Hope it helps.
Kind regards,
--
Arturo Martín Lladó
2013/4/18 Yves Glodt <yg at mind.lu>
> Hi list,
>
> I am using this as collector parameters:
>
> fq=type:v8news&fq=parent-folders:(/.content/blog/ OR
> %(request.siteroot)%(link1))&sort=collector.priority_prop desc,
> collector.date_prop desc|createPath=%(link1)n_%(number:5).html
>
> Now I would like to display the items of only one category and ideally get
> the category as url-parameter.
>
> How could that be done ?
>
> Best regards,
> Yves
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130418/00335309/attachment.htm>
More information about the opencms-dev
mailing list