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

1.3. Configuration

Reference

plugin.tx_irfaq_pi1 properties: TS configuration.

Property:

Data type:

Description:

Default:

templateFile

resource

The template-file. (See example in "/typo3conf/ext/irfaq/res/irfaq.tmpl"). You can define a template for a complete pagetree or a certain page in the Constant Editor or directly in your TS setup.

Example:

plugin.tx_irfaq_pi1 {

  templateFile = fileadmin/templates/irfaq.html

}

iconMinus

resource

The minus icon used in dynamic view to show the FE user that he can click on the question to fold out the answer.

iconPlus

resource

The plus icon.

Example:

plugin.tx_irfaq_pi1 {

  iconPlus = fileadmin/icons/irfaq_plus.gif

}

openSingle

boolean

To open only one FAQ at a time in dynamic view set this to 1

0

General Settings:

   

defaultCode

string

Defines default view (dynamic/static/search), comma separated

Example:

plugin.tx_irfaq_pi1.defaultCode = static

dynamic

pid_list

string / stdWrap

The pid, or list of pids of the folder, where your nfaq items are stored in (also known as “Starting point”). If this value is not set, and the “Starting point field” in the news content-element is also empty, the current page is used. Accepts multiple pid's comma separated!

Example:

# clear the value

plugin.tx_irfaq_pi1.pid_list >

# display faq records located in page 582 & 584
plugin.tx_irfaq_pi1.pid_list = 582,584

general_stdWrap

->stdWrap

The field "answer" will be processed by this stdWrap settings.

Example:

plugin.tx_irfaq_pi1 {

  general_stdWrap >

  general_stdWrap {

    parseFunc < tt_content.text.20.parseFunc

  }

}

This will clear any given "general_stdWrap" from default setup, and parse the content from modern FAQ through the same parseFunc as normal content like "text" or "text with image".  What is for example uesfull if you have installed EXT:dh_linklayout.

answer_stdWrap

->stdWrap

stdWrap for display of the answer field

question_stdWrap

->stdWrap

stdWrap for display of the question field

text_expert_stdWrap

->stdWrap

stdWrap for display of the espert text

wrap = <br /> |

expert_stdWrap

->stdWrap

stdWrap for display of the expert's name

expertemail_stdWrap

->stdWrap

stdWrap for display of the expert's eMail

experturl_stdWrap

->stdWrap

stdWrap for display of the expert's website – if any

wrap = (|)

category_stdWrap

->stdWrap

stdWrap for display of the cateegories

text_asked_by_stdWrap

->stdWrap

stdWrap for display of the asked by text

wrap = <br /> |

asked_by_stdWrap

->stdWrap

stdWrap for display of the person's name who asked the question

related_entries_stdWrap

->stdWrap

stdWrap for display of the display of related FAQ entries (if any)

related_links_stdWrap

->stdWrap

stdWrap for display of the display of related FAQ links (if any)

categoryMode

int

Defines how the dieplayed FAQs are selected regarding to their category:

0 = display all categories

1 = display selected categories

-1 = display deselected categories

0

categorySelection

int

You can set the categories to be shown, but the Flexform value will take precedence

catTextMode

int+

Default is 0 which just displays the category unlinked.

If set to 1 the catgory text will act as a shortcut link to the given shortcut page.

If set to 2 the categoy text will link to the current page the plugin is on and act as a category selector.

2

Search Settings:

   

emptySearchAtStart

boolean

If search form is added, the list will be initially empty. The list of filtered faq items will only be shown when a keyword is entered in the searchform

1

searchFieldList

string

List of database columns in which to search for keywords

q,a

searchPid

int

Redirect to page id after submitting the form

[tsref:plugin.tx_irfaq_pi1]