Hmm, I created "main.css" within /app/plugins/myplugin/vendors/css.
Within "index.ctp", which is located within the associated
controller's view for the plugin, I call the css() method of the HTML
helper as per the following:
css('main', 'stylesheet', array('media'=>'all'), false); ?
>
Instead
If your forum images are displayed using only your CSS (ie.
background-image) then you're good to go. Just put store them within
an images dir inside the CSS dir and set all the URLs without any
leading slash and they'll be fetched from there.
In fact, you'd be half way toward making the forum mo
On Thu, May 22, 2008 at 12:41 PM, Matt Huggins <[EMAIL PROTECTED]>
wrote:
>
> Is it possible to provide images (and other files, such as CSS
> stylesheets) with a plugin, such that they are accessible via a URL in
> HTML (such as an IMG tag)? I'm working on a forum plugin, and I'd
> like it to be
Is it possible to provide images (and other files, such as CSS
stylesheets) with a plugin, such that they are accessible via a URL in
HTML (such as an IMG tag)? I'm working on a forum plugin, and I'd
like it to be as easy to distribute as possible. Since I use some
forum-specific images and styl