This time we will learn how to entering data into content. It's very simple !
To continue my previous tutorials, we will see in this part what are the possibilities for entering content using FLEXIcontent.
There is nothing very technical in this chapter but it will allows users who have not yet decided to choose this component to have a real overview of the different entry form, and to see once more the expanded opportunities FLEXIcontent.
We'll set up our first content-type "stade", I go to the "Contents" then I click "New".
Before displaying specific areas to capture that we want, it is imperative to fill three Information:
Once these three information entered, I click the "Apply" button to save and stay on the same entry page.
My areas appear in the order defined by my fields. If you want to change the order of input fields, you need to go in the "Fields" of FLEXIcontent then use the following filters: Choose a field type = Visible in a form and choose a type = Your type. You can then change the order in the list that appears.
Some fields and information are common to all types. The information are editable or not, can be reused in our template in frontend.
FLEXIcontent manages the versioning of your content, meaning that at any time you can restore a previous version (in case of input error, for example). Default FLEXIcontent keeps the history of the last 5 versions of the content (that is a parameter that are possible to change the general settings FLEXIcontent, available values are: 5,10,20,50,100. However it is advisable not to exceed 10 in order not to increase your database).
When writing or editing your content, you can view and interact with history. It appears in chronological order with the author name of each version. You can get a overview between the current version and an older version by clicking on the magnifying glass icon.Then, If you want to restore the version, simply click on the green arrow ... is simple and is very convenient.
It is required to associate each contained to a main category to determine the inheritance of permissions and the url rewriting but it is also possible to assign sub categories to list the content in different sections. Level category tree is unlimited and you can also assign as many categories as you want to a content, simply press the left control key and click on the desired categories.
Apart from the details and the meta data options that are common to the management of native Joomla articles, FLEXIcontent offers two additional parameters:
Entering the description field (which may have a different name if you have decided to rename it) is identical to the content Jommla articles. However, I recommend you to install the JCE editor with JCE Advanced Link plugin for FLEXIcontent (attention this plugin must be installed via JCE Administration and not joomla) this plugin will allow you to easily links your categories, content and tags FLEXIcontent, moreover it is fully compatible with the url rewriting.
I will now illustrate the different entry form that you have created in the previous section of this tutorial.
To understand each of these examples please refer to the previous section of this tutorial that explains how to configure custom fields.
For each field we can find the description that had been filled in order to "help the user in his entering process".
Important: in the previous section when creating the fields I inserted the quote character (") several times, that is not compatible and will truncate your description, so I replaced it with a single apostrophe character (').
I decided to apply the plugin Google Maps on my fields, the code will appear automatically for reminding me (hint: it is possible to remove the code by selecting the option in the field "Remove spaces"). I note that my area is also a little narrow, I change my settings for fields to rise to 60 characters.
There is nothing specific, the area appears in the size I wanted. Remember that I could enable the "html editor" to create an area identical to the "description" field.
The date fields have a popup window that helps the user in his input. The date must be entered and saved in the following format: yyyy-mm-dd. The display format of the date frontend is completely independent, I had for my part defined in dd / mm / yyyy in the parameters of the field.
Before you load your image, a first screen tells you the maximum size permitted and extensions for uploading. You can either load a new image or select an image you've uploaded via this field. Finally you can assign the HTML alt and title to your image.
Once the image is selected, the upload is done automatically and the page refreshes to display a thumbnail of the image. It is possible to add a description of the image that will appear when viewing in popup mode.
Finally, two check boxes to remove the image content appear below the thumbnail.(Not selected when the image was added via an existing file, deleted selected it when a new image).
With the authorization of multiple values, it is possible to enter different values for each new entry by clicking on the button "Add Value". Once the input value can either delete or rearrange the display order via the icon with four arrows that allow to achieve a drag & drop.
I just regret that at present there have no control over format of the seizure, the user can enter what they want and then generate inconsistencies in the future.
The weblink is composed of two areas : the Internet link, then the text will appear. Finally a counter clicks will tell you how many times the link has been visited.
Multiple field is activated, I can add multiple files, I can delete or move the same way as for the field "contact" we've seen before.
Clicking on the button "Add File" opens the FLEXIcontent media manager.You can then select an existing file, or to add a new one. For this there are two methods:
Select your computer file, select the directory of the media (url of the file visible to the user) or the secure directory (the URL will be coded for the user) - for information these two directories are defined in general settings of FLEXIcontent and for safety reasons it is best to change the default - then click the Start button to load your file to add to the library of media.
In order not to overload your own server, you can also add your library media remote files. Enter the link, the name you want associated with this file and then its extension so that FLEXIcontent know the mime type to associate of the openning of the file.
I bind my list directly to my media library allows me to bring up all my mp3, I can only select my anthem. I can use the previous field to upload new mp3, then simply record my page for my new mp3 to appear in my list.
My multiple list (slightly modified - see previous section) is attached to the banner of Joomla, I can select multiple leaving press the control key.
"Television service" is selected as my default settings, I just have to select the options that I want.
That is over for this part, the next time I will show you how to code the content templatea and present you all the possibilities and variables to use.