From version 2.13 onwards, there are 2 types of theme for the link directory:
For links defined in the back-office, the storage format has changed. Data migration is automatic.
A graphic migration is necessary if your charter includes conf/link-themes.xml
Rename this file to conf/link-directory.xml.
This file can now be used to define:
The structure of this file has therefore been modified. A file previously defined as follows:
<link-themes> <!-- Configure the template's link directory inputdata here --> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </link-themes>
<link-themes> <!-- Configure the template's link directory inputdata here --> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </link-themes>
<link-themes> <!-- Configure the template's link directory inputdata here --> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </link-themes>
devra être modifié de la manière suivante (ajout de la balise <inputdata>) :
<link-themes> <!-- Configure the template's link directory inputdata here --> <inputdata> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </inputdata> </link-themes>
<link-themes> <!-- Configure the template's link directory inputdata here --> <inputdata> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </inputdata> </link-themes>
<link-themes> <!-- Configure the template's link directory inputdata here --> <inputdata> <themes templates="index,page" configurable="true" displayUserLinks="true"> <theme id="OUTILS" lang="fr"/> <theme id="TOOLS" lang="en"/> </themes> </inputdata> </link-themes>
To define themes in the graphic charter, please refer to the integration manual.