[Typo3-dev] styles.content.mailform not set in css_styled_content (cvs version)

Martin Klaus mascht at hotmail.com
Wed Apr 14 15:21:56 CEST 2004


Hi Kasper, hi list,

Thank you Kasper for getting the new
css_styled_content plugin finished!
It works great! However, i found a problem,
if you use it in conjunction with some plugins.

If you use the new css_styled_content (cvs version)
the postform of the tt_guestbook or the tt_board plugin
is not getting renderd.

The problem seem to be, that the typoscript setup
property "styles.content.mailform" is not set anymore
in ext_typoscript_setup.txt of css_styled_content.

Some older plugins like tt_guestbook (or tt_board)
copy this property to render the postform. Thats seems
to be the reason why the form is not renderd.

suggested fixes (tested):

(1)
Add a backward compatibility hook in
the css_styled_content plugin:

file: "/static/ext_typoscript_setup.txt"

Add the line "styles.content.mailform < tt_content.mailform.20"
after the tt_content CType: mailform definition (near line 635)

(2)
Replace the typoscript code:

" < styles.content.mailform" with:
" < tt_content.mailform.20"

in every plugin that renders the form like this
(px. tt_guestbook, )

---

regards,
Martin






More information about the TYPO3-dev mailing list