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

1.5. TypoScript

You can modify A LOT of things in the TypoScript. Here are all possible values:

Important settings

Property

Description

Default

 

admin

Email from the administrative

 

templateFile

Path to template

DE-Template: EXT:mh_branchenbuch/res/template_de.html

EN-Template: EXT:mh_branchenbuch/res/template_en.html

EXT:mh_branchenbuch/res/template.html

 

single_pid

Page-ID for the single-view

 

search_pid

Page-ID for the search

 

General Stuff

   

letterAll

The last letter in the Alphabetic-Menu will show all entries

All

 

maxEntriesPerUser

Set here the max number of entries that a user can add. 0 = unlimited

0

 

Module settings

Property

Description

Default

Entries

  

noImage

Placeholder-Graphic for Entries without a image

EXT:mh_branchenbuch/res/noImage.gif

mailTyp

1 = mails will send over a form

2 = mails will direct send over your mail-program

1

imgMaxHeight

Maximum height for uploaded images

150

imgMaxWidth

Maximum width for uploaded images

150

mail_header

A Headline in the first line for all Mails that sent ..

mail_from

Addresser from all mails

Sender <sender@mail.tld>

imageParams

Additional image parameter

Example:

style=”border: 1px solid black”;

Or

onclick=”javascript:doSomething();”

linkTitle

Should the title in a Entry be linked to the website or the detail-view? (1 = yes, 0 = no)

1

linkType

Which type of entry should be linked

XS = 7, S = 0, M = 1, L = 2, XL (*) = 3, XXL (**) = 4, XXL (***) = 5

0,1,2,3,4,5,7

linkTarget

Opens the link in the “link-field” of a entry in a new window (_blank) or in the same window (_self)

_blank

directRedirect

0 = Pre-Page bevor redirect

1 = Direct redirect

1

Search

  

search_showXS

Here you can set if the lowest entries (XS) will be displayed in the search results (1 = yes, 0 = no)

1

search_tables

Here are the database tables that are will be searched for a keyword

Possible:

keywords, adresse (address), firma (company), custom1, custom2, custom3

firma, adresse, keywords

FE-Form

  

feForm_required

You can set here some fields that must fill up in the form to makes them valid.

Example:

You have a input field like ...

<input type=”text” name=”tx_mh_branchenbuch_postVar[company]” />

... to make this field as a “must-have” field you just type the name between the [..] in the  field like feForm_required = company,example2,example3

agbcheck,firma,typ

feForm_report

Do you want a email, if someone makes a new entry? (1 = yes, 0 = no)

1

feForm_maxsize

Maximum size of the uploaded image in kilobyte

500

feForm_createCity

Can FE-User add a new city if they want? (1 = yes, 0 = no)

1

feForm_fields_xs

Set here the fields which be allowed to fill up in the FE-Form. Fields available: nothing, keywordsFieldset, uploadFieldset, detailedFieldset. More information under “Available views -> Form”

nothing

feForm_fields_s

See feForm_fields_xs

keywordsFieldset

feForm_fields_m

See feForm_fields_xs

KeywordsFieldset, uploadFieldset

feForm_fields_l

See feForm_fields_xs

KeywordsFieldset, uploadFieldset, detailedFieldset

feForm_fields_xl

See feForm_fields_xs

KeywordsFieldset, uploadFieldset, detailedFieldset

feForm_fields_xxl

See feForm_fields_xs

KeywordsFieldset, uploadFieldset, detailedFieldset

feForm_fields_xxl2

See feForm_fields_xs

KeywordsFieldset, uploadFieldset, detailedFieldset

feForm_keywords_xs

Number of keywords  that can user add

0

feForm_keywords_sl

See feForm_keywords_xs

5

feForm_keywords_m

See feForm_keywords_xs

10

feForm_keywords_l

See feForm_keywords_xs

10

feForm_keywords_xl

See feForm_keywords_xs

15

feForm_keywords_xxxl

See feForm_keywords_xs

20

feForm_keywords_xxl2

See feForm_keywords_xs

25

TagCloud

  

countEntrys

It will display behind every cloud a number with the sum of the entries in it

1

minFontSize

Minimum font size for a cloud

10

maxFontSize

Maximum font size for a cloud

42

CloudColors

Colors of the cloud

Red, green, blue, black, grey, purple, darkblue, orange, gold, mediumseagrenn, olive, midnightblue

TagCloudLink

Create a link for every cloud to get a overview about all entries in it (1=actived, 0=disabled)

1

FE-Edit

  

FEedit

Can user edit his own entries? (1 = yes, 0 = no)

1

FEdelete

Can a user delete his ow n entries?

0

Overview

  

overviewPathSeperator

Separator for the overview broadcrump menu

&nbsp;>&nbsp;

overviewPathStart

Name of the starting point in your broadcrump menu

Homepage

overviewMode

1 = It will displayed the federal states at first

2 = It will displayed the administrative districts at first

3 = It will displayed the cities at first

4 = It will displayed the overview

See "overviewID" when you write  here > 1

1

overviewID

overviewMode = 2, then you must set here a ID for a federal state

overviewMode = 3, then you must set here a ID for a federal state and for a administrative district (id1,id2)

overviewMode = 4, see 3 but you must add a id for the city! (id1,id2,id3)

overviewSort

You can set here a order on how the Entries should be displayed in the overview.

Default order is: XXL*** > XXL** > XL * > L > M > S > XS

XS=7, S=0, M=1, L=2, XL*=3, XXL**=4, XXL***=5

5,4,3,2,1,0,7

cat_sortBy

Choose here "name" to sort the categories in the overview by his name (ASC/DESC)

or choose "sorting" to sort the categories by the list-view in the backend, where you can

sort the categories with the sort-arrows

Name

show_empty_cats

Set this to 0 if you don't want that categories displayed which don't have a entry

1

catImgMaxHeight

Maximum height for uploaded images in the categories

catImgMaxWidth

Maximum width for uploaded images in the categories

150

catImageParams

Additional image parameter

Example:

style=”border: 1px solid black”;

Or

onclick=”javascript:doSomething();”

LIST

  

limitLatest

How much entries should be displayed?

5

ROTATION

  

rotationLimit

How much images should be displayed?

1

rotationExclude

Exclude a special type of entries, just enter the ID here (XS=7, S=0, M=1, L=2, XL*=3, XXL**=4, XXL***=5)

Example:

You don't want that the entries with the type L, XL and S in the rotation .. just type:

rotationExclude = 2,3,0

rotationTarget

Opens the link in a new window (_blank) or in the self (_self)

_blank

redirectTime

Time in seconds when the user will be redirected to the website of the entry

5

GoogleMap

  

map_api

API-Key for the map

map_zoom1

Zoom-Level for the map on the Administrativ Districts

Possible value: 1 (far) - 17/19 (near)

6

map_zoom2

Zoom-Level for the map on the Federal States

Possible value: 1 (far) - 17/19 (near)

9

map_zoom3

Zoom-Level for the map on the Cities

Possible value: 1 (far) - 17/19 (near)

12

map_zoom4

Zoom-Level for the map on the Detail-View

Possible value: 1 (far) - 17/19 (near)

16

map_showImage

Show the Company-Image in the "Map-Info-Tab"? (1=yes, 0=no)

0

Till here it is all modifiable by the Constant editor, the wraps must be changed over the TypoScript.

General wraps

Property

Description

Default

 

TagCloud_stdWrap.wrap

|

 

title_stdWrap.wrap

|

 

category_stdWrap.wrap

|

 

tel_stdWrap.required

1

 

tel_stdWrap.wrap

Telephone: |

 

fax_stdWrap.required

1

 

fax_stdWrap.wrap

Fax: |

 

mobile_stdWrap.required

1

 

mobile_stdWrap.wrap

Mobilephone: |

 

address_stdWrap.wrap

|

 

email_stdWrap

Mail

 

email_stdWrap.wrap

|

 

www_stdWrap

|

 

more_stdWrap

Read more

 

more_stdWrap.wrap

|

 

movie_stdWrap

Movie

 

listEntries_edit

Edit

 

listEntries_del

delete