Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [10-2005 Date Index] [Date Next] || [Thread Prev] [10-2005 Thread Index] [Thread Next]

[dokuwiki] Re: Javascript & Requiring summaries

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 05 Oct 2005 21:38:08 +0100
Andreas Gohr wrote:
On Mon, 03 Oct 2005 17:50:04 +0100
Chris Smith <chris@xxxxxxxxxxxxx> wrote:

Andi, while we're talking of javascript updates ;)

The cookie code dokuwiki uses is pretty simple, one value per cookie.

Any chance of updating it to something able to handle multiple
variables in one cookie?

Well we could store JSON (see http://json.org) in the cookie - what do you need it for?

Andi
Yes, thats the sort of thing. JS maintains an object which it serializes/unserializes to a single string for storing in the cookie.

To handle some user interface persistance in a template. Its not really a big deal, just a nice thing if instead of adding template specific js or more cookies the template could share the js and the cookie with the rest of Dokuwiki.

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.