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.

Zentabs automatic open in Grid3

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

Hi, folks... i'm trying to get some modules show up as tabs in grid3. They work but they show up all closed. There's a way to have the first one already open when the page load, as on other templates?

Cheers,
Andrea
  • andreaspada's Avatar
  • andreaspada
  • 12 Month basic
  • 138 posts
  • Karma: 8
The administrator has disabled public write access.
Can you point me to the page as there are three different kinds of tabs available I think with this template :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry, Paul... is not an online setup. I could prepare one for sure, but at first I'll try to figure out why do not work as expected. As I told you, on all the others template I tried the zentabs module styling, the first tabs always is opened, as soon as the page load.
On my setup, just when using the Grid3 template, when the page load the tabs are all closed...

Well, as I told you, I'll try some tweak on the code, but if I get no result, I prepare an online setup.

Cheers
  • andreaspada's Avatar
  • andreaspada
  • 12 Month basic
  • 138 posts
  • Karma: 8
The administrator has disabled public write access.
Its hard to say without seeing it - I'd suggest checking the console to see if there is any error showing

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Paul, I got some some results replacing two call in html/modules/php, in lines 102 and 103: there is a $ja in place of jQuery (I saw it in flux template, which I know is working...).

I replaced and it worked as expected.

Maybe a jQuery conflict? I think that $ja is a variable calling another library?

Well, I give the other chromes a look. Maybe there are other tweaks to do.

Cheers,
Andrea
  • andreaspada's Avatar
  • andreaspada
  • 12 Month basic
  • 138 posts
  • Karma: 8
The administrator has disabled public write access.
Hi Andrea,

Think you may be onto something there

I'll check with Rob or Anthony but will probably be monday

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Andreas,

Does changing the $ja to jQuery fix the issue?

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi, Anthony! :cheer:

Yes, it fix the issue.

Can you kindly explain me what $ja stand for? I'd like to better understand, so I can be of much help in case I find others unsuspected behaviors...

Cheers,
Andrea
  • andreaspada's Avatar
  • andreaspada
  • 12 Month basic
  • 138 posts
  • Karma: 8
The administrator has disabled public write access.
Awesome :)

Yes I think it was the way that T3 initially declared jQuery noconflict in their templates. We always use jQuery which is pretty standard and this little bit of code must have been left in the files.

Adding this to my local copy here and will release tomorrow.

Thanks!
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
My pleasure, Anthony! ;)
  • andreaspada's Avatar
  • andreaspada
  • 12 Month basic
  • 138 posts
  • Karma: 8
The administrator has disabled public write access.
:)
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

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

Happy Campers