[opencms-dev] how to creat a custom collector
MickyW
funkycms at axidea.fr
Fri Jun 3 18:52:05 CEST 2005
----- Original Message -----
From: "Daniel Wiesner" <daniel.wiesner at av-studio.de>
> >what I want to do is something similar to sql queries : i want X first
> >essources from folder A whose property P contains a certain tag T where
X,
> >P, T would be custom optional parameters.Would take a few seconds with a
> >database query and seems to be a pretty asic need for a CMS
> >but I don't see any other way to do this with OpenCms. Perhaps am I
missing
> >something?
> >thanks in advance
> >
> >
> I think this is possible with a collector. You have to parse the params
> and do some cms logic in getResults() of your collector class.
>
thanks a lot, that's exactly what I needed to get started :)
regarding my needs, I knew collectors can do it but I wanted something not
involving making a new class everytime a new filter is needed
I'll try to do it by using parameters parsing as you suggested
micky
More information about the opencms-dev
mailing list