Gavick News Image I module for Phoca Gallery

Phoca Gallery - image gallery extension
gerilla
Phoca Member
Phoca Member
Posts: 33
Joined: 04 Nov 2008, 17:16

Gavick News Image I module for Phoca Gallery

Post by gerilla »

hi,
i modificated Gavick News Image I module to Phoca Gallery. it looks great.
just install module. open module options and select Phoca category you wanna show, believe it or not thats all.

module demo:
http://tools.gavick.com/demo/photoslide-gk2

note: module shows image description as intro-text if you wrote else it shows category description. so if you wanna show different intro text per image you can write image descript. else you can write only category description... thanks for gavick for original module...
Last edited by gerilla on 04 Dec 2008, 03:51, edited 8 times in total.
DirkMu
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Jul 2008, 17:12

Re: Gavick News Image I module for Phoca Gallery

Post by DirkMu »

Hi,

I know this module. Its great. I installed it on my Joomla 1.5.8 but I encountered the following error:

Catchable fatal error: Object of class GKNewsImage1Helper could not be converted to string in /home/muellerd/public_html/modules/mod_gk_news_image_1/helper.php on line 162

Can you pleae check.

Thanks and kind regards
Dirk
gerilla
Phoca Member
Phoca Member
Posts: 33
Joined: 04 Nov 2008, 17:16

Re: Gavick News Image I module for Phoca Gallery

Post by gerilla »

i added revised zip file to my first post. try that.
FabZ
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Nov 2008, 18:29

Re: Gavick News Image I module for Phoca Gallery

Post by FabZ »

Hi gerilla,
installing the revised file, now I got this error:

Catchable fatal error: Object of class GKNewsImage1Helper could not be converted to string in \www\joomla\modules\mod_gk_news_image_1\helper.php on line 163

bye :)
gerilla
Phoca Member
Phoca Member
Posts: 33
Joined: 04 Nov 2008, 17:16

Re: Gavick News Image I module for Phoca Gallery

Post by gerilla »

FabZ wrote:Hi gerilla,
installing the revised file, now I got this error:

Catchable fatal error: Object of class GKNewsImage1Helper could not be converted to string in \www\joomla\modules\mod_gk_news_image_1\helper.php on line 163

bye :)
realy sorry i made a repeat at $this code. it didnt give error on my server so i couldnt notice it...

find this part in line 163 at helper.php:

$this->$this->module_width = "100%";

and delete one of $this

it must be:
$this->module_width = "100%";

or additionaly you can download it and replace helper.php file with new one.. i changed the zip file.
i hope it works now.
DirkMu
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Jul 2008, 17:12

Re: Gavick News Image I module for Phoca Gallery

Post by DirkMu »

I donwloaded your updated version and it is now working (Thanks a lot :) ) but for some reasons the thumbnails always show the same picture:
phoca.png
Kind regards
Dirk
gerilla
Phoca Member
Phoca Member
Posts: 33
Joined: 04 Nov 2008, 17:16

Re: Gavick News Image I module for Phoca Gallery

Post by gerilla »

hi,
try this:
FabZ
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Nov 2008, 18:29

Re: Gavick News Image I module for Phoca Gallery

Post by FabZ »

Hi Gerilla,
really thanks.
Pretty nice Phoca improvement, I think :wink:
but now I have these lines:

Notice: Undefined variable: article in C:\Programmi\EasyPHP 2.0b1\www\joomla\modules\mod_gk_news_image_1\helper.php on line 217

Notice: Undefined property: stdClass::$wordcount in C:\Programmi\EasyPHP 2.0b1\www\joomla\modules\mod_gk_news_image_1\helper.php on line 237

two lines each slide image.

Line 237 is related to "Show text block" option Yes/No.

What's wrong with my J! now? :roll:
Bye :)
gerilla
Phoca Member
Phoca Member
Posts: 33
Joined: 04 Nov 2008, 17:16

Re: Gavick News Image I module for Phoca Gallery

Post by gerilla »

hi Fabz,
i was using the article id for the article link which about the images.. but i changed it to category page. i had forgotten to delete this variable. i corrected it.


the second error is related to wordcount of intro text. it tries to get wordcount from database but of course there isnt any row about wordcount phoca gallery tables. i changed it to module parameters. now you can change word count of intro text from module properties page.

i changed the zip file at my first message. you can download from the first message...

i am new at php so, if you get any other error(s) just write here :|
FabZ
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Nov 2008, 18:29

Re: Gavick News Image I module for Phoca Gallery

Post by FabZ »

Works fine!! :wink:
Thanks a lot gerilla :twisted:
Post Reply