Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

'loadposition' not work for zentools

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I've created a Zentools single item gallery (Lightbox link behaviour), which works well if you place it in a defined module position (e.g. grid-8 in Base 3).

I'd like to include it on the page in the 'main' section.
I have coded this to achieve what I want:
[grid4]{loadposition zentoolsgallery}[/grid4]
[grid8_last]List of topics  [/grid8_last]
Everything is placed where I want it, but the zentools gallery does not work. I get the initial jpg showing, but no lightbox working.
Same if I change this to carousel - I get the small images showing from the directory, but no lightbox effects.
Same with grid - I get the images showing from the directory, but clicking on them only opens a new page showing the image (no lightbox).

Do I need to set something to "on" for the loadposition to work?
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
Last Edit: 9 years 9 months ago by NickMo.
The administrator has disabled public write access.
I'd try using the bootstrap syntax rather than the JB Type

That will be easiest

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
boostrap divs even - what template are you using?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm using Base 3.
Not sure about Bootstrap divs. Could you point me to some info?
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Even when I remove any formating (just have "loadposition zentoolsgallery" the lightbox option does not work.
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
ah in that case do you have a link for the site?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry, developing locally (so I get it right when I make changes to the live site).
I assume what I am doing should work?
Like I said before, putting it in a normal module position works fine, it's only when using the loadposition that Lightbox does not work.
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Does sound like a js issue as we use loadposition and zentools all the time

Do you see any error in the console window?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks for persevering with me.
No, no errors.
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Think we need a link to see the problem :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
OK, gone live, but the problem persists.
Here is the link: treefruit.com.au/plum
What to note:
This is a category menu page (consists of two K2 items).
What you see here is:
the intro text and item image and
the zentools module (lightbox using 'loadposition'). It is the bottom image - click on it and it works.
Now,
Click on the image immediately above the lightbox image (high density systems) to go to the item page view.
On this page I have used exactly the same ''loadposition'' code as before, but clicking on the image only opens the jpg. The lightbox does not work.
I'm sure there is a simple solution, but it's got me beat.
I was thinking perhaps a template setting/conflict?
If you could suggest possible solution, I'd be grateful (and I'm almost due to renew my membership...)
Regards,
Nick
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Nick,

Can I just confirm we are looking at?

treefruit.com.au/orchard-manuals/plum/item/48-plums-high-density-systems

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, the bottom plums image is the 'loadposition' zentools
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
hmm yes the problem is management of the js e.g. the order the jquery loads

Currently it is loading too late for the zentools module to work

Does load position work anywhere in the site?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, here: treefruit.com.au/plum
The bottom image on this page is from loadposition and it works fine.
I believe there is a simple way to get js to load earlier, I just can't remember how at the moment.
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
You could try disabling the Jquery loading in k2, or try loading jquery in the zentools module or install the jblibrary extension to manage the jquery load
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm using joomla 2.5.x
If I go to Joomla 3.x with that help?
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Bit drastic to upgrade for this :)

I'd try those options I suggested in reverse order

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks,
Tried the first two but no change. I'll download the library and let you know how I go.
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
I've tried a few options from the library but still can't get it to work. What options in the library should I set?
  • NickMo's Avatar
  • NickMo
  • 12 Month basic
  • 331 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers