SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 254 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

jpg" alt="Secure Connection"
style="width: 36px; height: 36px;"/>';
}
Assets
It is common to want to include additional 'assets' in our extensions. Assets are
normally media, for example image files. This is a list of common files that we can
classify as assets:
JavaScript
Image
Cascading Style Sheet
Video
Flash
We deal with asset files in two commom ways.
We can use the media tag in our extension XML manifest files to add assets to the
Joomla! Media Manager. This is ideal if we want to allow users the right to modify
the assets.
Within the media tag, we must detail each file that we intend to add. Unlike
copying extension files, we cannot define folders that we want to copy into the
Media Manager.
This example demonstrates how we can copy two images, foo.png and bar.jpg,
from a folder in the extension archive named assets into the stories folder in the
Media Manager:

foo.png
bar.jpg

The stories folder is a special folder within the Media Manager.


Pages:
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6