TypoScript
itmedia2
needs some basic TypoScript configuration. To do so you have
to add an +ext template to either the root page of your website or to a
specific page which contains the itmedia2
plugin.
-
Locate page
You have to decide where you want to insert the TypoScript template. Either root page or page with
itmedia2
plugin is OK. -
Create TypoScript template
Switch to template module and choose the specific page from above in the pagetree. Choose
Click here to create an extension template
from the right frame. In the TYPO3 community it is also known as "+ext template". -
Add static template
Choose
Info/
from the upper selectbox and then click onModify Edit the whole template record
button below the little table. On tabIncludes
locate the sectionInclude static
. Use the search above(from extension) Available items
to search foritmedia2
. Hopefully just one record is visible below. Choose it, to move that record to the left. -
Save
If you want you can give that template a name on tab "General", save and close it.
-
Constants Editor
Choose
Constant Editor
from the upper selectbox. -
itmedia2
constantsChoose
PLUGIN.
from the category selectbox to show justTX_ ITMEDIA2 itmedia2
related constants -
Configure constants
Adapt the constants to your needs. We prefer to set all these
pid
andOf List Page pid
constants. That prevents you from setting all these PIDs in each plugin individual.Of Detail Page -
Configure TypoScript
As constants will only allow modifying a fixed selection of TypoScript you also switch to
Info/
again and click onModify Setup
. Here you have the possibility to configure allitmedia2
related configuration.
View
templateRootPaths
-
- type
-
array
- Default
-
EXT:itmedia2/Resources/Private/Templates/
- Path
-
plugin.tx_itmedia2.view.*
You can override our Templates with your own SitePackage extension. We prefer to change this value in TS Constants.
partialRootPaths
-
- type
-
array
- Default
-
EXT:itmedia2/Resources/Private/Partials/
- Path
-
plugin.tx_itmedia2.view.*
You can override our Partials with your own SitePackage extension. We prefer to change this value in TS Constants.
layoutsRootPaths
-
- type
-
array
- Default
-
EXT:itmedia2/Resources/Layouts/Templates/
- Path
-
plugin.tx_itmedia2.view.*
You can override our Layouts with your own SitePackage extension. We prefer to change this value in TS Constants.
Persistence
storagePid
-
- type
-
int
- Default
- Path
-
plugin.tx_itmedia2.persistence
Set this value to a Storage Folder (PID) where you have stored the records.
Settings
pidOfMaps2Plugin
-
- type
-
int
- Default
- Path
-
plugin.tx_itmedia2.settings
Define the page UID where the EXT:maps2 plugin is located to show an address on a map.
pidOfDetailPage
-
- type
-
int
- Default
- Path
-
plugin.tx_itmedia2.settings
If you have inserted the Industry Directory plugin for detail view onto another page, you can set its PID to this property here.
glossary.mergeNumbers
-
- type
-
int
- Default
-
1
- Path
-
plugin.tx_itmedia2.settings
Merge record titles starting with numbers to
0-
in glossary.9
glossary.showAllLink
-
- type
-
int
- Default
-
1
- Path
-
plugin.tx_itmedia2.settings
Prepend an additional button in front of the glossary to show all records again.
pageBrowser.itemsPerPage
-
- type
-
int
- Default
-
15
- Path
-
plugin.tx_itmedia2.settings
Reduce result of records to this value for a page