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

1.6. Reference

Reference

Most forum configuration is done using the extension's flexform. However, some values can be set via typoscript.

Property:

Data type:

Description:

Default:

fcode_tpl.code_open

string

opening string for CODE wraps in posts

<div class="offset"><div class="codeAuthor"><span class="codeHdr"><strong>{L_CODE}:</strong></span></div><div class="codeCell">

fcode_tpl.code_close

string

closing string for CODE wraps in posts

</div></div>

fcode_tpl.url

string

template string for URL links in posts

<a href="{URL}" target="_blank">{DESCRIPTION}</a>

fcode_tpl.color_open

string

opening string for color HTML in posts

<span style="color: {COLOR}">

fcode_tpl.color_close

string

closing string for color HTML in posts

</span>

fcode_tpl.size_open

string

opening string for text size HTML in posts

<span style="font-size: {SIZE}px; line-height: normal">

fcode_tpl.size_close

string

closing string for text size HTML in posts

</span>

fcode_tpl.email

string

template string for email links in posts

<a href="mailto:{EMAIL}">{EMAIL}</a>

fcode_tpl.img

string

template string for image HTML in a post

<img src="{URL}" border="0" />

fcode_tpl.quote_open

string

opening string for quoted text without an author name

<div class="offset"><div class="quoteCell">

fcode_tpl.quote_author

string

opening string for quoted text with an author name

<div class="offset"><div class="quoteCellAuthor">{AUTHOR}</div><div class="quoteCell">

fcode_tpl.quote_close

string

closing string for quoted text without an author name

</div></div>

posts.post_info_string.all_cats

string

template string for last post info as displayed in all categories view

{DATE}, {TIME}<br />{IN} {THREAD_LINK}<br />{BY} {AUTHOR_LINK}<br />

posts.post_info_string.single_conf

string

template string for last post info as displayed in single conference view

{DATE}, {TIME}<br />{POSTED} {AGE} {AGO}<br />{BY} {AUTHOR_LINK}<br />

single_conf.preview.form

stdWrap

wrap for form in single conference preview view

single_thread.preview.form

stdWrap

wrap for form in single thread preview view

rating.voteCountString.showString

boolean

set to true to show the string showing the average rating for a post

1

rating.voteCountString.oneOrMore

string

the template for the average rating string if there is one or more votes on record

[###COUNT### ###LABEL###  / ###AVG###]

rating.voteCountString.ifEmpty

string

the template for the average rating string if no votes have been recorded for the post

[###LABEL###]

rating.voteCountString.avgDecimals

int

the number of decimal places to display when displaying the average rating for a post

2

rating.showEmpties

boolean

set to true to show empty stars on the post rating graphic

1

gpvars

array

Use this to set a default conference via typoscript. This might be useful if you wanted to make the forum start at a certain conference on a certain page, for example. Any value that you can pass via the get/post vars can be set here. The following configuration, for example, would make the forum display, by default, the conference view for the  conference with the uid of 2. This would not restrict use to this conference -- it would only set the default view.

Example:

gpvars.view=single_conf

gpvars.cat_uid=1

gpvars.conf_uid=2page.typeNum = 0

rating.imghtml

string

HTML used for the rating image (by default, a red star)

<img border="0" src="###path###" />

userImg

IMAGE

Typoscript for userpic cObj

Example:

userImg {

file.minW = 0

file.maxW = 100

file.maxH = 75

file.minH = 75

}

file.minW = 0

file.maxW = 100

file.maxH = 75

file.minH = 75

cwtCommunity

typoscript

This typoscript array contains all the configuration for cwt_community when cwt_community integration is enabled. For documentation, see the cwt_community manual.

plugin.tx_chcforum_pi1._CSS_DEFAULT_STYLE

CSS

This is where all the forum CSS styles are defined. Note the markers for colors, which are set via the constant editor.