Hallo allerseits habe ein problem mit FM-Colormenue. Ich möchte das die vom Redakteur eingegebene Farbe ins CSS eingetragen wird. Habe mir das so gedacht:
temp.pagecolor.data = field:uid
temp.pagecolor.preUserFunc = tx_fmcolormenue_pi1->getColor
Und dann ins Main Template
.pagecolor{
color: ###GLOBALCOLOR### ;
}
Das soll dann so übergeben werden:
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
template.content.templateType = main
workOnSubpart = DOCUMENT_BODY
marks.GLOBALCOLOR < temp.pagecolor
.
.
.
Hoffe mir kann jemand helfen suche schon etwas länger danach nur im Netz steht nix.
Danke
Patrick