[TYPO3-UG Dutch] Probleem met wrappen van tags en attributes

Frank Weima weima at lift.nl
Tue Dec 6 17:33:46 CET 2011


Muriel en Ronald, top! Bedankt!

Met de volgende Typoscript heb ik het vrijwel kunnen oplossen:

# Test addAttributes encapsLines
# http://lists.typo3.org/pipermail/typo3-ug-dutch/2011-December/016044.html
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.style = margin:10px;padding:10px




-----Original Message-----
From: typo3-ug-dutch-bounces at lists.typo3.org [mailto:typo3-ug-dutch-bounces at lists.typo3.org] On Behalf Of Ronald Wopereis
Sent: dinsdag 6 december 2011 17:15
To: TYPO3 Usergroup Dutch
Subject: Re: [TYPO3-UG Dutch] Probleem met wrappen van tags en attributes

in de manual van tt_news lees ik
How to get rid of the <p class="bodytext">  wrap ?

Add one of the following lines to your TS-Setup field:

# this will remove the complete <p> tag from all news content elementsplugin.tt_news {  general_stdWrap {

    parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag >

  }

}

# this will remove the complete <p> tag from ALL content elementslib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.nonWrappedTag >

[bron:
http://typo3.org/documentation/document-library/extension-manuals/tt_news/3.1.0/view/1/4/
]

Op 6 december 2011 16:43 schreef Muriel le Pair <typo3 at strangefruit.nl> het
volgende:

> Op 06-12-11 15:18, Frank Weima schreef:
>
>
>  Voor een nieuwsbriefmodule moet ik bepaalde content via Typoscript
>> 'styles.content.get' in het document zetten. Deze content wordt 
>> standaard aangevuld met<p>-tags, omdat alle berichten via de RTE 
>> Editor worden toegevoegd.
>>
>> Via CSS_Styled_Content krijg ik standaard<p class="bodytext">. Het 
>> een en ander heb ik al aangepast zodat ik alleen nog maar de<p>-tag 
>> overhoud, maar nu kom ik bij het volgende probleem:
>>
>> Er moet pér<p>-tag een style-tag komen. Als voorbeeld krijg je dan<p 
>> style="color:#FF0000">, gevolgd door de content. Op welke manier is 
>> dit mogelijk? Ik ben al een tijd bezig om dit voorelkaar te krijgen, 
>> maar het lukt mij nu echt niet.
>>
>> Iemand die mij hiermee verder kan helpen?
>>
>
>
> Hoi Frank,
>
> Zoek in de TsRef even naar encapsLines addAttributes. Volgens mij is 
> dat wat je zoekt.
>
> --
> met vriendelijke groet,
>
> Muriel le Pair
>
> ______________________________**_________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-ug-**dutch<htt
> p://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch>
>



--
http://www.red-seadog.com
http://www.maakjegeenzorgen.nl
http://www.weforest.org
_______________________________________________
TYPO3-UG-Dutch mailing list
TYPO3-UG-Dutch at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch




More information about the TYPO3-UG-Dutch mailing list