Once you have downloaded and installed this extension with the Extension Manager (EM: in the backend Tools > Ext Manager), you need to go through the following steps in order to see your plugin in your frontend pages.
Go the the main template of your website (the one that is at the root level in your website tree):Web > List, click on the root node, then scroll down to the Template part.
Click on Edit record, this brings you to the template edition form.
Scroll down to the “Include static (from extensions):” part. On the right hand side, you should see an item named “PARENTPAGES (vd_chosenparentpages)”.
Click on that item to select it, it should now appear on your left hand side, too.
Now go to your Typoscript Object Browser (Web > Template) to check that the Typoscript Setup and Constants values are now well applied to the main template.
Open your SETUP ROOT: plugin > plugin.tx_vdchosenparentpages_pi1, you should see the following subtree.[tx_vdchosenparentpages_pi1]=USER[userFunc]=tx_vdchosenparentpages_pi1->main[recursive]=1[label_singular]=Responsable :[label_plural]=Responsables :
First put in your HTML Template the tags that will get the plugin. For ex.: <!-- PARENTPAGES - Start --> <div id="parentpages">Sous la responsabilité de</div> <!-- PARENTPAGES - End -->
Then go to the TEMPLAVOILA CONTROL CENTER, and click on [ Update mapping ] in the template that is applied to pages where you want to install this plugin.
In the Template Object Details, click on the button Modify DS / TO.
At the bottom of the Elements [EL] or Attributes [AT] list, add a new field by filling with a fieldname and clicking on Add. For ex.: field_parentpages.
The whole frame will be refreshed and a new form appears.Mapping Type : ElementTitle : Parent pagesMapping instructions : Map this to the HTML attribute containing the list of responsible servicesSample Data (10 chars): [RESPONSI] (it is only use for the preview of this template)Editing Type: TypoScript Object PathMapping rules: *:inner
Click on Update, a new input text field will appear where you can give the TS path to this plugin:Object path: plugin.tx_vdchosenparentpages_pi1
Click on Save, you will be brought to a new TEMPLAVOILA form where you can assign that datastructure (the list of EL and AT items) to some of your templates.
In “UPDATE existing Data Structure / Template Object:” part, select your template,
Click on the “UPDATE TO (and DS)” button.
Your element Parent pages still needs to be mapped with a tag in your HTML template.
Click on the “Map” button.
A preview of your HTML template will be displayed, and you can then map your element to the aimed tag.
Make sure that your element is well mapped in every template where you want to use it. If not, repeat the mapping as many times as needed, or you can also do the following from one template where the mapping is already done: