#230: js error in profilegallery.min.js

15 years 1 month ago #90817 by ndee
Hi, got that js error in firebug:
[code:1]b(".cbpgIbox"«»).cbpbControlsHover is not a function
http://localhost/main15/components/com_comprofiler/plugin/user/plug_cbprofilegallery/js/profilegallery.min.js
Line 1[/code:1]

Can anybody confirm?

CB 1.2
PG 1.2 RC1
J! 1.5.9


EDIT: Added #

Post edited by: beat, at: 2009/03/06 12:26

###################
SPEED UP HELP, read first: Help us help you
###################

Please Log in to join the conversation.

15 years 1 month ago #90818 by beat
ndee wrote:

Hi, got that js error in firebug:
[code:1]b(".cbpgIbox"«»).cbpbControlsHover is not a function
http://localhost/main15/components/com_comprofiler/plugin/user/plug_cbprofilegallery/js/profilegallery.min.js
Line 1[/code:1]

Can anybody confirm?

CB 1.2
PG 1.2 RC1
J! 1.5.9


oops, our first bug, 24 hours after release:

profileGallery using profileBook's function.

Either also install profileBook too and put the tab before the one of profileGallery (that's why i didn't catch it), or open that js file (yes 1-liner) of profileGallery, and replace:

cbpbControlsHover with cbpgControlsHover

should work ?

EDIT: added #230

Post edited by: beat, at: 2009/03/05 23:20

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

15 years 1 month ago #90826 by ndee
Hi Beat,

I see. Fixed error at the end of profilegallery.min.js and profilegallery.js.

Works! Thanks!

###################
SPEED UP HELP, read first: Help us help you
###################

Please Log in to join the conversation.

15 years 1 month ago #90953 by snilloconator
Replied by snilloconator on topic Re: #230 : js error in profilegallery.min.js
Worked for me as well! TY

"I Get Tanked On The Weekends."

Please Log in to join the conversation.

15 years 1 month ago #91115 by SIGHUP
Yeah good find, this was giving me headaches as to why the lightbox wouldn't work.

Don't forget to also edit cb.profilegallery.php

find

[code:1]b(".cbpgIbox"«»).cbpbControlsHover[/code:1]

and change that to

[code:1]b(".cbpgIbox"«»).cbpgControlsHover[/code:1]

Other than that, nice work Nant!!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.784 seconds

Facebook Twitter LinkedIn