Please login or register.

Login with username, password and session length
Advanced search  

News:

Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Import & Backup Plugin
SOBI2 Import & Backup
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: 1 [2] 3   Go Down

Author Topic: Switching to Slimbox/Mootools  (Read 14761 times)

0 Members and 1 Guest are viewing this topic.

chriscapetown

  • SOBI Profi
  • ***
  • Thanx from users: 2
  • Offline Offline
  • Posts: 108

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #10 on: 13. March 2008, 17:45:09 »
hey,

Been having this problem for ages so happy to come across this post..

Im using Populus (RocketTheme) which uses RokZoom for image popups..

Having trouble making SOBI2 use the RokZoom ?

Is there a way or do I have to try use another ? Tried puttings scripts in /myscripts/ like in the above post and editing the gallery.class.php but still no luck, this error:

Lightbox.init.bind is not a function
http://www.capetownalive.co.za/travel/components/com_sobi2/plugins/gallery/slimbox.js
Line 192

Would rather get RokZoom working - so the template controlls things... any advice would be much appreciated!!

Chris
Logged
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Trinity

  • SOBI Team
  • Development
  • SOBI Hero
  • *
  • Thanx from users: 507
  • Offline Offline
  • Posts: 6860

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #11 on: 13. March 2008, 18:34:35 »
Hi Chris,

you have javascript errors on your site:

Fehler: syntax error
Quelldatei: http://www.capetownalive.co.za/travel/component/option,com_sobi2/Itemid,260/sobi2Task,sobi2Details/sobi2Id,3/
Zeile: 675, Spalte: 51
Quelltext:
ddMapType(G_PHYSICAL_MAP);var point = new GLatLng( , );map0_qbu9c_0.setCenter(point, 18);

Fehler: tst0_qbu9c_0 is not defined
Quelldatei: http://www.capetownalive.co.za/travel/component/option,com_sobi2/Itemid,260/sobi2Task,sobi2Details/sobi2Id,3/
Zeile: 691

I assume this is the reason why the Gallery isn't working.  :(

Trinity
Logged
Get started fast - SOBI2 Import and Backup Plugin
Import & export entries, import & export categories, save your configuration
Back-up & restore your SOBI2 data - keep your data safe, and portable.

Get more info here: http://www.sigsiu.net/addons/import_and_backup_plugin.html
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

chriscapetown

  • SOBI Profi
  • ***
  • Thanx from users: 2
  • Offline Offline
  • Posts: 108

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #12 on: 13. March 2008, 19:24:13 »
Thanks for the reply..

Please look at this page instead - the one you looked at didnt have a Lat/Long..

http://www.capetownalive.co.za/travel/component/option,com_sobi2/Itemid,260/sobi2Task,sobi2Details/sobi2Id,8/ - This one shows up with no errors but doesnt open in slimbox/anything..
Logged
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Belaire Technologies

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 67
  • Offline Offline
  • Posts: 623

  • Reviews:

    What is it?

  • formerly - yoobuild
Re: Switching to Slimbox/Mootools
« Reply #13 on: 13. March 2008, 19:27:50 »
Ya'll

Here are a couple suggestions.  First off you should really place mootools way at the beginning in your joomla template.  Heck if your template has moo in it there is no need to add this line

<script type='text/javascript' src='{$mosConfig_live_site}/myscripts/mootools.js'></script>

You should also place the other files in the template too unless you are for sure you will not be loading them elsewhere.  You will want to turn off JS add-ons if you are not using them.  Only load JS that is needed.  There has been known collisions with javascript of SOBI2 and other add on JS.  (Not saying SOBI2 is bad or that add ons are bad).

Also if you are not seeing the slimbox appear it is probably not loading the CSS file so check that the CSS file path is correct. 

Debug using firefox & fiebug.  Do not try with IE.

However, you get things set in firefox then see if your site runs in IE 6/7.  If IE gives fatal errors check these threads.

NOTE:  These are not really Joomla 1.5 problems they are JS problems.
http://www.sigsiu.net/forum/index.php/topic,7809.0.html
http://www.sigsiu.net/forum/index.php/topic,7747.0.html
http://www.sigsiu.net/forum/index.php/board,77.0.html


Final Note:  Mootools/slimbox the author mentioned are working fine at my site.  I just am not running gallery.   They also are all playing nicely with SOBI2...  http://www.uoobuild.com/joomla.   
Logged
No one answering your sobi2 questions? Try our secondary support @ belairetech.com.  Sign in an open a ticket.  Sorry no large development questions please.  For now the service is free to sobi2 members.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

Belaire Technologies

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 67
  • Offline Offline
  • Posts: 623

  • Reviews:

    What is it?

  • formerly - yoobuild
Re: Switching to Slimbox/Mootools
« Reply #14 on: 13. March 2008, 19:36:55 »
@chriscapetown

It works.   I click on the (open lightbox) link and PRESTO!  It works. 

You may want to clear your browser cache.  When messing with javascript clear your browser each time you load new javascript.

Cheers
Logged
No one answering your sobi2 questions? Try our secondary support @ belairetech.com.  Sign in an open a ticket.  Sorry no large development questions please.  For now the service is free to sobi2 members.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

chriscapetown

  • SOBI Profi
  • ***
  • Thanx from users: 2
  • Offline Offline
  • Posts: 108

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #15 on: 13. March 2008, 19:40:44 »
Cancel this post, hold on a second :)
« Last Edit: 13. March 2008, 19:55:28 by chriscapetown »
Logged
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

chriscapetown

  • SOBI Profi
  • ***
  • Thanx from users: 2
  • Offline Offline
  • Posts: 108

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #16 on: 13. March 2008, 20:18:42 »
thanks uuobuild,

Still doesnt seem to be working for me, not too worried about the maps tab showing up with effects, but the gallery tab nothing is showing just opens as a picture file.

Quite confused at the moment  :blink:
Logged
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Belaire Technologies

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 67
  • Offline Offline
  • Posts: 623

  • Reviews:

    What is it?

  • formerly - yoobuild
Re: Switching to Slimbox/Mootools
« Reply #17 on: 13. March 2008, 20:29:41 »
Whatever you changed....  I now get javascript errors. 
Logged
No one answering your sobi2 questions? Try our secondary support @ belairetech.com.  Sign in an open a ticket.  Sorry no large development questions please.  For now the service is free to sobi2 members.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

chriscapetown

  • SOBI Profi
  • ***
  • Thanx from users: 2
  • Offline Offline
  • Posts: 108

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #18 on: 13. March 2008, 20:50:52 »
Ok well ive got myself very confused, anyway.. thinking about this..

If I go back to the Populus template's original index.php, and change gallery.class.php to its original, what steps would I take to fix it?
Logged
Country: South Africa South Africa |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Trinity

  • SOBI Team
  • Development
  • SOBI Hero
  • *
  • Thanx from users: 507
  • Offline Offline
  • Posts: 6860

  • Reviews:

    What is it?

Re: Switching to Slimbox/Mootools
« Reply #19 on: 14. March 2008, 09:46:55 »
Hi Chris,

Quote
...change gallery.class.php to its original,

There is no need to change the Gallery Plugin to switch to mootools/slimbox!!
You use version RC2.2. This version already has included the tip from this thread. This thread is obsolete since November 2007 (version RC2.1 of Gallery Plugin).
Check the admin panel of the Gallery Plugin.

Quote
http://www.capetownalive.co.za/travel/component/option,com_sobi2/Itemid,260/sobi2Task,sobi2Details/sobi2Id,8/ - This one shows up with no errors but doesnt open in slimbox/anything..

Yes, because in your modified version on the gallery neither the slimbox script nor the lightbox script are included.  :(

Trinity


Be careful with older posts. Always read the changelog of the product you use because the problems described in older posts are possibly solved.
Logged
Get started fast - SOBI2 Import and Backup Plugin
Import & export entries, import & export categories, save your configuration
Back-up & restore your SOBI2 data - keep your data safe, and portable.

Get more info here: http://www.sigsiu.net/addons/import_and_backup_plugin.html
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW
Pages: 1 [2] 3   Go Up
« previous next »
 

Page created in 0.241 seconds with 28 queries.

Partner Sites: Joomla Web Design  |  Yagendoo Templates  |  LayDev - Joomla Templates  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Akeeba Backup  |  FLEXIcontent  |  templates4ALL  |  Joomla! InSecurity