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

1.2. Configuration

You can flexible configure the extensions output via typoscript

Example for the alphabet

temp.comAlphabet < plugin.tx_ancombase_alphabet
temp.comAlphabet{
  listPID = 57
  startAtLetter = a
  headline.show = 1
  headline.caption = Firmenverzeichnis
  headline.wrap = <h2>|</h2>
  list.wrap = <ul style="border: 1px solid #C9C9C9;list-style-type:none;padding:5px;margin:0px;margin-bottom:15px;">|</ul>
  specials.caption = 0..9 und Sonderzeichen
  specials.NO.wrap = <li style="margin-right:{$comBase.letterPadding}px;">|</li>
  specials.ACT.wrap = <li style="margin-right:{$comBase.letterPadding}px;"><strong>|</strong></li>
  letter.NO.wrap = <li style="display:inline;margin-right:{$comBase.letterPadding}px;">|</li>
  letter.NO.case = upper
  letter.ACT.wrap = <li style="display:inline;margin-right:{$comBase.letterPadding}px;"><strong>|</strong></li>
  letter.ACT.case = upper
}
page.10 < temp.comAlphabet

Example for the company list

temp.comList < plugin.tx_ancombase_list
temp.comList{
  sourcePID = {$comBase.source}
  startAtLetter < temp.comAlphabet.startAtLetter
  noEntry.caption = Mit diesem Anfangsbuchstaben sind leider keine Firmen eingetragen
  noEntry.wrap = <p>|</p>
  
  list.wrap = <ul style="list-style-type:none;padding:0px;margin:0px;margin-bottom:15px;">|</ul>
  entry.wrap = <li style="display:inline;">|</li>
  entry.format = image, title, adress, contact
  entry{
    titel.wrap = <h3>|</h3>
    adress.wrap = <p>|</p>
    contact.wrap = <table cellspacing="0" cellpadding="0" style="line-height:180%;" summary="Die Kontaktdaten der Firma">|</table>
    contact{
      telephon.wrap = <tr><td style="width:60px;">Telefon:</td><td>|</td></tr>
      telefax.wrap = <tr><td>Telefax:</td><td>|</td></tr>
      mail.wrap = <tr><td>Email:</td><td>|</td></tr>
      web.wrap = <tr><td>Internet:</td><td>|</td></tr>
    }
    image{
      file.width = 150m
      file.height = 100m
      params = style="float:right;margin-top:20px"
    }
  }
}
page.20 < temp.comList

Reference

Reference for plugin.tx_ancombase_alphabet

Property:

Data type:

Description:

Default:

ListPID

Integer

Page ID to jump to, when the user clicks on a letter link.

Self

startAtLetter

char

Sets the active letter for the first call.a..zfor a normal letter0for the special letters and numbers (0...9 and '”/,. etc.)-1no active letter

0

headline.show

Boolean (0 or 1)

Defines whether to show  the headline at the top of the page.

0

headline.caption

String

The caption to show as the headline at the top of the page

headline

->stdWrap

.wrap, .case, and so on...

specials.caption

String

The caption to show as the specials letters.

specials.ACT

->stdWrap

StdWrap for the specials letters when they are active.

specials.NO

->stdWrap

StdWrap for the specials letters when they are not active.

letter.ACT

->stdWrap

StdWrap for the active  letter.

letter.NO

->stdWrap

StdWrap for all the other  letters

list

->stdWrap

StdWrap for the whole list (special letter caption an norma letters)

Reference for plugin.tx_ancombase_list

Property:

Data type:

Description:

Default:

sourcePID

lList

Sets the source page(s) from where to get the articles in the rendered company list. Each element in the list is a page ID

Self

startAtLetter

char

Sets the active letter for the first call.a..zfor a normal letter0for the special letters and numbers (0...9 and '”/,. etc.)-1no active letterYou can also copy the property from plugin.tx_ancombase_alphabet, as in example above

0

headline.show

Boolean (0 or 1)

Defines whether to show  the headline at the top of the page.

0

headline.caption

String

The caption to show as the headline at the top of the page

headline

->stdWrap

.wrap, .case, and so on...

listFormat

list

Defines the list layout.The following elements are available:titleThe name of the company

adressThe adress (street, postal code and city)

contactContact informations (telephone, telefax, mail and web)

imageThe logo of the company

title, adress, contact

Entry.title

->stdWrap

StdWrap-Properties for the company name

Entry.adress

->stdWrap

StdWrap-Properties for the adress

Entry.contact.telephon

->stdWrap

StdWrap-Properties for the telephon number

Entry.contact.telefax

->stdWrap

StdWrap-Properties for the telefax number

Entry.contact.mail

->stdWrap

StdWrap-Properties for the mail adress

Entry.contact.web

->stdWrap

StdWrap-Properties for the internet adress (URL)

Entry.contac

->stdWrap

StdWrap-Properties for the company contact elements (phone, fax,...)

Entry.image

-> Image

Image-Properties to configure the image out

entry

->stdWrap

StdWrap-Properties for whole entry