monday 07 april 2014 at 20h51
ionize 1.0.6 is available !
Like every time, we corrected a lot of bugs, but that's not the most important part of this release.
The version 1.0.6 also comes with huge new features.
The most important of them is "Static Items"...
Why Static ? Because contrary to Content Elements, they don't consist of dynamical data for each instance, but static reusable data.
Why Items ? Because that's what this kind of content is : Items you can use multiple times on your website.
Before introducing them, first have a global view of new things !
Backend : New translation panel
The rewritten translation panel give you the ability to select the source language and to translate file by file the translated terms.
The filetring system is more clever, as you can filter only the not translated terms !
Backend : Medias in articles & pages
Medias types (pictures, videos, music, files) are now grouped in only one tab in article and page edition panel.
We also decided to make the media rules simpler by removing the rules on "link, unlink, edit" for each kind of media and to group these rules on media.
Backend : Rewrite of MediaList
The MediaList gives you a global view of the media which are used by articles, pages and extend fields (including Static Items and Content Elements).
With the MediaList, you can, from one unique panel, set the alternative text of all your used media.
Because the MediaList was slow when one website was using a lot of media, we improved it by providing a paginated list of the used medias.
Backend : Add of the "unused media" tool
In Tools > System diagnosis > Tools > Reports
This report displays all the files in your media folder which aren't in the "media" table.
In other words, it displays the unused physical files.
Cherry on the cake, you can select and delete the select files from this report.
Before you ask for : No, there are no filtering possibilities at the moment, but we're thinking about it for one next release.
Backend : Settings
Move of Emails settings from "Advanced Settings" to "Website Settings", so Admin users can setup these emails addresses, even the Email server settings stays only available for Super-Admins.
Extend fields : Add of type "Media"
Media can now be added as an Extend Field.
Of course, Content Elements can have media type fields !
Media linked to one Extend Field or Content Element are available through the regular <ion:medias /> tag on the frontend, making their usage very easy.
Extend fields : Add of type "internal Links"
Pages and articles from the tree can be dragged in this extend field.
What for ?
To provide one list of links to given pages and articles of the website.
Tag <ion:pages />
- Add of the attribute parent="this", which return children pages from the current page
- Add attribute "limit" to limit the number of returned pages
- Add attribute "display_hidden", to get page which are not supposed to be displayed as navigation element. Default to false (don't display pages which have not the flag "display in menu" checked)
Add of Settings > Advanced > Medias > Unsharp setting
If checked, the unsharp filter will be apply on created miniatures, making them more sharp.
Notice : Activating this option will make the pages slow at the first load, as the CMS needs to process the pictures.
If you activate this options on one existing website (with existing thumbs), delete the /files/.thumbs folder so the thumbs will be rebuild.
<ion:article:prev /> and <ion:article:next />
Add of attribute "all", which returns all previous or next articles.
<h4><ion:id /> : <a href="<ion:url />"><ion:title /></a></h4>
Frontend : HTML compression
Just one option to check on the backend, and the produced HTML will be compressed ! (thanks to Ukyo !)
The .htaccess has be rewritten and compression options are also available.
Create your items once, use them everywhere !
Static Items are just like Content Element, except that their content is not linked to one parent, but global.
Other difference, one item can be linked to several parents.
Example of usage :
Suppose you want to add one "new" flag on some articles. This flag will be one picture.
To achieve that, simply :
1. Create one Static item definition, with one media field, called "flag"
2. Create one instance of this definition, and link the picture you want to it
3. Link it to any article you want.
Of course, if you decide to change the picture of your flag, just change it once and every article which has this flag will display the new one.
If you want to create several flags ("new" and "exclusive"), simply add another instance of the definition "flag" and link it to other articles.
On the frontend, Static Items are available linked to their parent (page, article) or globally (list of all items of one definition)
Static Items are really helpful to create many other content things like :
- List of phones numbers
- Link list
Concerning the authorizations, the definition of Static Items is available to the Super Admin, but creation of instances for each definition is available to the Admin or Editor group, so your client will be able to create and edit instances.