On Wed, Feb 25, 2009 at 10:21 AM, Hans <[email protected]> wrote: > > thanks for all the suggestions! > > Embedding a script would put all the code into the page, right? Like > style injection. > As i said, i just want to use a <link > tag, which loads a file. Not > so good for editing from the wiki, but much better for browser loading > a page, as the file will get cached locally.
I understand. > I guess i want a kind of 'pub' folder in the farm. 'icons' would work > as browsers are allowed to read files there, but of course this is not > right. So either a 'scripts' folder, or 'pluginscripts', or > 'pluginpub', or the plugin gets its own folder under farm/. Agreed. We should have this option available. I'd suggest we just create another (empty) farm folder called scripts and add it to the core distribution. Or better still, we could rename icons to pub or public. Then we could put anything in there, not just images. (I was wanting to rename icons to pix or something, anyway for 3.xx). > Then my installation instruction would read: > copy myplugin.php to farm/plugins/ folder, copy myplugin.js to > farm/scripts/ folder, add to site.config: enableMyPlugin: * to enable > for all pages. > > Not quite the savvy installation routine you cooked up.... Well, not too much more challenging. :) 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 -~----------~----~----~----~------~----~------~--~---
