This repository was archived by the owner on May 12, 2026. It is now read-only.
forked from flagbit/TypoGento
-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Artus Kolanowski edited this page Jan 21, 2014
·
37 revisions
All further configuration of TypoGento is done by the TypoScript setup.
| Property | Data type | Description | Default |
|---|---|---|---|
| enable | boolean | Enables the integration of the Magento HTML head. Otherwise, further settings are ignored. | false |
| block | string | Sets the name of the Magento block, which should be integrated. It must be of type Mage_Page_Block_Html_Head. See also Magento Layouts, Blocks and Templates. |
head |
| importJs | boolean | Imports the JavaScript resources into the TYPO3 cache directory and serves them locally. | false |
| importCss | boolean | Imports the CSS resources into the TYPO3 cache directory and serves them locally. | false |
| compressJs | boolean | Enables compression for including the JavaScript resources. See also TSref:config.compressJs. | false |
| compressCss | boolean | Enables compression for including the CSS resources. See also TSref:config.compressCss. | false |
| Property | Data type | Description | Default |
|---|---|---|---|
| import | boolean | Imports the CSS/JavaScript resources into the TYPO3 cache directory and serves them locally. | false |
| compress | boolean | Enables compression for including the CSS/JavaScript resources. See also [TSref:config.compressJs] (http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/current/view/1/6/#id1556666) respectively TSref:config.compressCss. | false |
| Property | Data type | Description | Default |
|---|---|---|---|
| enable | boolean | Enables TypoScript registers for the Magento HTML head. | false |
| fields | list | Specifies the fields of the Magento block that will be made available as TypoScript registers under register:tx_typogento.header.<field>. |
| Property | Data type | Description | Default |
|---|---|---|---|
| column | integer | Specifies the TYPO3 page column, which contains the TypoGento content plugin. | 0 |
| position | integer | Specifies the position within the TYPO3 page column, which contains the TypoGento content plugin. | 0 |
| Property | Data type | Description | Default |
|---|---|---|---|
| enable | boolean | Enables TypoScript register for the TypoGento content plugin. | false |
| fields | list | Specifies the fields of the TypoGento content plugin that will be made available as TypoScript registers under register:tx_typogento.content.<field>. |
| Property | Data type | Description | Default |
|---|---|---|---|
| 1,2,3 … | route | This is a array of TypoGento routes. The order by which you specific the routes is not important as the array will be sorted before it's parsed. |
| Property | Data type | Description | Default |
|---|---|---|---|
| section | string | Sets the section of the TypoGento route, it must be either render or dispatch. |
|
| priority | integer | Sets the priority of a TypoGento route, this is only relevant if the filters match simultaneously by multiple routes. A higher value always dominates. | 0 |
| filter | if | The TypoGento route will taken, if its filter matches respectively returns true and if it has the highest priority. See also TSref:if and Magento Controller Dispatch. |
|
| target | typolink | The resulting URL of this typolink will be used depending on the TypoGento route section. If it's an render route, the (internal) URL will rendered on a TYPO3 page. If it's a dispatch route, the (external) URL will dispatched to Magento. See also TSref:typolink and Magento Controller Dispatch. Notice: This is currently not fully compliant with the typolink function. |
| Property | Data type | Description | Default |
|---|---|---|---|
| mode | string | Sets the output mode of the plugin, it must be either block or page. |
block |
| block | string | Sets the name of the Magento block in the output mode block. See also Magento Layouts, Blocks and Templates. |
content |
| cache | boolean | Enables the output caching. See also TSref:USER. | true |
Please feel free to add your own examples as Gist: