New Message: Re: Changing the Preferences Template

webmaster at userland.com webmaster at userland.com
Sun Jun 7 22:13:18 CDT 2009


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$3487

By: Lawrence Lee (lawrence at userland.com)

You can either modify the built-in prefs or you can use this functionality to use your own custom prefs.

It might be easier in your situation to just make the changes directly in the built-in prefs:

manilaData.localization.languages.english.wizards.sitePrefs

You'll want to have a script that enables for it all existing sites and then write a newSite callback to set the preference to true on new sites. And then remove that pref from the built-in prefs.

http://frontier.userland.com/manila/callbacks/newSite

===
Override Member Prefs Wizards: A change to manilaSuite.prefs.prefsPage only sets pta^.wizard to the address of the site's custom prefs wizard if it's not already been set by a filter callback. This makes it possible to completely override the member prefs using a firstFilter callback, based on any criteria you choose.

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list