Domingo, 23 Noviembre 2014 01:00
beggarly

Search function &SEF

zOOm Media Gallery for Joomla 1.5

Search function &SEF

Postby kleurfeest.nl » Tue Jul 28, 2009 1:49 pm

Hi All,

Playing around with the search function and having installed SH404SEF and the Zoom extension for it we see some funny behaviour. Our structure looks like this

Main
- coloring pages
-- various
-- Animals
--- horses

For every category we have made custom SEF URLS which look like this
domain.com/coloring.html
domain.com/coloring/various.html
domain.com/coloring/animals.html
domain.com/coloring/animals/horses.html

(yes, it's a coloring pages website)
Now when I use the search function (from either the search input box or when I click on keywords when viewing an image) from say http://www.domain.com/coloring/various.html and in the search result is a picture of a horse and i click there, the URL gets messed up; starting with where I was and ending up with were I'm going:

domain.com/coloring/various/animals/horses.html

It seems like te hyperlinks in the results from a search are relative from were te search is done and not starting from the root (which would make my SEF run correctly).

Is there something I can do about this? You can see this all in live action on http://www.kleurfeest.nl but It's all in Dutch.....

UPDATE: I figured out what happens here, though I'm not programmer enough to fix it

The URL is build like this:
Root/menu-item/galleryname/sub-gallery-name/image-name
When you click on an image's keyword, you will get the quick-search results in the URL root/menu-item/ and every page you open from within these search results (in my case images or galleries) wil have this menu item name added to the URL resulting in something like:
root/previous-menu-item/current-menu-item/gallery-name

The same thing happens actually when you click on images in modules like mod_zoomthumbs.

For me, it would be just fine if the sh404sef module would not use the menu item at all when rewriting ZOOM's URL's. Would that be possible?

Thanks!
Ron
kleurfeest.nl
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Tue Jul 14, 2009 8:47 am

Return to zOOm



Who is online

Users browsing this forum: No registered users and 1 guest

cron