View Single Post
Old 11-16-2003, 01:25 PM   #1
fredh
Green Mole
 
Join Date: Nov 2003
Posts: 11
Question Per URL Catalogs?

Hey all,

First off, I have to say that this piece of software is awesome! Excellent work!

Is it possible to have a catalog based on an exact url or is it only by site name at the moment?

The reason is that the site I am building comes in 3 languages and is 100% templated.

To change languages I pass a $_GET var to a page, ex: http://xxxxx/index.php?lang=en

This value is stored in a $_SESSION var and all future pages are rendered in the appropriate language. (default is en)

So, what I would like to do is have 3 search catalogs:
1. http://xxxx/index.php?lang=en
2. http://xxxx/index.php?lang=fr
3. http://xxxx/index.php?lang=es

Then, depending on the current language I can query the appropriate catalog for results.

Is this possible?
fredh is offline   Reply With Quote