DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Users manual

Installing the Extension

Look here: Install, to install the extension and create pages for

  • list/search view for operations (one page)
  • single view for operation (one page)
  • list and single view page for vehicles (two pages)
  • list and single view for resources (two pages)
  • if you want it, a page for a list of all locations on a google map (one page)

After this create sysfolder for data sets of vehicles, resources, assistance, type and operations. Set the pids of single view pages for vehicle, resource and operation in typoscript constants. Have a look to the settings in plugin flexform fields or use typoscript constants to fit the settings.

Note: You must save the plugin in backend once after choosing the operations plugin! After the first saving all settings are shown!

Use your own templates

Please copy the needed folders and files in your fileadmin folder.

You need at least one folder for "Layouts"

  • Resources/Private/Layouts

one folder for Templates

  • Resources/Private/Templates

and one folder for Partials

  • Resources/Private/Partials

Files and folders within these folders are not required. You copying only the files and folders you need.

Then change the paths in constants to your own. Now you can edit and use the template files you want.

Use the map view

In single view the google map is automatically shown, when coordinates are specify in operation records. The zoom for this map comes from default setting or from record when it was specify in it.

For showing the map in list view please activate the checkbox in plugin flexform. To override the automatic centering of the map in list view, you can use the settings in constants. Please note that the override only works when you set all three values: latitude, longitude and zoom! Please check that you have the right constant in ts. I had changed "overrideCenterLangList" to the correct acronym "overrideCenterLongList" in Version 1.1.0.

The content in info window of google map you can change in fluid template in partial of operations.

Since version 1.3.0 is it possible to use your own api key for google maps. Set this in constants if you need this.

Update from version 1.2.0 - Important!

I changed the identifier of the model "Resources" to correct singular "Resource". It was needed to beware problems in future. Not correctly named objects in singular and plural are possible errors even more if the extension will be expanded. I hope that makes the extension more stable in future.

It's strongly recommended to make a backup of your database tables before you do the next things!!!

Following database tables are renamed:

  • tx_operations_domain_model_resources
  • tx_operations_operation_resources_mm

Please use update script in extensionmanager or rename the tables manually with following sql commands:

RENAME TABLE tx_operations_domain_model_resources TO tx_operations_domain_model_resource;

and

RENAME TABLE tx_operations_operation_resources_mm TO tx_operations_operation_resource_mm;

Don't use compare in Install Tool. The Install-Tool will only make new database tables. You did it anyway? Ok, no problem. Now you have to copy all entrys from the old tables to the new tables. Important: all field values must be the same! Especially th uid's! Don't delete the old tables before you copy the entrys!

Now clear all caches.

New actions were added to the switchable controller actions in plugin flexform

Two new actions, one for the list view of vehicles and one for the list view of resources. You have to change and save the plugin once in all content elements where they used.

Clear all cache again. When you use your own template files you have to change some arguments in it. Compare with the original template files in Resources folder. The following Templates needs your attention:

  • Resources/Private/Templates/Operation/List.html
  • Resources/Private/Templates/Resource/List.html
  • Resources/Private/Templates/Resource/Show.html

Please check the paths to template files of resources in your typscript and the path to partials of resources. The "s" at the end of names must be removed.

You have problems with this update? You find help on: forge.typo3.org.

Update from version 1.1.0

Following Templates are changed in version 1.2.0. Arguments and markup for new filter (type) were added. Please change your own templates to use the new filter!

Partials/List/Form.html

  • The translate-key for the prependOptionLabel were changed.
  • please add the new <f:form.select> tag where you want.

Templates/Operation/List.html and Templates/Operation/Search.html

  • Add the new argument in line 23: <f:render partial="List/Form" arguments="{demand:demand,begin:begin,**types:types**}" />

If I forgot anything (I hope I did not ;-)) feel free to write an e-mail or open an issue on forge.