Share » Forums » Setup & design » Search per siteaccess?

Search per siteaccess?

Search per siteaccess?

Monday 25 July 2005 3:57:04 am - 3 replies

Author Message

Nabil Alimi

Monday 25 July 2005 6:31:55 am

Can't you achieve this by having 2 search forms each one searching in different fields ?

(Or maybe I didnt catch your problem at all.^^)

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Mikael Johansson

Monday 25 July 2005 11:11:43 am

Maybe you could override the search result template at the user site and filter out "illegal" search options?

In other words: override
design/standard/templates/content/advancedsearch.tpl with a template that does not include searchresult.tpl if illegal options are set.

Mikael Johansson, Sweden

Eivind Marienborg

Monday 25 July 2005 11:25:01 am

That's not as easy as it seems.. I don't only have to prevent sensitive information to be displayed, I also need it not to be revealed.

Let's say someone searches for John Hansen, and gets one hit. Then they can be sure that John Hansen is registered.

So, if I am to do this in simple template code, I need to know what attribute the search matched, and do the elimination on that. But that doesn't sound like the easy way out either.. ;)

But thanks for the input, though :)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu