Page 1 of 1

Random Image does not work with SEF

Posted: 06 Aug 2008, 17:16
by nk111
Hi,

i'm using joomla 1.5.4, phoca gallery 1.8.8 and random image module 1.8.1

Everything works fine with SEF turned OFF. But with SEF turned ON the module is not working on the startpage. I say "on the startpage" because IT IS working on a page where "normal" gallery output exists...

If I am on the startpage the path generated from the plugin looks like this:

Code: Select all

http://path/to/my/joomla/component/phocagallery/1/detail/18-p1020050.html?tmpl=component&detail=0&buttons=1 
Which results in 404 errors

If I am on a page where I have standard gallery output in my content, the same random image module generates the path like this:

Code: Select all

http://path/to/my/joomla/bilder/1/detail/15-dsc01918.html?tmpl=component&detail=0&buttons=1
Which works correct.

any ideas?

Re: Random Image does not work with SEF

Posted: 06 Aug 2008, 23:21
by nk111
update:

additionally there seem to be some typos in 1.8.1..

In the file mod_phocagallery_module_random_image.php contained in the download you can find some of these:

Code: Select all

...phocagallery_module_random_images...
notice the additional "s" at the end!

which should be

Code: Select all

phocagallery_module_random_image
otherwise the css files will not be found which leads to a not vertically centered image in the random image image module!

This only happens if no other gallery content but the random image module is displayed on your page because otherwise the stylesheet will be included by the gallery component.

I will try if this also fixes that strange SEF bug but I'm afraid it won't.

Re: Random Image does not work with SEF

Posted: 07 Aug 2008, 00:25
by Jan
hi, the 's' should be fixed now.

Jan