TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] <p></p> added around allowed external blocks

This is a discussion on [TYPO3] <p></p> added around allowed external blocks within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi list I'm sure this has been covered, but I'm running around in circles with the RTE configuration (...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 20.08.2008, 16:05
Another Vision
Gast
 
Beiträge: n/a
Standard [TYPO3] <p></p> added around allowed external blocks

Hi list

I'm sure this has been covered, but I'm running around in circles with the
RTE configuration (Typo3 4.1.7)

So far I've got it to allow the external blocks I'm after saved to and
returned from the DB.

I can get them pasted into the code view of the RTE and switch between RTE
and source view fine. However when I save

<p></p>

is added before and after the permitted external block. Subsequent saving
adds &nbsp; within these empty blocks (despite the inclusion of

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.in nerStdWrap_all.ifEmpty =

in the template)

I'm pretty sure I've set allowed external blocks everywhere I can. What have
I missed?

TSconfig under 'Edit page properties' looks like this:

RTE.default{
proc {
##TRANSFORMATION METHOD - CSS Styled Content is used.
overruleMode = ts_css
##assume any br is intentional
dontConvBRtoParagraph = 1
remapParagraphTag = p

allowTags =
form,input,select,option,a,address,b,br,caption,di v,em,h1,h2,h3,h4,h5,h6,hr,
i,img,li,link,ol,p,span,strong,sub,sup,table,tbody ,td,th,tr,tt,ul
allowTagsOutside = hr,address,form,input,select,option,br,div

entryHTMLparser_rte = 1
exitHTMLparser_rte = 1
entryHTMLparser_rte.allowTags < RTE.default.proc.allowTags
exitHTMLparser_rte.allowTags < RTE.default.proc.allowTags
entryHTMLparser_rte.allowTagsOutside < RTE.default.proc.allowTagsOutside
exitHTMLparser_rte.allowTagsOutside < RTE.default.proc.allowTagsOutside

HTMLparser_rte.allowTags = form,input,select,option,br,div
HTMLparser_db.allowTags = form,input,select,option,br,div

denyTags >

entryHTMLparser_db = 1
entryHTMLparser_db {
## Always use the same list of allowed tags.
allowTags < RTE.default.proc.allowTags
allowTagsOutside < RTE.default.proc.allowTagsOutside
## Make sure we can set rules on any tag listed in allowTags.
denyTags >
## AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
keepNonMatchedTags = protect
}
HTMLparser_db {
noAttrib = br
allowTags < RTE.default.proc.allowTags
allowTagsOutside < RTE.default.proc.allowTagsOutside
xhtml_cleaning = 1
htmlSpecialChars = 0
keepNonMatchedTags = 0
}
exitHTMLparser_db = 1
exitHTMLparser_db {
allowTags < RTE.default.proc.allowTags
allowTagsOutside < RTE.default.proc.allowTagsOutside
## AVOID CONTENT BEING HSC'ed TWICE
htmlSpecialChars = 0
keepNonMatchedTags = 1
}
}
}

## Erase settings from other extensions
RTE.config.tt_content.bodytext >
RTE.config.tt_news.bodytext >

## Make sure we use ts_css transformation
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.ove rruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc. overruleMode = ts_css


Thanks
Mike
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine 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
[TYPO3-german] Indexing External websites ("External URL"): externeHTML Webseiten durchsuchen Winfried Kuiper typo3-german@lists.netfielders.de 0 19.02.2008 15:19
[TYPO3-german] Fileextension not allowed ?? Steffen Liebig typo3-german@lists.netfielders.de 6 27.11.2007 16:58
Re: [TYPO3-german] Fileextension not allowed ?? Thomas Sommer typo3-german@lists.netfielders.de 5 26.11.2007 18:39
[TYPO3-german] EM und Allowed Memory C. Rizzotti typo3-german@lists.netfielders.de 7 26.01.2007 12:31
[TYPO3-workflow] FYI: added page tree update to publish button Martin Kutschker typo3-project-workflow@lists.netfielders.de 1 11.12.2006 14:02


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:44 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

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