Hi,
Here are two plugins to link content inside Flexicontent :
Select Flexi Item - Version 0.4 (01/09/2011)
www.sitefaitbienfait.fr/en/jooml
... -item.html
Update with new options
Select Flexi Item - Reverse - Version 0.3 (06/08/2010)
www.sitefaitbienfait.fr/en/jooml
... verse.html
Let’s have examples – with pictures – to explain how it works
What we want to do is link singers to their songs.
We have three types of content in Flexicontent :
• Article ( the default one )
• Singer
• Song
Two categories
Four templates :
• Default
• Blog
• Singer
• Song
1 - Let’s install our two plugins, and then we activate them in the Flexicontent control panel
2 – Now we create a field, with the field type Flexicontent – Select Flexicontent items, and we assign the field to the song type – picture below
Here are the parameters of the new field
While creating a new Song item, and getting to the Singer newly created field, this is what we will have: a select box with the Singers we already have created
In frontend, after affecting the field to the right position for our template, this is how it will look :
This was how to use the first plugin, the select_flexiitem plugin
Now, for each artist, we want to get the songs that belong to them
We create a new Field, with the type Select Flexiitems – Reverse and we assign it to the Artist type
In Advanced parameters, we assign it to the field we want to reverse – here singer_of_song
While completing our item, the field will then be automatically completed, as the informations are being read from the above field/plugin. It will look this way :
And frontend will finally look this way
I hope these examples will help you to implement and use these plugins.
Don’t hesitate to give me feedback and ask questions.
And Thanks to bsky92 for the english translation.