NetAssoBlog

200gr Web, a touch of marketing a hint of law ...
maxim

Tutorial - Template FLEXIcontent - Part3: entering a content

February 8

Further to my previous tutorials, we will see in this part of what the potential FLEXIcontent for entering our content.
It is therefore not very technical in this chapter but it will allow users who have not yet decided to choose this component to have a real overview of the different input masks, and see once more the expanded opportunities FLEXIcontent.

ecran-saisie

Summary:

Creation of content

So we will set up our first content-type "stage", I go in the "Content" then I click "New".

ecran-saisie01 Prior to our specific areas appear to capture that one wishes to do, it is imperative to learn 3 information:

  • The title (Stadium)
  • The content type (Stadium)
  • Main category (Stages)

Once these three information entered, I click the "Apply" button to save and stay on the same page entry.
My areas appear in the display order defined by my fields. If you want to change the display order of input fields, you need to go in the "Fields" of FLEXIcontent, then perform 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.

The input field types and general information

Some fields and information are common to all types. The information they are editable or not can be reused in our template in frontend.

ecran-saisie02

  • Title: The title of your content
  • Alias: The alias that you can build to create your SEF URL
  • Type of content: The user selects the type of content here that would like to add. Again all are simplified for the user to enter a single page all the information it wishes to add or change on its website. This will simplify the handling.
  • Status: Draft, Pending, In Progress, published, unpublished, Archive: these states allow you to manage a workflow of your content. By default when you create a new content it will go in the draft state. Just think out the switch statement published at the end of the writing if you want to publish it directly.
  • Add a tag: Another FLEXIcontent more, you can attach an unlimited number of keywords that will allow you to reference and find your content more easily. A tag cloud module has been developed, you can download it here .
  • Same ID: incremental number that identifies the contents
  • Hits: The number of times the content was seen.
  • Score: Visitors can rate a content of 1 to 5, the score is displayed here.
  • Revised: The number of times the content has been modified
  • Created: Date and time of content creation
  • Last updated: Date and time of last modification of the content

Versioning

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). FLEXIcontent default keeps the history of the last 5 versions of the content (that is a parameter that can change are in the general parameters of FLEXIcontent, the values ​​available are: 5,10,20,50,100. However it is advisable not to exceed 10 in order not to increase your database)

ecran-saisie03

When writing or editing your content, you can view and interact with history. It appears in chronological order with the name of the author of each version. You can preview between the current version and an older version by clicking on the magnifying glass icon. If you then want to restore the version, just click the green arrow ... is simple and is very convenient.

Categories

ecran-saisie04 It is mandatory to associate each contained one major category to determine the inheritance of permissions and url rewriting but it can also affect the secondary categories to list the contents into different sections. Level category tree is unlimited and you can also assign as many categories as you want to side with content, simply press the left control key and click on the desired categories.



Other parameters

ecran-saisie05 Apart from the details and meta data options that are common to the management of native Joomla articles. FLEXIcontent provides two additional parameters:

  • You can customize each template by forcing content. If we do nothing information, it will automatically inherit the template assigned to the content type. By enabling this setting, the parameters associated with the template activated automatically.
  • It can also lock or exceptionally authorize comments on an article, FLEXIcontent is compatible with Jom JComments and how.


Entering the description field

Entering the description field (which may have a different name if you have decided to rename it) is identical to the seizure of articles of Joomla. But I urge you to install the editor JCE with the plugin Plugin for JCE Advanced Link FLEXIcontent , (note that a plugin must be installed via JCE Administration and not joomla) this plugin will allow you to easily links to your categories, tags and content FLEXIcontent, plus it is fully compatible with the url rewriting.

ecran-saisie06

Entering custom fields

I will now illustrate the different input masks that you have created in the previous section of this tutorial.
To understand each of these examples please refer to the previous part of this tutorial that explains how to configure custom fields.
For each field one can find the description that had been filled in order to "help the user in its seizure.

ecran-saisie09

Important: in the previous section when creating fields I inserted the quote character (") several times, that is not compatible and truncate your description, so I replaced this letter with a single apostrophe ( ').

Text: "Address"

ecran-saisie07

I decided to apply the plugin google map on my fields, the code will appear automatically to reminds me (hint: it is possible to remove the code by selecting the option field "Remove Spaces"). I note that my area is also a little narrow, I change my settings for the fields to rise to 60 characters.

Textarea: "Additional address"

ecran-saisie10

There is nothing specific area appears in the size I wanted. Remember that I could enable the "html editor" to create an area identical to the "description" field.

Date: "Opening date"

ecran-saisie11

The date fields have a popup window that helps the user in its seizure. 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.

Image: "Image of the stadium"

ecran-saisie12 Before loading your image a first screen shows the maximum size and extensions allowed for upload. You can either load a new image or select an image you've uploaded via this field. Finally you can set the HTML alt and title to your image.


ecran-saisie13

Once the image is selected, the upload is done automatically and refresh the page by displaying a thumbnail of the image. It is possible to add a description of the image that will appear when viewing the latter mode popup.
Finally, two check boxes to remove the image content appear below the thumbnail. (Delete when the image was added via an existing file, delete it when a new image)

Email: "Contacts"

ecran-saisie14

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 achieve a drag & drop.

I just regret that at present there have no control over format of the input, the user can enter what they want and therefore inconsistencies generated thereafter.

Weblink: "Official Website"

ecran-saisie15

The weblink is composed of two zones: the Internet link, then the text will appear. Finally a counter clicks will tell you how many times the link has been visited.

File: "Resources"

ecran-saisie16 Multiple field is on, I'll be able to add multiple files, I can delete or move the same way as for the field "contact" that we saw earlier.
Clicking on the button "Add File" opens the media manager specific FLEXIcontent. You can then select an existing file, or to add a new one. For this there are two methods:

  • Add File

ecran-saisie17 Select the file on your computer, select the directory of the media (url of the file visible to the user) or the secure directory (the URL will be encoded for the user) - information for these two directories are defined in general settings of FLEXIcontent and safety reasons it is better to change the defaults - then click the Start button to load your file to add the library media.

  • Add a URL

ecran-saisie18 In order not to overload your own server, you also can add in your library media remote files. Enter the link, the name you want associated with that file extension so that finally FLEXIcontent know the mime type to associate to open the file.

Select "Anthem"

ecran-saisie19

Having my list attached directly to my media library to bring up all my mp3, I only have to select my anthem. Can I use the field above to upload new mp3, then simply record my page for my new mp3 appear in my list.

Select multiple "partners"

ecran-saisie20

My multiple list (slightly modified - see previous section) is attached to the banner of Joomla, I can select multiple leaving press control.

Checkbox image: "Benefits"

ecran-saisie21 Delivery "service television" is selected by default according to my settings, I can only select the desired options.

That's over for this part, the next time I will address the template code of content you submit and all the possibilities and variables used.

Category: Web

Comments

On 08/02/2010 at 12:44, NetAssoBlog | Tutorial - Template FLEXIcontent - Part1: structure said:

NetAssoBlog | Tutorial - Template FLEXIcontent - Part1: the structure

[...] Part3: Entering content [...]

On 08/02/2010 at 16:21, Helio said:

Helio

Great, it's an excellent series of tutorials that you offer us the and I am delighted, as always, more.

Thank you for this tutorial.

On 24/02/2010 at 15:56, chick said:

chick

I am the tutorial line by line I was stuck on installing the plugin in the JCE. JCE is installed and the plugin as well, but I do not see the icon appear on "link" in the JCE menu! I had to make a blunder but where?

On 24/02/2010 at 16:06, Maxim said:

maxim

The link icon is located in the toolbar JCE, it is symbolized by a link with a little extra green.
If it does not appear that it may be you do not have the default configuration of JCE, in this case in your Back Office, go to Components -> JCE Administration -> Group - Click Default - Go on tab toolbar and add the icon in question.

On 24/02/2010 at 17:12, chick said:

chick

thank you for your answer, I can not check now small problem with pc! You have posted the tutorial 4 and I thank you again for all the work. But just one question, est'il possible to avoid the use of lines of code and do everything FLEXIcontent interface? because I do not understand everything! thank you ... my idea of ​​the site is huge and I do not know how to do it!

On 24/02/2010 at 18:32, Maxim said:

maxim

Yes of course you can use FLEXIcontent without writing a single line of code, templates backgrounds are very well designed and you can use them with ease. I wrote this tutorial to go a step further and really show all the possibilities.

On 01/03/2010 at 16:14, LN said:

LN

Hello,

I find this tutorial very well done, I familiarize myself with FLEXIcontent for 1 week and I happen easily with these tutorials.

I asked about the possibilities of this component.

I would like to create a glossary, is this possible?

Thank you in advance :)

On 03/03/2010 at 10:02 AM, Maxim said:

maxim

FLEXIcontent gives you the possibility to add an index in the template class. Alphabetical lettering, includes all your content from one category according to the first letter of the title of your content.
That does it suit you?
Otherwise can you detail me your need more detail and context.

On 24/03/2010 at 22:57, Frank Baye said:

Franck Baye

Your tutorial is just great. Many thanks

On 15/04/2010 at 12:45, Fred said:

Fred

uh ... how to say
I think I have strictly followed your tutorial, so I created one that I published content. In frontend when accessing the class through a menu no worries there though m'affiche class stadium with my sub-categories and content, except that when I click on it, surprise! blank page : ( I use the url rewriting, there's there in case something I zapped?

On 15/04/2010 at 12:47, Fred said:

Fred

well I just tested with or without rewriting the url, blank page.

On 02/08/2010 at 14:41, Julien said:

Julian

Hi! =)

Same for me blank page : S

An idea?

Thank you to + + = D

On 02/08/2010 at 14:58, Maxim said:

maxim

Well you have assigned positions in the fields?
What is the code you use in your template?

On 02/08/2010 at 15:44, Julien said:

Julian

For your first question, you mean in the order item?
If that's it, yes I well affect the boards.

But I do not understand what you speak code: S

Thank you

On 02/08/2010 at 15:55, Maxim said:

maxim

The code of your template, that displays a blank page. The file item.php

On 10/08/2010 at 17:39, Julien said:

Julian

Sorry for not responding sooner: S

I let what you have written in the first tutorial.

I send you what is written to the file item.php rather than copy everything in the commentary because that pummel the page for anything.

http://www.toofiles.com/fr/oip/documents/txt/l97v82-1hjs9p-ett0l2.html

Thank you a + +

On 13/08/2010 at 15:03, Maxim said:

maxim

Hi Julian, it's normal that your code is blank because you have set as HTML DIV. It should also be included in each tag PHP code that allows you to display the fields.
For example:
< ?php echo $fields['image_stade']->display; ?>

On 27/08/2010 at 14:28, Julien said:

Julian

Hula! it starts to get complicated here : S

So infact, you still have to have knowledge in php right?

I thought to create a template we did not need : (

On 31/08/2010 at 15:12, Maxim said:

maxim

Indeed, if you want to make a template a little more personalized, you must put your hands dirty. You can still use the basic templates that are already well designed and flexible.
The alternative if you want to do something very specific, it is of course to call a professional. I propose this type of course delivery.

On 02/10/2010 at 20:42, cadelyia said:

cadelyia

Hello Maxime,

I hope you can help me. I have a problem with the content of my articles and categories that is changed without my acts. However, I am the only one who can write or edit. It's really annoying. I do not know what to do. With the help please!

On 05/10/2010 at 14:26, Maxim said:

maxim

I understand your concern, it seems that someone changes your articles. So I think it's a safety issue. I would start by changing all passwords to access (including the FTP server and MySQL)
Let me know

On 26/10/2010 at 5:29, Seif said:

seif

Hello,
Thank you for these tutorials very helpful.
Can you tell us about the implementation of a model database type entity / association to multiple cardinality (n, m).
Exempel an entity, association and entity2 n, m. How to deploy this via Flexicontent by using the concepts of type, catagories ...

Thank you for your prompt response as usual.
Seif

On 26/10/2010 at 08:17, Maxim said:

maxim

Hello,
If you want a father and son in, you can use categories to associate FLEXIcontent information. Or why not create a plugin that would combine the items together. (To my knowledge this plugin does not yet exist)

On 14/01/2011 at 17:12, lilac karine said:

karine lilac

Hello

I used filters to sort FLEXIcontent artists by instrument and by location http://www.jazz35.com/index.php/jazz-a-letage/le-festival/artistes-2011

my problem is that when I leave the filters page does not refresh and keep my search result.

Do you have an idea about this problem?

Thank you!

On 15/01/2011 at 03:59, Maxim said:

maxim

Hello,
FLEXIcontent fontion this way, I don t really have not had offers solutionsimple

On 11/02/2011 at 17:34, Pascal said:

Easter

Hello,
Currently I ride a new site in joomla for a Petanque Club. And so you can create a list of all licensees with different fields into individual records, Flexicontent seems very appropriate.
For now I just worry a little (probably due to poor setup), it's simple, I created a field "date of birth using of course the type of field 'date', j ' I followed your Tutorial verbatim (or rather your Tutorials) where I took the opportunity to make you my bow, so I put a special format% d /% m /% Y and nothing happens, no way even in the content of my profile to view my date of birth, I can not display the popup to help put the date.
Thank you for your response and hope I was clear enough.

On 25/04/2011 at 10:20 AM, Emmanuel said:

Emmanuel

First of all thank you for this tutorial, but it was impossible to learn to use Flexi.

I have a question, may be stupid:

What is the advantage of its position in the template fields (in the admin interface) while he is in any case put PHP code in the item.php to display the fields? (The one you cite an example display;? ") : S

On 25/04/2011 at 10:25 AM, Emmanuel said:

Emmanuel

And then as I am, 2nd question: how do we update the modification of the template? when I change my templates (either the xml & php), AC has to wait to be taken into account in the admin joomla?

thank you for your help

On 26/04/2011 at 09:53, Maxim said:

maxim

Hi Emmanuel,
To answer your first question, there are two ways to view the fields, either permanently or through a position. If you put up a position that allows you to be more flexible and thus create standard templates that you can use for multiple sites. You will not have to change your php code, and you can manage it via the interface user-friendly templates FLEXIcontent.
For your second question I think it should be just a cache issue. We must update your page to clear the cache and display the page as it should be. (See also the cache settings FLEXIcontent)

On 21/06/2011 at 08:03, Deus said:

Deus

Hello Maxime,
First thank you for this component that I was great.
Jai me a problem with the "Description" field
Usually the traditional joomla component was the possibility of Inserra the "Read more" ds which materializes the editor by a red line and the button "image" that allows to upload an image or reuse stokee.
Sil pa I know there is a way of adding this component ds.
If so, how?

Thank you

On 21/06/2011 at 08:44, Maxim said:

maxim

Hello,
With FLEXIcontent you can manage the readmore view directly into the category. This is configured in the template options Wwhere you are within the parameters of the category.

On 21/06/2011 at 16:58, Deus said:

Deus

Yes, but I see what I mean is in the image capture in this article. The first picture of the product or we see that the HTML editor (image - Read more).
I speak therefore button just below the HTML editor. These buttons do not appear ds the mine.
Yatil a way to bring up?

On 21/06/2011 at 17:18, Maxim said:

maxim

These buttons are also plugins like editors-xtd.

On 22/06/2011 at 19:39, Deus said:

Deus

And how do I add a ca FLEXIcontent stp?

On 23/06/2011 at 08:42, Maxim said:

maxim

Hello, I know it was a bug in a previous version FLEXIcontent. You have nothing to do normally, it should appear.
Tries may be updating your version with the last FLEXIcontent

On 23/06/2011 at 17:47, Deus said:

Deus

Here's the version I have:
FLEXIcontent stable version 1.5.4 (r558)

On 23/06/2011 at 17:47, Deus said:

Deus

And that seems to be the last

On 27/06/2011 at 09:25, Maxim said:

maxim

Hello,
There exists an R607 you can find by searching on Google Code FLEXIcontent, but indeed I do not think this is what might fix your problem.
I admit that this blind, I do not see where that might come. In other components, the buttons appear below the t components they?

On 04/07/2011 at 15:42, Olivier said:

Olive

Hi
I again a small problem:
I created a field FLEXIcontent files, I set up my files so I can uplaoder any format desired, but the recording of the content I lose my field selection file!
(My files are in my dedicated folder on the host)
Do you have an idea?
: S

On 05/07/2011 at 16:17, Maxim said:

maxim

Hi Olivier,
Rather strange your problem, you have a problem with any type of file?
Your files appear t they good in the file explorer FLEXIcontent?

On 05/07/2011 at 19:31, Olivier said:

Olive

Hi Maxime
Yes my files are on the explorer, when I select them: they are crossed then I close the explosion (by clicking on the cross closing window rather odd: I was expecting a record!)
They appear in my form to the registration or they are deleted.
is there a problem FLEXIcontent config?
Is this normal procedure?
A +

On 05/07/2011 at 20:47, Maxim said:

maxim

Everything seems normal to me indeed. What version you are using FLEXIcontent?

On 06/07/2011 at 08:48, Olivier said:

Olive

Hi Maxime
Flexicontent 1.5.4 stable
joomla 1.5.23 stable

On 08/11/2011 at 08:32, Olivier said:

Olive

Maxime hello!
I come to you because I have always the same problem!
I contacted OVH and as usual not much better, no one can tell me why my file does not appear in an article after my upload and validated in a selection FLEXIcontent.
I lost my archive selection when saving my article.
Do you have an idea?
Thank you

On 08/11/2011 at 09:53, Maxim said:

maxim

Hi Olivier,
We have set up a forum to organize assistance, so please go http://extensions.netassopro.com/ . Thank you

On 08/11/2011 at 13:39, Olivier said:

Olive

Maxime thank you!
I glue myself!

The email will not be displayed

Example of website

Your comment:

| -)] O);): |: War:: Star:: S: Pizza:: Pig:: Phone:: P: Monk:: Listen:: Jail:: Idea:: Happy:: Halloween:: Haha:: Girl:: Ghost:: Drink:: D: Crazy:: Cold:: Cloudy:: @:): ($8)(L)(A)(L)(6)