.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================= EXT:Ameos T3CON06 ================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Jérôme Schneider :Changed: 2007-01-04T12:47:18 :Author: Raphael GEYER :Email: typo3(at)ameos.com :Info 3: :Info 4: .. _EXT-Ameos-T3CON06: EXT:Ameos T3CON06 ================= Extension Key: **ameos\_t3con06** Copyright 2000-2002, Raphael GEYER - `Typo3 Ameos `_ , 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.com .. _Table-of-Contents: Table of Contents ----------------- **EXT:Ameos Google Pagerank 1** **Introduction 1** What does it do? 1 Screenshots 1 **Users manual 1** Request 1 How does it work ? 1 What about the cache ? 2 **Adminstration 2** **Configuration 2** **Known problems 2** **To-Do list 2** **Changelog 2** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension provides screen shots and code used at the T3CON06 presentation in Karlsruhe. .. _Screenshot: Screenshot ^^^^^^^^^^ |img-1| .. _Plugin-creation: Plugin creation --------------- First of all we create a basic plugin which will contain the xml and php code and the database structure : # \# Table structure for table 'tx\_ameost3con06\_car' # CREATE TABLE tx\_ameost3con06\_car ( uid int(11) NOT NULL auto\_increment, pid int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL, cruser\_id int(11) DEFAULT '0' NOT NULL, manufacturer varchar(255) DEFAULT '' NOT NULL, model varchar(255) DEFAULT '' NOT NULL, releasedate int(11) DEFAULT '0' NOT NULL, image varchar(255) DEFAULT '' NOT NULL, colors varchar(255) DEFAULT '' NOT NULL, likeit varchar(255) DEFAULT '' NOT NULL, PRIMARY KEY (uid), KEY parent (pid) ); .. _Step-1-contained-in-pi1: Step 1 (contained in pi1) ------------------------- In the first step we will create a simple FORM using the default TEMPLATE .. _Screenshot: Screenshot ^^^^^^^^^^ |img-2| .. _PHP-init-code: PHP init code ^^^^^^^^^^^^^ :: -2: 3: * All rights reserved 4: * 5: * This script is part of the TYPO3 project. The TYPO3 project is 6: * free software; you can redistribute it and/or modify 7: * it under the terms of the GNU General Public License as published by 8: * the Free Software Foundation; either version 2 of the License, or 9: * (at your option) any later version. 10: * 11: * The GNU General Public License can be found at 12: * http://www.gnu.org/copyleft/gpl.html. 13: * 14: * This script is distributed in the hope that it will be useful, 15: * but WITHOUT ANY WARRANTY; without even the implied warranty of 16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17: * GNU General Public License for more details. 18: * 19: * This copyright notice MUST APPEAR in all copies of the script! 20: ***************************************************************/ 21: 22: require_once(PATH_tslib.'class.tslib_pibase.php'); 23: 24: class tx_ameost3con06_pi1 extends tslib_pibase { 25: 26: var $prefixId = 'tx_ameost3con06_pi1'; 27: var $scriptRelPath = 'pi1/class.tx_ameost3con06_pi1.php'; 28: var $extKey = 'ameos_t3con06'; 29: var $oForm = null; // the form is a member property 30: 31: function main($content,$conf) { 32: $this->conf=$conf; 33: $this->pi_setPiVarDefaults(); 34: $this->pi_loadLL(); 35: $this->pi_USER_INT_obj=1; 36: 37: $this->oForm = t3lib_div::makeInstance("tx_ameosformidable"); 38: $this->oForm->init( 39: &$this, 40: t3lib_extmgm::extPath($this->extKey) . "pi1/xml/step1.xml" 41: ); 42: 43: return $this->pi_wrapInBaseClass( 44: $this->oForm->render() 45: ); 46: } 47: } 48: 49: 50: 51: if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi1/class.tx_ameost3con06_pi1.php']) { 52: include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi1/class.tx_ameost3con06_pi1.php']); 53: } 54: 55: ?> .. _HTML-template: HTML template ^^^^^^^^^^^^^ ::
{errors}

Main Features

{manufacturer.label}

{manufacturer.input}

{model.label}

{model.input}

{releasedate.label}

{releasedate.input}

{image.imagetag}

Options

{image.label}

{image.input}

{colors.label}

{colors.red.label} {colors.green.label} {colors.blue.label} {colors.banana.label} {colors.silver.label} {colors.black.label} {colors.white.label}
{colors.red.input} {colors.green.input} {colors.blue.input} {colors.banana.input} {colors.silver.input} {colors.black.input} {colors.white.input}

{btnsubmit}

.. _XML-configuration-code: XML configuration code ^^^^^^^^^^^^^^^^^^^^^^ :: Historique des inscriptions
true true tx_ameost3con06_car uid model PEUGEOT uploads/tx_ameost3con06/ EXT:ameos_formidable/res/shared/xml/imageprocess/shaded.xml EXT:ameos_t3con06/res/xml/_sysfields.xml .. _Step-2-contained-in-pi2: Step 2 (contained in pi2) ------------------------- This time we will use an HTML template .. _Screenshot: Screenshot ^^^^^^^^^^ |img-3| .. _PHP-init-code: PHP init code ^^^^^^^^^^^^^ :: -2: 3: * All rights reserved 4: * 5: * This script is part of the TYPO3 project. The TYPO3 project is 6: * free software; you can redistribute it and/or modify 7: * it under the terms of the GNU General Public License as published by 8: * the Free Software Foundation; either version 2 of the License, or 9: * (at your option) any later version. 10: * 11: * The GNU General Public License can be found at 12: * http://www.gnu.org/copyleft/gpl.html. 13: * 14: * This script is distributed in the hope that it will be useful, 15: * but WITHOUT ANY WARRANTY; without even the implied warranty of 16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17: * GNU General Public License for more details. 18: * 19: * This copyright notice MUST APPEAR in all copies of the script! 20: ***************************************************************/ 21: 22: require_once(PATH_tslib.'class.tslib_pibase.php'); 23: 24: class tx_ameost3con06_pi2 extends tslib_pibase { 25: 26: var $prefixId = 'tx_ameost3con06_pi2'; 27: var $scriptRelPath = 'pi2/class.tx_ameost3con06_pi2.php'; 28: var $extKey = 'ameos_t3con06'; 29: var $oForm = null; // the form is a member property 30: 31: function main($content,$conf) { 32: $this->conf=$conf; 33: $this->pi_setPiVarDefaults(); 34: $this->pi_loadLL(); 35: $this->pi_USER_INT_obj=1; 36: 37: $this->oForm = t3lib_div::makeInstance("tx_ameosformidable"); 38: $this->oForm->init( 39: &$this, 40: t3lib_extmgm::extPath($this->extKey) . "pi2/xml/step2.xml" 41: ); 42: 43: return $this->pi_wrapInBaseClass( 44: $this->oForm->render() 45: ); 46: } 47: } 48: 49: 50: 51: if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi2/class.tx_ameost3con06_pi2.php']) { 52: include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi2/class.tx_ameost3con06_pi2.php']); 53: } 54: 55: ?> .. _HTML-lister-template: HTML lister template ^^^^^^^^^^^^^^^^^^^^ ::
{errors}

Main Features

{manufacturer.label}

{manufacturer.input}

{model.label}

{model.input}

{releasedate.label}

{releasedate.input}

{image.imagetag}

Options

{image.label}

{image.input}

{colors.label}

{colors.red.label} {colors.green.label} {colors.blue.label} {colors.banana.label} {colors.silver.label} {colors.black.label} {colors.white.label}
{colors.red.input} {colors.green.input} {colors.blue.input} {colors.banana.input} {colors.silver.input} {colors.black.input} {colors.white.input}

{btnsubmit}

.. _HTML-search-template: HTML search template ^^^^^^^^^^^^^^^^^^^^ ::

Search Through Records

{manufacturer.label}

{manufacturer.input}

{model.label}

{model.input}

{colors.label}

{colors.red.label} {colors.green.label} {colors.blue.label} {colors.banana.label} {colors.silver.label} {colors.black.label} {colors.white.label}
{colors.red.input} {colors.green.input} {colors.blue.input} {colors.banana.input} {colors.silver.input} {colors.black.input} {colors.white.input}

{btnsubmit}

.. _XML-configuration-code: XML configuration code ^^^^^^^^^^^^^^^^^^^^^^ :: Historique des inscriptions false false tx_ameost3con06_car uid model PEUGEOT uploads/tx_ameost3con06/ EXT:ameos_formidable/res/shared/xml/imageprocess/shaded.xml /fileadmin/templates/images/submit.jpg style="cursor:pointer;" .. _Step-3-contained-in-pi3: Step 3 (contained in pi3) ------------------------- Now .. _Screenshot: Screenshot ^^^^^^^^^^ .. _img-4: |img-4| ------- .. _PHP-init-code: PHP init code ^^^^^^^^^^^^^ :: -2: 3: * All rights reserved 4: * 5: * This script is part of the TYPO3 project. The TYPO3 project is 6: * free software; you can redistribute it and/or modify 7: * it under the terms of the GNU General Public License as published by 8: * the Free Software Foundation; either version 2 of the License, or 9: * (at your option) any later version. 10: * 11: * The GNU General Public License can be found at 12: * http://www.gnu.org/copyleft/gpl.html. 13: * 14: * This script is distributed in the hope that it will be useful, 15: * but WITHOUT ANY WARRANTY; without even the implied warranty of 16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17: * GNU General Public License for more details. 18: * 19: * This copyright notice MUST APPEAR in all copies of the script! 20: ***************************************************************/ 21: 22: require_once(PATH_tslib.'class.tslib_pibase.php'); 23: 24: class tx_ameost3con06_pi3 extends tslib_pibase { 25: 26: var $prefixId = 'tx_ameost3con06_pi3'; 27: var $scriptRelPath = 'pi3/class.tx_ameost3con06_pi3.php'; 28: var $extKey = 'ameos_t3con06'; 29: 30: var $oForm = null; // the form is a member property 31: var $oList = null; // the list is a member property 32: var $sHtmlList = null; // the html of the list 33: 34: function main($content,$conf) { 35: $this->conf=$conf; 36: $this->pi_setPiVarDefaults(); 37: $this->pi_loadLL(); 38: $this->pi_USER_INT_obj=1; 39: 40: // $this->oForm = t3lib_div::makeInstance("tx_ameosformidable"); 41: $this->oList = t3lib_div::makeInstance("tx_ameosformidable"); 42: 43: /* $this->oForm->init( 44: &$this, 45: t3lib_extmgm::extPath($this->extKey) . "pi2/xml/step2.xml" 46: ); 47: */ 48: $this->oList->init( 49: &$this, 50: t3lib_extmgm::extPath($this->extKey) . "pi3/xml/step3.xml" 51: ); 52: 53: $sSearchForm = $this->oList->render(); 54: 55: return $this->pi_wrapInBaseClass( 56: $sSearchForm . $this->sHtmlList 57: ); 58: } 59: } 60: 61: 62: 63: if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi3/class.tx_ameost3con06_pi3.php']) { 64: include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi3/class.tx_ameost3con06_pi3.php']); 65: } 66: 67: ?> .. _HTML-lister-code: HTML lister code ^^^^^^^^^^^^^^^^ :: {tx_ameosafcompte_centre}
{etat}
Picture Model Manufacturer Release date Colors Edit Delete
{image} {model} {manufacturer} {releasedate} {colors} {lnk_edit} {lnk_delete}
{image} {model} {manufacturer} {releasedate} {colors} {lnk_edit} {lnk_delete}
First Prev page {page}/{pagemax} Next Last
{page} {page} .. _HTML-search-code: HTML search code ^^^^^^^^^^^^^^^^ ::

Search Through Records

{manufacturer.label}

{manufacturer.input}

{model.label}

{model.input}

{colors.label}

{colors.red.label} {colors.green.label} {colors.blue.label} {colors.banana.label} {colors.silver.label} {colors.black.label} {colors.white.label}
{colors.red.input} {colors.green.input} {colors.blue.input} {colors.banana.input} {colors.silver.input} {colors.black.input} {colors.white.input}

{btnsubmit}

.. _XML-configuration-code: XML configuration code ^^^^^^^^^^^^^^^^^^^^^^ :: Historique des inscriptions false false tx_ameost3con06_car uid model $aParams = func_get_args(); $this->_oParent->sHtmlList = $aParams[1]["HTML"]; this _setHTMLList 4 ###ROW1### uploads/tx_ameost3con06/ EXT:ameos_formidable/res/shared/xml/imageprocess/shaded-w100.xml /fileadmin/templates/images/search.jpg style="cursor:pointer;" .. _Step-4-contained-in-pi4: Step 4 (contained in pi4) ------------------------- .. _Screenshot: Screenshot ^^^^^^^^^^ :: |img-1| .. _PHP-init-code: PHP init code ^^^^^^^^^^^^^ :: -2: 3: * All rights reserved 4: * 5: * This script is part of the TYPO3 project. The TYPO3 project is 6: * free software; you can redistribute it and/or modify 7: * it under the terms of the GNU General Public License as published by 8: * the Free Software Foundation; either version 2 of the License, or 9: * (at your option) any later version. 10: * 11: * The GNU General Public License can be found at 12: * http://www.gnu.org/copyleft/gpl.html. 13: * 14: * This script is distributed in the hope that it will be useful, 15: * but WITHOUT ANY WARRANTY; without even the implied warranty of 16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17: * GNU General Public License for more details. 18: * 19: * This copyright notice MUST APPEAR in all copies of the script! 20: ***************************************************************/ 21: 22: require_once(PATH_tslib.'class.tslib_pibase.php'); 23: 24: class tx_ameost3con06_pi4 extends tslib_pibase { 25: 26: var $prefixId = 'tx_ameost3con06_pi4'; 27: var $scriptRelPath = 'pi4/class.tx_ameost3con06_pi4.php'; 28: var $extKey = 'ameos_t3con06'; 29: 30: var $oForm = null; // the form is a member property 31: var $oList = null; // the list is a member property 32: var $sHtmlList = null; // the html of the list 33: 34: function main($content,$conf) { 35: $this->conf=$conf; 36: $this->pi_setPiVarDefaults(); 37: $this->pi_loadLL(); 38: $this->pi_USER_INT_obj=1; 39: 40: $this->oForm = t3lib_div::makeInstance("tx_ameosformidable"); 41: $this->oList = t3lib_div::makeInstance("tx_ameosformidable"); 42: 43: $this->oList->init( 44: &$this, 45: t3lib_extmgm::extPath($this->extKey) . "pi4/xml/step4.xml" 46: ); 47: 48: $this->oForm->init( 49: &$this, 50: t3lib_extmgm::extPath($this->extKey) . "pi2/xml/step2.xml" 51: ); 52: 53: $sForm = $this->oForm->render(); 54: $sSearchForm = $this->oList->render(); 55: 56: return $this->pi_wrapInBaseClass( 57: $sSearchForm . $this->sHtmlList . $sForm 58: ); 59: } 60: } 61: 62: 63: 64: if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi4/class.tx_ameost3con06_pi4.php']) { 65: include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/ameos_t3con06/pi4/class.tx_ameost3con06_pi4.php']); 66: } 67: 68: ?> .. _XML-configuration-code: XML configuration code ^^^^^^^^^^^^^^^^^^^^^^ :: Historique des inscriptions false false tx_ameost3con06_car uid model $aParams = func_get_args(); $this->_oParent->sHtmlList = $aParams[1]["HTML"]; this _setHTMLList 4 ###ROW1### uploads/tx_ameost3con06/ EXT:ameos_formidable/res/shared/xml/imageprocess/shaded-w100.xml /fileadmin/templates/images/search.jpg style="cursor:pointer;" .. _To-Do-list: To-Do list ---------- .. _Changelog: Changelog --------- 06-10-2006 : TYCON06 presentation and first release |img-5| EXT:Ameos T3CON06 - 20 **`Typo3 Ameos `_** .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: bottom .. :border: 0 .. :height: 891 .. :id: Image2 .. :name: Image2 .. :width: 570 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 537 .. :id: Image3 .. :name: Image3 .. :width: 669 .. |img-3| image:: img-3.png .. :align: bottom .. :border: 0 .. :height: 578 .. :id: Image1 .. :name: Image1 .. :width: 669 .. |img-4| image:: img-4.png .. :align: bottom .. :border: 0 .. :height: 790 .. :id: Image4 .. :name: Image4 .. :width: 669 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102