.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ====================== EXT: apca\_offreemploi ====================== :Author: Christopher :Created: 2010-12-18T19:57:23 :Changed: 2014-02-14T15:40:07.200000000 :Classification: apca_offreemploi :Description: The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) ---- :Keywords: apca, offres d'emploi :Author: APCA :Email: :Language: fr .. _img-1-img-2-EXT-apca-offreemploi: |img-1| |img-2| EXT: apca\_offreemploi ====================================== Extension Key: apca\_offreemploi Language: fr Version: 0.0.0 Keywords: apca, offres d'emploi author:APCA This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- **`EXT: apca\_offreemploi 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ `Screenshots 3 <#__RefHeading__465_413120346>`_ **`Users manual 4 <#__RefHeading__467_413120346>`_** `Back-end module 4 <#__RefHeading__31507_818911409>`_ `Front-end plugin 4 <#__RefHeading__31509_818911409>`_ **`Configuration 5 <#__RefHeading__31515_818911409>`_** `Reference 5 <#__RefHeading__31519_818911409>`_ **`Known problems 6 <#__RefHeading__31525_818911409>`_** **`To-Do list 7 <#__RefHeading__477_413120346>`_** **`ChangeLog 8 <#__RefHeading__31623_818911409>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension provides a module that allow to import a xml feed with a predefined format and insert into a table of the database of the site the corresponding job offers. It also provides a plugin to display those offers. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-3| *The back-end module* |img-4| *front-end plugin configuration* |img-5| *front-end plugin rendering* .. _Users-manual: Users manual ------------ .. _Back-end-module: Back-end module ^^^^^^^^^^^^^^^ To insert data from your xml file, select the module called “Import the job offers” or “Import des offres d'emploi” in the web section. Then, select the page where you want to insert the job offers (the pid of the offers) and click on the button “Importer”. If no folder is selected, the button “Importer” won't be available and it will be written in red with a bigger font-size that a page must be selected. When the records are created, you will have a message informing you of how many offers have been created and, if some couldn't be inserted an array with all information about the concerned offers is displayed. That's all. .. _Front-end-plugin: Front-end plugin ^^^^^^^^^^^^^^^^ The list and detail views of the offers can be configured through a form in backend (flexform). This form lays in four tabs : - General - Configuration avancée ( or “Advanced configuration”) - Lien vers la page … (or “Link to the page ...”) - Configuration There are 3 fields in the tab General. The first one “Type d'affichage” (or “Type of display”) allows you to choose if the plugin must display the list or the detail view. The field called “Point d'entrée” (or “Starting point”) allow you to choose which page contains the offers. The third “Recursion” defines how many page level after the starting point have to be considered. The tab “Configuration avancée” was made essentially for users with knowledge in html and typoscript. It gives the possibility to change the HTML template used by the plugin or to apply a typoscript configuration for the current plugin only. The next tab (“Lien vers la page …”) is used to tell the plugin on which page will be the plugin in list view or in detail view (these information are needed, they for example contribute to create the links between the different views). In the last tab, you can modify the sorting of the offers in the list views. The first configuration gives you the choice among several fields. The second one defines if the sorting must be ascending or descending. To display the list of the offers you have to put a first plugin on a page in list mode and in a second page another plugin in detail mode (filling in each plugin the “Lien vers la page …” field). .. _Configuration: Configuration ------------- .. _Reference: Reference ^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _selectPosts-where: selectPosts.where """"""""""""""""" .. container:: table-row Property selectPosts.where Data type string Description Defines the WHERE of the types of contracts in the list view. Default .. _selectPosts-orderBy: selectPosts.orderBy """"""""""""""""""" .. container:: table-row Property selectPosts.orderBy Data type string Description Defines the ORDER BY of the types of contracts in the list view. Default .. ###### END~OF~TABLE ###### The extension provides lots of others ts configurations that can hardly be listed in an array. For each view (according to the names given in the flexform, i.e DETAIL and LISTE), there is an option “fields” that defines with cObjects every fields in the database for the records. By default they are stdWrap but some fields are modified in the static ts template. The configuration for these fields is : :: plugin.tx_apcaoffreemploi_pi1{ DETAIL{ fields{ type_contrat = RECORDS type_contrat { tables = tx_apcaoffreemploi_type_contrat dontCheckPid = 1 conf.tx_apcaoffreemploi_type_contrat = TEXT conf.tx_apcaoffreemploi_type_contrat{ field = title } } emetteur = RECORDS emetteur { tables = tx_apcaoffreemploi_chambre dontCheckPid = 1 conf.tx_apcaoffreemploi_chambre = TEXT conf.tx_apcaoffreemploi_chambre{ field = title } } } } } This gives an idea of the configurations available for each fields. To give another example, if you want to crop the field title in list view, you just have to add a ts configuration like this : :: plugin.tx_apcaoffreemploi_pi1{ LISTE{ fields{ title.crop = 100|...|1 } } } .. _Known-problems: Known problems -------------- Nothing for the moment. .. _To-Do-list: To-Do list ---------- Nothing for the moment .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _0-0-0: 0.0.0 ^^^^^ .. container:: table-row Version 0.0.0 Changes Wrote the code of the extension. .. ###### END~OF~TABLE ###### .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 44 .. :id: graphics5 .. :name: graphics5 .. :vspace: 57 .. :width: 161 .. |img-2| image:: img-2.png .. :align: left .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :id: images1 .. :name: images1 .. :width: 100% .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :id: images2 .. :name: images2 .. :width: 100% .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :id: images3 .. :name: images3 .. :width: 100%