Phire CMS : Open Source Content Management System
Documentation : Playing with Phire : Assets
In this section, we'll outline how to access and manage everything under the Assets navigation tab.
Assets > Files
Under add or edit file, you'll be able to upload files to the system and manage files in the system. Under "Add a File," you can simply click the [+] icon to the right to add more than one file at a time. And of course, you can specify which site and/or section the file or files need to be assigned to.
Assets > Images
Under add or edit image, you'll be able to upload images to the system and manage images in the system. Under "Add an Image," you can simply click the [+] icon to the right to add more than one image at a time. And of course, you can specify which site and/or section the file or files need to be assigned to.
The one difference between files and images is that images will be processed per each site according to how the image settings are configured under that site. So, if the image settings are to resize or crop an image to certain sizes, then the system will process them as such. If you do not wish for this to happen, then you can either turn off image processing under the site settings or simply upload the image via "Add a File," as files are not processed in any manner.
Quick Hint! If your server supports it, you can upload a batch of images all at once via a ZIP file. You simply have to zip all of the images up together (no folders or subfolders) into a ZIP archive file and then select that ZIP file to be uploaded via the "Batch Image Upload" field. The system will then process all of those images from that ZIP file, and derive the image title and caption for each from the image file name. If you take advantage of this feature, don't forget to set the site and the section if applicable. It will apply those settings to each image of the ZIP file as well.
Assets > Events
Under add or edit event, you’ll be able to manage events on a very granular level. There is support for one-time static events, events that occur over a range of dates and even recurring events. Events also get the same access treatment as pages and sections. They can be set to either public or private.
Assets > Event Types
Event types are just another convenient way to organize events outside of sections. You can easily create an event type and then assign an event to that event type upon creation.
Quick Hint! Events and event types are easily accessible via a reserved system URL. If you create an event called "Test Event" and it has an ID of 16001, then you can view it at:
/event/16001/test-event
or just
/event/16001
If you have an event type with an id of 17001, for example, then you can view a listing of all the events assigned to that event type at:
/events/17001
Also you can place a listing of a certain event type on a page or template by the special case placeholder [{events_#ID#}], where #ID# is the ID number of the event type – for example, [{events_17001}]
Assets > Tags
Tags are a pretty simple component as work as one would expect. You simple add your tags to a site, and then they well appear under the pages when you go to add or edit a page. You can then select which tags to tag the page with and it will associate that page with those tags.
Quick Hint! A quick listing of which pages are tagged by which tags can be accessed like this (assuming the tag of "PHP"):
/tag/PHP
Also, you can place the site tag cloud on any page or template with the [{site_tags}] placeholder. It has specific attributes that will allow you to style it how you see fit.