Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.4. Quick-Installation

Include static

It is very easy to install the extension!

After you have installed the extension from the TER you must add two entries to your template.

Go to your template and click then “Click here to edit whole template record”.

After that you scroll down to “Include static (from extensions)”.

There you must select “Yellow Page (mh_branchenbuch)” and “Yellow Page  (Static) (mh_branchenbuch)”.

The Extension-Template

The standard template is located in “typo3/ext/mh_branchenbuch/res/template.html”. The template is valid XHTML trans and you can modify the whole layout over the CSS-Classes.

It would be better if you make a copy of the original template and put it in your fileadmin directory or the changes that you make in the template are getting lost with the next update.

To give this information the extension, you must write this in your TypoScript:

plugin.tx_mhbranchenbuch_pi1.templateFile = path/to/template.html

Or modify this in your ConstantEditor.

Must-Have changes in the TypoScript

You must write this things in your TypoScript or change it in the Constant editor to make sure that your company directory works well

Set the email from the admin (he will get be notified if a new entry is available or someone edit a entry or added a new city to the database)

plugin.tx_mhbranchenbuch_pi1.admin = your@email.tld

Page-ID for the single-view (Integer)

plugin.tx_mhbranchenbuch_pi1.single_pid = int+

Page-ID for the search (Integer)

plugin.tx_mhbranchenbuch_pi1.search_pid = int+

Thats all .. you can now add some federal states, administrative districts, cities, categories and company's to your database and have fun with the company directory!