Hi,
I have a simple search searching about 20 channels. On the search results page, I need to handle groups of information differently. I need to sort out the results by weblog/channel name (short_name).
Specifically, I’m trying to do this:
Say if weblog name contains “news”—> do this.
if weblog name contains “blog”—> do this.
if weblog name contains “events”—> do this.
there are about 8 - 10 weblog/channels that fit each group above. It is very painful, and I’m not sure about performance, to write out if statements for each separate channel options.
When I use the conditionals {if weblog_short_name = "blog"} or whatever, it doesn’t work. Seems that conditionals in that case only take exact matches.
Any suggestions? Am I missing a method somewhere or conditionals that I don’t know about?
thanks for any help!
Phoebe