Apologies to Eric - the reason it didn't work was that I created a tiddler called SystemSettings, instead of using the one that was inbuilt. Now that I've found that and entered his code, it works fine.
On Monday, 6 August 2012 13:52:33 UTC+1, Simon wrote: > > Actually, I tried Eric's solution and couldn't get it to work - the web > page still opened in a new tab or window. > > Using zzConfig works OK. > > > On Sunday, 5 August 2012 19:56:35 UTC+1, Eric Shulman wrote: >> >> On Aug 5, 10:45 am, PMario <[email protected]> wrote: >> > You shouldn't use SystemSettings for that. It is a reserved name that >> > is used to keep permanent settings, as a cookie replacement. see: >> http://tiddlywiki.com/#PersistentOptions >> > It must not be tagged systemConfig since it is processed by the core >> > at startup. >> > Instead of SystemSettings you can use eg: zzConfig and tag it >> > systemConfig. >> >> >> As PMario noted, [[SystemSettings]] is a special name, used by the >> TWCore to automatically store persistent option settings, so you >> should not use it as a 'plugin' (i.e., a tiddler tagged with >> "systemConfig", containing javascript code). >> >> However, rather than using the old 'zzConfig' convention to initialize >> the internal option value for FramedLinksPlugin, you *CAN* use the >> SystemSettings tiddler, in the way it is intended.... simply write: >> >> chkFramedLinks: true >> >> Then, during startup processing, the TWCore will read the >> SystemSettings and automatically perform the assignment: >> config.options.chkFramedLinks=true >> (i.e., the same action as the old 'plugin initialization' approach). >> >> enjoy, >> -e >> Eric Shulman >> TiddlyTools / ELS Design Studios >> >> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >> http://www.TiddlyTools.com/#Donations >> >> Professional TiddlyWiki Consulting Services... >> Analysis, Design, and Custom Solutions: >> http://www.TiddlyTools.com/#Contact >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/_Ky8T65eLI0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

