Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-5) was last changed on 05-Jul-2006 17:33 by Janne Jalkanen  

This page was created on 30-Jun-2006 17:23 by Nascif Abousalh-Neto

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 41 added 5 lines
You can also call that code from any plugin or filter you'd like. Just use the WikiContext supplied.
Therefore, you could for example put in a PageFilter which would add a particular Javascript library to every page, or a plugin, which would add a JS library to only those pages which actually have the plugin. As long as your template has the <wiki:IncludeResources> in the right place (and the default template will have it, regardless of any changes), your code will work.
-- JanneJalkanen
Version Date Modified Size Author Changes ... Change note
5 05-Jul-2006 17:33 2.815 kB Janne Jalkanen to previous
4 05-Jul-2006 17:05 2.313 kB Nascif Abousalh-Neto to previous | to last
3 01-Jul-2006 12:30 1.686 kB Janne Jalkanen to previous | to last
2 01-Jul-2006 12:30 1.751 kB Janne Jalkanen to previous | to last
1 30-Jun-2006 17:23 1.202 kB Nascif Abousalh-Neto to last
« This page (revision-5) was last changed on 05-Jul-2006 17:33 by Janne Jalkanen