Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 05.01.06, 08:00
Forum Zuschauer
 
Registriert seit: 05.01.06
Alter: 26
Beiträge: 2

RTE & TemplaVoila: aus <b>text</b> wird btext/b


Hallo TYPO3-Profis,

Ich habe folgendes Problem:
Der RTE-Editor funktioniert im BE ganz wunderbar. Wenn ich den Text fett haben möchte, erzeugt er mir im BE schöne <strong>-Tags und wird dort korrekt dargestellt. Schaue ich mir das Ganze jedoch im FE an, sehe ich sowas:
strongtexttexttext/strong

Der stielt mir einfach die Klammern!

Ich habe mittlerweile sämtliche Foren nach dieser Problematik durchsucht, jedoch bisher keine Lösung gefunden. Daher wäre ich Euch sehr dankbar, wenn Ihr mir helfen könntet.

Meine Konfiguration:
TYPO3 3.8.1
TemplaVoila 0.4.0
RTE 0.0.10

Mit dem anderen HTMLEditor habe ich es übrigens auch schon versucht. Das funktioniert genauso wenig.

Page TSConfig:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
RTE.default.disabled = 0
RTE.config.proc.overruleMode = ts_css

parseFunc < RTE.default.parseFunc_RTE
RTE.default >
RTE.default {
useCSS = 1
contentCSS = fileadmin/templates/main/res/style.css
classesCharacter = title, head, h1, h2, h3

hideButtons = left,center,right,fontstyle,fontsize,textcolor,orderedlist,outdent,indent,user,line, symbol,ColorPicker
showButtons = formatblock, class,cut,copy,paste,bold,italic,underline,unorderedlist,link

preserveTags = Class
hidePStyleItems = H4, H5, H6

removeTrailingBR = 1

     # Microsoft Word to be "cleaned"
enableWordClean = 1

     # html comments to be removed
removeComments = 1

     # disable the insertion of paragraphs when hitting the Enter key in Mozilla/Firefox
disableEnterParagraphs = 0

proc {
         #preserveTables = 1
overruleMode = ts_css,ts_links #ts_images, ts_reglinks
dontConvBRtoParagraph = 1
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, a, img, nobr, hr, tt, q, cite, abbr, acronym
allowedClasses = tipp, plain
}

hidePStyleItems = h3,h4,h5,h6,pre

     # parser content to rte
HTMLparser_rte {
allowTags < RTE.default.proc.allowTags
denyTags  < RTE.default.proc.denyTags
allowedClasses < RTE.default.proc.allowedClasses
// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 0
}

     # parser content to db
proc.entryHTMLparser_db = 1
proc.entryHTMLparser_db {
tags.b.remap = strong
tags.i.remap = em
allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

htmlSpecialChars = -1
keepNonMatchedTags = 1
xhtml_cleaning = 1
allowTags < RTE.default.proc.allowTags
denyTags  < RTE.default.proc.denyTags
allowedClasses < RTE.default.proc.allowedClasses
}

proc.entryHTMLparser_rte = 1
proc.entryHTMLparser_rte {
tags.b.remap = strong
tags.i.remap = em
allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

htmlSpecialChars = -1
keepNonMatchedTags = 1
xhtml_cleaning = 1
allowTags < RTE.default.proc.allowTags
denyTags  < RTE.default.proc.denyTags
allowedClasses < RTE.default.proc.allowedClasses
}


#########hier##################
proc.exitHTMLparser_db = 1
proc.exitHTMLparser_db {
tags.b.remap = strong
tags.i.remap = em
allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

htmlSpecialChars = -1
keepNonMatchedTags = 1
xhtml_cleaning = 1
allowTags < RTE.default.proc.allowTags
denyTags  < RTE.default.proc.denyTags
allowedClasses < RTE.default.proc.allowedClasses
}

proc.exitHTMLparser_rte = 1
proc.exitHTMLparser_rte {
tags.b.remap = strong
tags.i.remap = em
allowTags = h1, h2, div, br, span, b, a, ul, ol, li, p

htmlSpecialChars = -1
keepNonMatchedTags = 1
xhtml_cleaning = 1
allowTags < RTE.default.proc.allowTags
denyTags  < RTE.default.proc.denyTags
allowedClasses < RTE.default.proc.allowedClasses
}
}


    ####### EIGENE STYLES EINFUEGEN ########################
RTE.default.classesParagraph = P, H1, H2,

RTE.mainStyleOverride = P, H1, H2
RTE.default.mainStyleOverride_add.H1 = font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#A06831; background-color: #F3EDC7; margin-bottom: 5px; padding: 2, 0, 2, 2;
RTE.default.mainStyleOverride_add.H2 = font-family: Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; color:#704923; margin-bottom: 5px; padding: 2, 0, 2, 2;

Bitte helft mir! Ich weiß wirklich nicht mehr weiter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 09.01.06, 22:08
Benutzerbild von maxhb
TYPO3 Forum Team
Moderator
 
Registriert seit: 19.08.04
Ort: Bremen
Alter: 36
Beiträge: 1.535

Hi!
Ich weiss nicht, warum Du so viele HTMLparser verwendest.
In der Anleitung zur HTMLArea findest sich:
Zitat:
Zitat von HTMLarea Documentation
## REMAP B AND I TAGS

## b and i tags are used by Mozilla/Firefox in editing mode.

## This must be done on exit because the default HTMLparser_db parsing executes the reverse mapping.

tags.b.remap = strong

tags.i.remap = em
Scheinbar ist es völlig ausreichend, das Remapping für HTMLparser_db zu konfigurieren.

Weitere infos auf http://typo3.org/documentation/docum..._Configuratio/

Hope it helps
maxhb
__________________
FreeBSD || MySQL 5.x || TYPO3 3.6 - 4.2

Meine Stadt, meine Firma, mein Redaktionssystem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 10.01.06, 21:03
Forum Zuschauer
 
Registriert seit: 05.01.06
Alter: 26
Beiträge: 2

Zunächst möchte ich mich für Deine Antwort bedanken, nur leider hat mich das auch nicht wirklich weiter gebracht. Ich habe den ganzen Tag nach einer Lösung gesucht, finde aber keine.

Mittlerweile denke ich jedoch, dass das Problem an TemplaVoila liegt. Denn wenn ich TV deinstalliere und den Content editiere, werden die Klammern der Tags (<>) mit in die DB geschrieben. Sieht dann so aus: <strong>text</strong>

Möchte ich den Content in einem Flex Form-Feld editieren, so speichert er einfach die Tags ohne die Klammern. Sieht dann so aus: strongtext/strong

Ich werde wirklich noch wahnsinnig, denn ich finde den Fehler nicht. Da hat auch kein Remappen geholfen. Wenn ich beispielsweise unter
Typoscript-Code:
1:
RTE.default.proc.entryHTMLparser_db.tags.h1.remap = h6
eingebe – nur um zu prüfen, ob es funktioniert – klappt es auch. H1 wird durch h6 ersetzt, aber die Klammern sind dennoch weg.

Lediglich die p-Tags werden korrekt interpretiert.

Kann es vielleicht daran liegen, dass die TV-Inhalte in einer anderen Spalte der DBTabelle abgelegt sind? Oder liegt es an den htmlSpecialChars?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 18.09.08, 22:31
Forum Aktivist
 
Registriert seit: 07.05.07
Beiträge: 50

Problem gelöst


Hallo,

ich habe selbige Problem:

TYPO3 4.2.1

Wenn ich im RTE den BOLD-Button verwende oder Shift+Enter für einen Zeilenubruch
steht nach b/ oder br statt <b> und <br>

Woran kann das liegen?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Templavoila -anstatt Content wird nur Ziffer ausgegeben glorias TemplaVoila 5 01.07.08 12:14
Typo3, TemplaVoila, CSS - Hover Effekt wird ignoriert caustics TYPO3 4.x Fragen und Probleme 10 10.04.08 11:22
TemplaVoila Übersetzungs Tab wird nicht angezeigt tobotobo TemplaVoila 7 25.06.07 08:41
Templavoila + Multilang = nur default Sprache wird angezeigt Winddancer TYPO3 4.x Fragen und Probleme 5 21.05.07 13:20
templavoila wird im online repository nicht angeboten Oski TemplaVoila 1 11.03.06 07:57


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:08 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0