The TypoScript¶
To get operations working you need to load the TypoScript of the extension. I described this already here in the docs TypoScript Configuration. Here I will do it a little bit more detailed. I hope that will help beginners to understand it easier.
I assume that you have already a page tree for your site. If not, please create them first. I have here an example for a useful page tree of a firefighter website.
Include TypoScript of operations in the database¶
Select the root page of your site. It's the page with the globe icon.
Switch to the Template module on the left
In the select box in Docheader choose "Info/Modify"
Click the Button "Edit the whole template record"
Now switch to the tab "Includes" and select the entry of "Operations"
Attention
If you want to overwrite TypoScript of operations in your Site Package, be sure that the include of the TypoScript from your Site Package comes after the TypoScript from operations! In those case the TypoScript of FireDepartment should be the last entry in list!
Save the changes and close it.
Tip
You can choose the TypoScript Object Browser to test whether the TypoScript of operations is successfully included.
Use Constant editor to configure some individual settings¶
There are some settings that need to be adjusted to your installation. A simple way to find such settings is the TYPO3 Constant Editor. To use them click on the module "Web" > "Template" on the left side, then select your Homepage in page tree and select "Constant Editor" in the select box in Docheader.
In the select box "Category" you find the entries for tx_operations. Choose them one after another and have look to the proposal settings.
All those constants have a description for each setting. So you can see what does the setting will do.
Necessary Settings¶
To get operations working you need at least this 4 settings in the category: "TX_OPERATIONS-STORAGE-AND-PIDS". The necessary settings are:
persistence.storagePid
This is the uid of your sysfolder where the operation data in backend is.
settings.operationSinglePid
This is the uid of the single view page for operations.
settings.vehicleSinglePid
This is the uid of the single view page for vehicles.
settings.resourceSinglePid
This is the uid of the single view page for resources.
Tip
You can find the uid (and other useful informations) of a page / sysfolder when you hover with your mouse over the icon before the text.