On Wed, Feb 25, 2009 at 9:30 AM, Hans <[email protected]> wrote:
>
> Martin- i do not understand anything of what you said :-(
> What is a backup package?
> i have  a javascript js file, which  a plugin script (installed in
> plugins/) uses and need to load via a <link> tag in the HTMl head. i
> just need a suitable location, a path variable for this, andpossible
> an explanation how i should package this.

Let's say you have created a forum with 5 pages (counting main.forum,
forum.footer, forum.header, template.forum, whatever). You just go to
action.backup and you'll see a list of pages. Check all required page
names, give a name to your backup file (in this case, just forum),
then click create backup down at the bottom.

Next go to the field's backup folder (newly created, perhaps) and you
should find a forum.backup file.  Drop that in your farm plugins
folder (or upload to BoltWire to make it available to others).

Now, go to another field without the plugin, and go to action.plugins.
You should see the forum plugin listed. Click it. You'll get a
confirmation screen. Push the button, and you'll get instant forum.

If you create a site.plugins.forum page, and insert it in the backup
package, you can a brief welcome message, notes, instructions,
permission settings, etc. This will show up when they install the
plugin. If you decide you don't like a plugin, select it on
site.plugins, and then click the uninstall button. Any installed pages
will be deleted, though not any pages created by the plugin. To
upgrade a plugin, reinstall, though any changes you have made will be
lost.

If there is some php code needed by the plugin (custom
functions/commands), put them in forum.php and when you install the
plugin, it will automatically be enabled (sitewide) in site.config. If
you want to restrict it to certain hierarchies, you must manually edit
the site.config page.

If you add the javascript to a code.embed.myscript page (just cut and
paste), just include it when making the backup, and it will get
installed with anything else you have. It makes a pretty cool install
experience--as long as the plugins work! Our problem is just keeping
them current! Try the sandbox plugin for a simple demo.

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
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/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to