A label is a kind of marker.
The labels available and their role depend on your application.
Labels can be content labels (headline news, section news, zoom, etc.) or page labels (section, direct access, etc.).
For example, the "Headline news" tag is a tag that is applied to "News" type content: its purpose is to indicate that the news item should be included on the site's home page. This is a content tag, because we want to include the news content on the home page.
On the other hand, the "Direct access" tag is a tag that is applied to pages: its purpose is to build a menu in the graphic charter that lists the pages for which we want to provide a shortcut. It's a page label, because we only want to include the link to the page in question.
Diagram showing a batch of news items, some with a label Home page. |
L'étiquette "Actualité à la Une" prise dans cet exemple n'existe pas par défaut dans la version de démonstration du CMS. Pour mettre en place la fonctionnalité illustrée au-dessus, il est nécessaire de :
- Créer une étiquette nommée "Actualité à la Une"
- L'affecter à certains contenus de type Actualités
- Mettre en place une Remontée de contenus sur la page d'accueil, paramétrée pour afficher les actualités possédant cette étiquette.
Ces opérations sont détaillés dans cette page.
There are 3 categories of label:
A tag can be private or public. A private tag can only be assigned to or removed from a page or content by a webmaster with specific rights to assign private tags.
If a contributor does not have this right, private labels appear with a red padlock and cannot be checked or unchecked.
When selecting a page or content, click on the "Label" button
A dialog box allows you to check/uncheck the labels to be applied to the selected content or page.
Click on "Ok" to validate.
Attention
Si vous êtes sur une page comportant plusieurs contenus, affecter une étiquette de contenu l'affectera à chacun des contenus de la page !
Par exemple, si vous êtes sur une page comportant 3 actualités et que vous étiquetez "A la une", les 3 actualités seront à la Une.
Pour éviter cela, sélectionnez le contenu à étiqueter AVANT d'ouvrir la boîte de dialogue
Parfois, certaines cases sont grisées : cela peut provenir de raisons diverses.
- vous visualisez un contenu qui n'est pas affecté à une page : les étiquettes de pages sont grisées.
- vous visualisez une page sans contenu (ou sans contenu sélectionné) : les étiquettes de contenus sont grisées
- vous visualisez un contenu verrouillé par un autre utilisateur : les étiquettes de contenus sont grisées
The following tools are available in this dialog box:
Example
If you type "actu", only labels with the word "actu" will be visible.
When you finish assigning labels by pressing OK, they are directly assigned: no need to go through the content lifecycle again.
Les étiquettes personnalisées sont des étiquettes qui peuvent être créées / modifiées / supprimées directement depuis le back-office.
Click on the"Labels" button in the Home tab to open the custom labels tool.
Select the tree root or a label in the tree, then click on "Add label" to create a new label.
A label is made up of the following elements:
Il est possible d'importer des étiquettes en masse à partir d'un fichier XML. Le fichier XML doit respecter le format XML suivant :
<?xml version="1.0" encoding="UTF-8"?> <tags> <tag id="THESAURUS" target="CONTENT"> <label>Thésaurus</label> <description>Etiquettes du thésaurus</description> <tag id="SANTE" target="CONTENT"> <label>Santé</label> <description></description> <tag id="SOIN" target="CONTENT"> <label>Soin</label> <description></description> </tag> <tag id="MEDICAMENTS" target="CONTENT"> <label>Médicaments</label> <description></description> </tag> </tag> <tag id="BIOLOGIE" target="CONTENT"> <label>Biologie</label> <description>Biologie</description> <tag id="BIOLOGIE_ALIMENTAIRE" target="CONTENT"> <label>Biologie alimentaire</label> <description>Biologie alimentaire</description> </tag> <tag id="BIOLOGIE_ANIMALE" target="CONTENT" private="true"> <label>Biologie animale</label> <description>Biologie animale</description> </tag> <tag id="BIOLOGIE_CELLULAIRE" target="CONTENT"> <label>Biologie cellulaire</label> <description>Biologie cellulaire</description> </tag> </tag> </tag> </tags>
Select the tree root or a label in the tree, then click on "Import labels":
Cette action est soumise à un droit spécial. Si ce bouton n'est pas disponible c'est ce que vous ne possédez pas le droit d'importer des étiquettes.
Select the XML file on your disk containing the labels to be imported:
Labels will be imported from the label selected in the tree.
If a label already exists, it will be updated with the information contained in the file.
After import, a concise report is displayed to inform you of the labels created or updated.
Labels are organized hierarchically, i.e. a label can itself contain sub-labels.
The label hierarchy is used to managetop-down car-sharing.
Consider the label tree below:
Top-down autoposting consists of returning content tagged 2, 4, 5, 7 or 8 in a content feed or search engine when tag 2 is selected.
The choice of whether or not to activate autoposting on tags is left to the webmaster in the Search Engine and Content Feed service settings.
It's up to you to decide what you want to do with these tags, but always remember to classify them in a hierarchy to make it easier for contributors to assign them and to manage car-sharing.
Here are a few use cases: