Franz Holzinger

Verse of the day

Denn es ist ein Gott und ein Mittler zwischen Gott und den Menschen, nämlich der Mensch Christus Jesus, der sich selbst gegeben hat für alle zur Erlösung, daß solches zu seiner Zeit gepredigt würde;
1 Timotheus 2:5-6

© Bible Gateway's Verse of the Day


autor  
29-05-07 13:19:52 POSTFORM wird nicht angezeigt
Sebastian
Hallo,


das tt_board ist genau die Extension, die ich suche um mein einfaches Diskussions-Forum zu bauen. Allerdings kämpfe ich mein einem Problem, dass - glaubt man anderen Foren und den google-Ergebnissen - in der Vergangenheit schon öfter aufgetreten ist:

Forum-List wird angezeigt, aber kein Postform in der jeweiligen Forums-Kategorie (nur die Spaltenüberschrift und das Such-Feld).
Wer guggen will: http://www.islandpraktikum.de/index.php?id=509


Meine Konfiguration:

- Typo3 4.1.1
- tt_board 1.1.9
- CSS_Styled_Content 0.3.1



Ausserdem ist Include static (from extensions) Board CSS Style (tt_board) ausgewählt. (Funktionert aber auch nicht, wenn ich stattdessen Board Old Style nehme).


Nu war's ja vor einiger Zeit so, dass CSS-styled-content und tt_board nicht zusammen konnte und eben meinen Fehler verursacht hat.

Der Workaraound (postform < styles.content.mailform mit postform < tt_content.mailform.20 im Setup ersetzen ist in der 1.1.9er Version schon gemacht)

Ausserdem hab' ich irgendwo gelesen, man soll in sysext/css_styled_content/static/setup.txt bei Zeile 660 folgendes einfügen styles.content.mailform < tt_content.mailform.20 ... hat auch nicht funktioniert.

Daher suche ich nun händeringend nach einer Lösung. Jede Hilfe und jeder Tip ist Willkommen.

VIELEN DANK schon mal im Voraus.
29-05-07 13:22:21 Ergänzung: Typo-Script
Sebastian
Vielleicht noch eine kleine notwendige Ergänzung ...

Im +ext-Template der (übergeordneten) Forums-Seite steht:

Typoscript:

#### CONSTANTS ####

plugin.tt_board {
moderatorEmail = MY_EMAIL_GOE_SHERE
numberOfRecentPosts = 0
emailCheck = 1
spamWords = HERE ARE THE SPAMWORDS
}


plugin.tt_board_list {
file.templateFile = fileadmin/path.to.template.file/board.tmpl
color1 = #C0DDFE
color2 = #C0DDFE
color3 = #0078FF
color4 = #8AC1FE
}



Typoscript:

#### SETUP ####

FEData.tt_board >
FEData.tt_board {
processScript = EXT:tt_board/lib/board_submit.inc
processScript {

notify = 1
notify_from = islandpraktikum.de

# Notification message template, first line is subject.
newReply.msg = EXT:tt_board/template/board_notify.txt
newReply.didWhat = has just replied to a thread at
newReply.subjectPrefix = Reply to post at
newThread.msg = EXT:tt_board/template/board_notify.txt
newThread.didWhat = has just created a new thread at
newThread.subjectPrefix = New thread

debug=1
emailCheck = {$plugin.tt_board.emailCheck}
spamWords = {$plugin.tt_board.spamWords}
memberOfGroups = {$plugin.tt_board.memberOfGroups}
}
default {
hidden = 0
parent = 0
}
allowNew {
subject = 1
message = 1
author=1
email=1
parent=1
notify_me=1
}
autoInsertPID = 1
doublePostCheck = doublePostCheck

}





temp.tt_board.shared = USER
temp.tt_board.shared {
pid_list.field = pages
code.field = select_key
memberOfGroups = {$plugin.tt_board.memberOfGroups}

date_stdWrap.strftime = %a %b %e, %Y
time_stdWrap.strftime= %H:%M:%S
age_stdWrap.age = 1
allowCaching = 0

list_categories {
cache_timeout = 120
}
list_forums {
author_stdWrap.wrap = by |
cache_timeout = 300
post_content_stdWrap.crop = 130 | ...
numberOfRecentPosts = {$plugin.tt_board.numberOfRecentPosts}
}
list_threads {
post_content_stdWrap.crop = 130 | ...
thread_limit = 20
}

postform < tt_content.mailform.20
postform.data >
postform.dataArray {
10.label = Betreff:
10.type = *data[tt_board][NEW][subject]=input,60
20.label = Nachricht:
20.type = *data[tt_board][NEW][message]=textarea,60
30.label = Name:
30.type = *data[tt_board][NEW][author]=input,40
40.label = E-Mail:
40.type = *data[tt_board][NEW][email]=input,40
50.label = Benachrichtigen beiAntwort(en):
50.type = data[tt_board][NEW][notify_me]=check
60.type = formtype_db=submit
60.value = Absenden!
}
postform.no_cache=1

postform_newThread < .postform
postform_newThread.dataArray.60.value = Post New Thread

moderatorEmail_newThread = {$plugin.tt_board.moderatorEmail}
moderatorEmail = {$plugin.tt_board.moderatorEmail}

PIDforum = {$plugin.tt_board.PIDforum}
}


temp.userFuncList = tx_ttboard_pi_list->main
temp.userFuncList {

HELP = COA_INT
HELP {
10.userFunc = tx_ttboard_pi_list->help
}

LIST_CATEGORIES = COA
LIST_CATEGORIES {
10.userFunc = tx_ttboard_pi_list->listCagetories
}

LIST_FORUMS = COA
LIST_FORUMS {
10.userFunc = tx_ttboard_pi_list->listForums
}

FORUM = COA
FORUM {
10.userFunc = tx_ttboard_pi_list->forum
}

POSTFORM = COA_INT
POSTFORM {
10.userFunc = tx_ttboard_pi_list->postForm
}

POSTFORM_REPLY = COA_INT
POSTFORM_REPLY {
10.userFunc = tx_ttboard_pi_list->postFormReply
}

POSTFORM_THREAD = COA_INT
POSTFORM_THREAD {
10.userFunc = tx_ttboard_pi_list->thread
}

}



## This enables the tt_content.list item to display the forum, list style:
plugin.tt_board_list < temp.tt_board.shared
plugin.tt_board_list {
userFunc < temp.userFuncList

templateFile = {$plugin.tt_board_list.file.templateFile}

# Global wraps
wrap1.wrap = {$plugin.tt_board_list.wrap1}
wrap2.wrap = {$plugin.tt_board_list.wrap2}
wrap3.wrap = {$plugin.tt_board_list.wrap3}
color1.wrap = {$plugin.tt_board_list.color1}
color2.wrap = {$plugin.tt_board_list.color2}
color3.wrap = {$plugin.tt_board_list.color3}
color4.wrap = {$plugin.tt_board_list.color4}
}


## This enables the record item to display board list items
tt_board_list >
tt_board_list = < plugin.tt_board_list
tt_board_list.displayCurrentRecord = 1
30-05-07 07:26:32 Administration: important
Franz Holzinger
Ein Blick ins Handbuch sollte hier weiterhelfen. Um zu verhindern, daß jemand darauf vergißt, sein Forum gegen Spammer zu schützen, ist dieser Schutz standardmäßig aktiviert.

Es muß die memberOfGroups auf die Frontend Benutzer Gruppe gesetzt werden, welche ein Post-Formular sehen dürfen. Falls es leer bleibt, kann jeder posten, auch Spammer.
30-05-07 12:02:02 Handbuch?
Sebastian
Vielen Dank für die schnelle Antwort.

Hatte ich leider vergessen zu meinem Posting dazuzuschreiben: im Forum soll jeder lesen/schreiben dürfen - nicht nur begrenzt auf eine FE-Benutzergruppe.
Ich habe nun mal memberOfGroups leer gelassen - funktioniert leider immer noch nicht.

Zum Thema Handbuch: Würde ich ja gerne. Allerdings ist manual.swx, die mit der Extension mitkommt leer (0 byte groß) und das Online-Manual auf Typo3.org kann nicht gerendert werden (Fehler-Meldung: No "content.xml" file was found after extracting the manual.sxw file.)
Wo kann ich denn ein Handbuch herbekommen?

Nochmals vielen vielen Dank für die Antwort und Hilfe.

Sebastian
3-06-07 08:53:40 memberOfGroups
Franz Holzinger
In den Constants:
plugin.tt_board {
moderatorEmail = moderator@jambage.com
memberOfGroups =
}

Das Handbuch gibt es auch auf
http://typo3xdev.svn.sourceforge.net/viewvc/typo3xdev/tx_ttboard/trunk/doc/
< Zurück zum Forum