Albumtree does not remember state of the tree between pages

Ploink

Joined: 2010-05-09
Posts: 9
Posted: Tue, 2014-02-11 10:57

Dear forum members,

Recently I have installed Gallery 3 and nearly everything works fine, as it did in Gallery 2.
What puzzles me is that the dtree function of the albumtree module does not remember the page you navigate to. It collapses as soon as you hit a link.
I have tried to find the answer at the home of the script (destroydrop.com), but all it says is that it should remember the state of the branch (node?) and indeed in the demo, at the bottom of the page, it does. The site itself is under construction.
Does anyone know how to fix this? My site is beeldbank-dhc.nl. It is installed on a windows server (sorry).

Thank you very much in advance for any help.

Kind regards,

Marjan

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-02-11 16:32

does changing
albumTree.config.useCookies = false;
to
albumTree.config.useCookies = true;
About line 393 of the albumtree_block_dtree.html
work?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Ploink

Joined: 2010-05-09
Posts: 9
Posted: Tue, 2014-02-11 16:45

It does, you are my hero.
Thank you so much Dave.
Do you perhaps know whether I should notify my visitors of the fact that my website uses cookies?

Kind regards,

Mrajan

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-02-11 19:21

Great, I updated the docs to refect the customization.

Quote:
should notify my visitors of the fact that my website uses cookies?

I guess only if your in the EU or UK http://www.cookielaw.org/the-cookie-law/

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Ploink

Joined: 2010-05-09
Posts: 9
Posted: Wed, 2014-02-12 08:09

Thank you Dave, I wil check your link out.
Greetings,

Marjan