Page HooksJs
"hooks.js" is a file in your "root" directory.
It is included by MainJs at startup.
It can redefine some properties of SwConstant that impact the way the application looks and behaves.
Example:
<code>
SW.name = "SimpliWiki"
SW.domain = "simpliwiki.com"
SW.static = "simplywiki.com"
SW.dir = "wiki"
SW.config.mentorUser = "@simpliwiki"
SW.mentorCode = "Mentor"
SW.meeboBar = ""
SW.fbid = "115811123456789"
SW.shortcutIcon = "yanugred16.png"
</code>
CategoryHelp
jeanhuguesrobert@ -
@jhr -
edit