Page 1 of 2

1.8.1 not work correctly

Posted: 01 Aug 2008, 10:52
by 40k
Hi.
I Install phoca gallery 1.8.8 and Random Image Module 1.8.1 on joomla 1.5.4
you can see on my site http://www.southparkour.ru

Inmage not in center and not correct url, when click on image blank window.

When i installing on localhost (denver) get error "Notice: Only variables should be assigned by reference in z:\home\localhost\www\libraries\joomla\installer\adapters\module.php on line 102"

Sorry, for my bad english.

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 11:26
by Jan
Hi,

- localhost - php bug, try to update your php

- if you want to add the module into the center, you must specify the width in parameters (but the not centering of the image is caused by some collision between module and template)
- for correct link the menu link to component must be created (so the module can find the itemid)

Jan

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 11:56
by 40k
if you want to add the module into the center, you must specify the width in parameters (but the not centering of the image is caused by some collision between module and template)
no. image in box not in center.
for correct link the menu link to component must be created (so the module can find the itemid)
How create it? i have fine working gallery.

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 12:45
by Jan
image... then there is some collision between template and module css

Link: the link is there ... but there is problem somewhere else, because if you go over the image in Phoca Gallery Random Image Module, you cannot see any link (in the bottome in the browser), so there is some problem with creating the URL ??? E.g the download icon link is created but not correctly, the detail view is not created at all... ???

Jan

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 12:54
by 40k
Try another standart templates and image stand in horizontal center, but not vertical center =)

Link create on main page =(

Update localhost, install fine. Update to joomla 1.5.5...But problem not gone.

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 16:11
by 40k
change any code

Code: Select all

{
	$itemid = 0;
	//No JRoute now
	$valueImages->link ='index.php?option=com_phocagallery&view=detail&catid='. $valueImages->catslug .'&id='. $valueImages->slug .'&Itemid='.$itemid . '&tmpl=component&detail='.$detail_window.'&buttons='.$detail_buttons;
//	$imagesArray[]->link = 'index.php?option=com_phocagallery&view=detail&catid='. $valueImages->catslug .'&id='. $valueImages->slug . '&tmpl=component&detail='.$detail_window.'&buttons='.$detail_buttons ;
	}
now link correct.

Re: 1.8.1 not work correctly

Posted: 01 Aug 2008, 23:17
by Jan
Hi, this was fixed in 1.8.1
viewtopic.php?f=13&t=1454

So maybe you have downloaded it before the fix ... :( Great it works now...

Jan

Re: 1.8.1 not work correctly

Posted: 04 Aug 2008, 09:25
by 40k
Redownloaded, work fine. Sorry. =)

When in code centering image?

Re: 1.8.1 not work correctly

Posted: 04 Aug 2008, 14:09
by Jan
When in code centering image?
???

Re: 1.8.1 not work correctly

Posted: 05 Aug 2008, 13:22
by 40k
image in box not on a center. how i can do that?