CB Gallery Module 1.2 bug

12 years 10 months ago #163978 by Hypopotamus
CB Gallery Module 1.2 bug was created by Hypopotamus
there is a bug in the file is mod_cbgallery.php
from line 45 of the 48 line

bad:
$PGImagesAbsolutePath = $_CB_framework->getCfg( 'absolute_path' ) . '/components/com_comprofiler/plugin/user/plug_cbprofilegallery/images/';
$PGImagesPath = 'components/com_comprofiler/plugin/user/plug_cbprofilegallery/images/';
$PGItemAbsolutePath = $_CB_framework->getCfg( 'absolute_path' ) . '/images/comprofiler/plug_profilegallery/';
$PGItemPath = 'images/comprofiler/plug_profilegallery/';


correctly:
$PGImagesAbsolutePath = $_CB_framework->getCfg( 'absolute_path' ) . '/components/com_comprofiler/plugin/user/plug_cbprofilegallery/images/';
$PGImagesPath = '/components/com_comprofiler/plugin/user/plug_cbprofilegallery/images/';
$PGItemAbsolutePath = $_CB_framework->getCfg( 'absolute_path' ) . '/images/comprofiler/plug_profilegallery/';
$PGItemPath = '/images/comprofiler/plug_profilegallery/';

and in the line 590

bad
//echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"" . $pg_live_site . "/modules/mod_cbgallery/cbgallery1.js\"></script>";

correctly:
echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"" . $pg_live_site . "/modules/mod_cbgallery/cbgallery1.js\"></script>";

Best regards
Béla

Please Log in to join the conversation.

12 years 10 months ago #164253 by daviator
Replied by daviator on topic Re: CB Gallery Module 1.2 bug
Hello Béla,
What does this correct?

Thanks!
David

Please Log in to join the conversation.

12 years 10 months ago #164255 by nant
Replied by nant on topic Re: CB Gallery Module 1.2 bug
I am also looking at this.

Can you please tell me what bug this addresses?

Please Log in to join the conversation.

12 years 10 months ago #164844 by Hypopotamus
Replied by Hypopotamus on topic Re: CB Gallery Module 1.2 bug
46 and 48 missing from the line / character from the image
if missing, the browser back arrows if we go back, you can not find the images

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.242 seconds

Facebook Twitter LinkedIn