hy there,
gibt es ausser [BR] und , über replace tags, eine möglichkeit text aus einem reinen text artikel zu formatieren?
konkret würde ich gerne die schriftfarbe einzelner wörter ändern.
oder muss ich dafür ein eigenes RT schreiben, welches etwa so eingebunden wird:
{FONT:#77849E:Text der in der angegebenen Farbe dargestellt werden soll} ?
wenn ja, wie richte ich ein eigenes replace tag ein??
is there except [ b ] [ BR ] [ i ] and [ u ], over replace tags, a possibility to format text from a pure text article? I would change the color of individual words concretely.
or must i write for it a own replace tag, like this:
{FONT:#77849E:the colored text} ?
if, how can i realise a own replace tag?
freue mich über jeden anstoß
gaudi
RT für schriftformatierung? RT for font formatting?
RT für schriftformatierung? RT for font formatting?
..:: GAUDI ::..
hallo
vielleicht einen contentpart vor und einen danach mit einem font tag erstellen
wäre zumindest eine idee 
vielleicht einen contentpart vor und einen danach mit einem font tag erstellen


Code: Select all
<DIV .....>-----contepart vor dem text part
text contentpart
</DIV>-----contepart nach dem text part
RT für schriftfarbe
hy pappnase,
ja, das würde im html modus gehen, da kann ich aber auch so die schriftfarbe ändern.
mir geht es darum dass der anwender viel lieber "einfachen text", also als content part, schreibt als html. wenn ich nun einen "reinen" textabsatz habe, kann ich dort die farbe einzelner wörter nicht ändern.
hast du eine idee wie ich einen kleinen rt dafür schreibe?
thx gaudi
ja, das würde im html modus gehen, da kann ich aber auch so die schriftfarbe ändern.
mir geht es darum dass der anwender viel lieber "einfachen text", also als content part, schreibt als html. wenn ich nun einen "reinen" textabsatz habe, kann ich dort die farbe einzelner wörter nicht ändern.
hast du eine idee wie ich einen kleinen rt dafür schreibe?
thx gaudi
..:: GAUDI ::..
Hallo gaudi,
biete Ihm doch einen abgespeckten FCK an, der nur die Textfarbänderung, Bold, Underline, Kusiv, usw. zulässt. Mit der Erweiterung "Editor vergrößern" kannst Du Dir die Option auf alle Funktionen noch offen halten. (In Picos Edition).
Gruß Knut
biete Ihm doch einen abgespeckten FCK an, der nur die Textfarbänderung, Bold, Underline, Kusiv, usw. zulässt. Mit der Erweiterung "Editor vergrößern" kannst Du Dir die Option auf alle Funktionen noch offen halten. (In Picos Edition).
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
thx to all,
the solution:
look for >> $string = preg_replace($search, $replace, $string); << in file "front.funk.inc.php" (ca. row 1635).
copy:
$search[] = '/\[FONT (.*?)\](.*?)\[\/FONT\]/is';
$replace[] = '<font color=$1>$2</font>';
in front of it.
now you can use [FONT #CC0C00]here comes the colored text[/FONT] //#CC0C00 is your wished color
tested in article (html,plain text) and templates.
have fun
gaudi
the solution:
look for >> $string = preg_replace($search, $replace, $string); << in file "front.funk.inc.php" (ca. row 1635).
copy:
$search[] = '/\[FONT (.*?)\](.*?)\[\/FONT\]/is';
$replace[] = '<font color=$1>$2</font>';
in front of it.
now you can use [FONT #CC0C00]here comes the colored text[/FONT] //#CC0C00 is your wished color
tested in article (html,plain text) and templates.
have fun
gaudi
..:: GAUDI ::..