Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: JEM3.x: Bootstrap accordion, keep open sliders remembered?

JEM3.0.7: Bootstrap accordion, keep open sliders remembered? 4 months 3 weeks ago #26282

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464
using locally
- Joomla 3.9.10
- JEM 3.0.7 (version not supported)
++ additional changes
- PHP 7.x

In the used version of JEM bootstrap accordion is used. It works fine except one thing and that's that the open sliders are not remembered. Basicly open tabs are rembered in Joomla, but sliders are a different story. Am currently testing a bit to see if it can be done.

if someone knows a way then i'd like to hear it.
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
Last edit: by Bluefox.
The topic has been locked.

JEM3.x: Bootstrap accordion, keep open sliders remembered? 4 months 3 weeks ago #26288

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464
Did manage to resolve the issue with remembering the open sliders by using a bit of javascript/jquery. Not sure if it's very usefull but in my case it does :). The script is making use of localStorage and it tracks the open/closed sliders. When open it's stored, but when closed the slider-ID is removed from localStorage.

Ah well if someone knows a better solution: you're welcome to post.

// attached a screenshot of what i meant with the bootstrap-sliders
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
Attachments:
The topic has been locked.

JEM3.x: Bootstrap accordion, keep open sliders remembered? 4 months 3 weeks ago #26289

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464
as i do like to see what's in the localStorage i've also added a function to the houskeeping-view. where all entrees are visible and with a remove button.
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.179 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......