[opencms-dev] Get category from url param and use it in collector parameters
Yves Glodt
yg at mind.lu
Thu Apr 18 14:17:02 CEST 2013
Thank you this works ! Here my full param-line:
fq=category_exact:ict/&fq=type:v8news&fq=parent-folders:(/.content/news/ OR
%(request.siteroot)%(link1))&sort=collector.priority_prop desc,
collector.date_prop desc|createPath=%(link1)n_%(number:5).html
On 18 April 2013 11:51, Arturo Martín Lladó
<arturo.martin.llado at gmail.com>wrote:
> 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
>>
>>
>>
>>
>>
>
> _______________________________________________
> 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/6e3e080e/attachment.htm>
More information about the opencms-dev
mailing list