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.

Hidden panel

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

Hello,
concerning the “Hidden Panel”, how to proceed to show the panel opened when the page is displayed for the first time?

Thank you :)
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
Last Edit: 4 years 11 months ago by Lorenzo.
The administrator has disabled public write access.
...any idea? :dry:
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Lorenzo,

You can't do this out of the box so you need to use either css or javascript.

How do you want this to behave? The panel slides in on page load or is already visible?

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hello Anthony,
yes I would like that the panel is already visible at the opening of the page, but forget it, I found another solution…

I found the script but I have not managed to change it :dry:
If it's not too complicated and you want to give me the solution I would appreciate it, it will help me for next time :cheer:

thank you anyway ;)
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Lorenzo,

There are a few ways to do this but the easiest is probably to edit the following file:

tpls/blocks/panel.php

and chnage this line:
	<div id="zen-panel" class="zen-panel" data-id="zen-panel-1">

to
	<div id="zen-panel" class="zen-panel" data-id="zen-panel-1" style="display:block">

That will make the panel visible on page loads.
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: Lorenzo
Hello Anthony and thank you for your answer ;)

I'll try it! ;)
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Best of luck with it

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

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

Happy Campers