Themen
 
Individuelles Webdesign
 
14.07.2007 13:50

CSS-Gestylte Tabellen in Typo3

Kategorie: Typo3, Tutorial
Von: Andreas Prucha
Wer mal den RTE per Page-TS soweit konfiguriert hat, dass er selbst definierte Klassen annimmt, braucht trotzdem noch ein paar Einstellungen im Template.

Ein Fallstrick bei Typo3 kann sein, dass Typo3 versucht vom Redakteur eingegebenen oder genierten HTML-Code bei der Ausgabe zu säubern. Eigentlich ziemlich erfreulich, nur leider führt die Säuberungsaktion nicht immer zum gewünschten Ergebnis.

Weg mit class="bodytext"

Standardmässig weist Typo3 allen Absätzen die CSS-Klasse bodytext zu.  Das kann mit einer Zeile im Template-Setup leicht unterdrückt werden:

Template-Setup:# Ein P bleibt ein P und wird nicht zum P class="bodytext"
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >

Diese Zeile verhindert, dass bei Paragraph-Tags automatisch ein class=bodytext angehängt wird.

Im Editor angegebene Klasse bei Tabellen beibehalten

Standardmässig weist Typo3 einer Tabelle die Klasse contenttable zu, auch wenn im RTE der Tabelle eine andere Klasse zugewiesen wurde.

Mit folgenden Zeilen im Template-Setup lässt sich das verhindern:

Template-Setup:#
# Wenn einer Table im Editor eine Klasse zugewiesen wurde diese beibehalten
#

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list >

Keine P's in Tabellenzellen generieren

Per default generiert Typo3 p-Tags um den Inhalt von im RTE eingegebenen Tabellen-Zellen. Mit   lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default > im Template-Setup lässt sich verhindern, dass Typo3 Table-Zellen durch den Parser schickt und aufgrund der fehlenden Umschliessung mit P-Tags diese hinein generiert.

Da wirft allerdings das Problem auf, dass dann beispielsweie in einer Zelle eingegebene Links nicht mehr umgesetzt werden.

Dieses Problem lässt sich umgehen, indem man Typo3 anweist die Einstellungen von lib.ParseFunc zu übernehmen. Dadurch werden die Tags in Tabellen-Zellen geparst, ohne dass zuätzliche P-Tags generiert werden.

Template-Setup:# keine P in TD generieren aber trotzdem Inhalt parsen

lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc =< lib.parseFunc 

 

 



Kommentare


Kommentar schreiben...


Anzeige: 298 - 396 von 994.
 
Thursday, 25. 10 18 13:19
Speedycash Spotloan JW
aus https://paydayloans2018.com/ madelynwaderlow@rainmail.win    Website   

payday loans payday loans payday loans no credit payday loans online no credit check

 
Thursday, 25. 10 18 12:19
Payday Pay Day Loan MM
aus https://personalloans2019.com/ dortha@pochtar.men    Website   

payday loans online no credit check payday loans online no credit check payday loan online lenders https://paydayloans2018.com/ - payday loans

 
Thursday, 25. 10 18 11:29
Online Lenders Money Loan JW
aus https://paydayloans2018.com/ suesaucer@regiopost.trade    Website   

personal loans personal loans personal loans personal loans bad credit

 
Thursday, 25. 10 18 11:22
Spotloan Spotloan
aus https://paydayloans2018.com/ sto04903@rainmail.win    Website   

payday loans online no credit check payday loans online payday loans no credit check fastcash

 
Thursday, 25. 10 18 10:12
Aaroncoogy AaroncoogyST
aus http://metformin2019.com britteny@jaggernautemail.bid    Website   
 
Thursday, 25. 10 18 05:28
Get A Loan Payday MM
aus https://paydayloans2018.com/ helensmith20@regiopost.trade    Website   

personal loans personal loan personal loans https://personalloans2019.com/ - personal loans

 
Thursday, 25. 10 18 01:51
Spotloan Spotloan
aus https://personalloans2019.com/ scripdiddly8@regiopost.trade    Website   

mobile loans loans personal loans personal personal loans bad credit

 
Thursday, 25. 10 18 00:38
Spotloan Spotloan
aus https://paydayloans2018.com/ kathleenmclark@regiopost.trade    Website   

bad credit personal loans best personal loan loans personal personal loans bad credit

 
Wednesday, 24. 10 18 22:01
Payday Loan Online Payday Loan JW
aus https://paydayloans2018.com/ flightlessbird13x@regiopost.trade    Website   

payday loans payday loans internet payday loan payday loans no credit

 
Wednesday, 24. 10 18 21:49
Michaelnacle MichaelnacleUY
aus http://metformin2019.com semajskroy@wwwemail.trade    Website   

wh0cd211406 otc cipralex

 
Wednesday, 24. 10 18 21:44
Kennethalimb KennethalimbHB
aus http://vardenafil2019.com sajmon77@myfreemail.bid    Website   

wh0cd211406 for more

 
Wednesday, 24. 10 18 21:41
Online Loans Getting A Loan JW
aus https://paydayloans2018.com/ suwansat@regiopost.trade    Website   

payday loans online payday loans online payday loans no credit check online payday loans

 
Wednesday, 24. 10 18 21:27
CharlesCence CharlesCenceIR
aus http://prozac2019.com amnakhanuk212@myfreeserver.bid    Website   
 
Wednesday, 24. 10 18 19:31
CharlesCence CharlesCenceIR
aus http://prednisolone2019.com cristin@blinkweb.trade    Website   

wh0cd265164 generic prozac price

 
Wednesday, 24. 10 18 19:25
Aaroncoogy AaroncoogyST
aus http://antabuse2019.com craiglj@b2bmail.trade    Website   

wh0cd211406 60 mg prozac

 
Wednesday, 24. 10 18 19:14
Bennykef BennykefGD
aus http://metformin2019.com rachelj@simplyemail.racing    Website   
 
Wednesday, 24. 10 18 16:48
Loans Loans
aus https://personalloans2019.com/ desilaloo@regiopost.trade    Website   

no credit check signature loans payday loans online new payday loans short cash loans

 
Wednesday, 24. 10 18 16:42
Loans Online Loans Online
aus https://paydayloans2018.com/ sherita@pochtar.men    Website   

best personal loan loan for debt consolidation personal loan personal loans

 
Wednesday, 24. 10 18 16:27
Michaelnacle MichaelnacleUY
aus http://amoxicillin2019.com jaslavick@msmail.trade    Website   
 
Wednesday, 24. 10 18 15:37
Payday Loans Online Online Loan JW
aus https://paydayloans2018.com/ briansony2@regiopost.trade    Website   

online pay day loans local payday loans personal loans guaranteed payday loans

 
Wednesday, 24. 10 18 13:31
Kennethalimb KennethalimbHB
aus http://metformin2019.com sheyenenc3@wwwemail.trade    Website   

wh0cd3859 link

 
Wednesday, 24. 10 18 11:52
CharlesCence CharlesCenceIR
aus http://allopurinol2019.com gammysc@anonimousemail.trade    Website   
 
Wednesday, 24. 10 18 09:26
Payday Payday
aus https://personalloans2019.com/ denzel@regiopost.trade    Website   

payday now loans payday loans loan installments multiple payday loans personal loans personal loans personal loans bad credit best personal loan

 
Wednesday, 24. 10 18 08:07
Loan Loan
aus https://paydayloans2018.com/ jaslavick@pochtar.men    Website   

personal loans loans personal loan bad credit best personal loan

 
Wednesday, 24. 10 18 07:41
Getting A Loan Pay Day Loans MM
aus https://paydayloans2018.com/ kingcel74@pochtar.men    Website   

payday loans payday loans 500 cash loan https://paydayloans2018.com/ - payday loan online

 
Wednesday, 24. 10 18 07:25
Kennethalimb KennethalimbHB
aus http://vardenafil2019.com thresa@freewebpages.bid    Website   

wh0cd160534 price of acyclovir

 
Wednesday, 24. 10 18 07:00
Michaelnacle MichaelnacleUY
aus http://acyclovir2019.com demetria@blinkweb.bid    Website   
 
Wednesday, 24. 10 18 04:26
Michaelnacle MichaelnacleUY
aus http://prozac2019.com mickcube@mail4you.trade    Website   

wh0cd103676 lexapro

 
Tuesday, 23. 10 18 23:35
Aaroncoogy AaroncoogyST
aus http://vardenafil2019.com knownethis771@freeemails.racing    Website   
 
Tuesday, 23. 10 18 20:55
CharlesCence CharlesCenceIR
aus http://metformin2019.com gayla@myumail.bid    Website   
 
Tuesday, 23. 10 18 19:00
Aaroncoogy AaroncoogyST
aus http://metformin2019.com tobie@emailme.bid    Website   

wh0cd211406 purchase zithromax

 
Tuesday, 23. 10 18 15:36
Quick Loan Quick Loans JW
aus https://personalloans2019.com/ mridgway@pochtar.men    Website   

easy payday loans no teletrack personal loan personal loans small loans

 
Tuesday, 23. 10 18 15:10
CharlesCence CharlesCenceIR
aus http://amoxicillin2019.com jasonoreilly1@jaggernautemail.trade    Website   
 
Tuesday, 23. 10 18 13:34
Alfredcrubs AlfredcrubsGM
aus http://prozac2019.com shela@bestemail.bid    Website   
 
Tuesday, 23. 10 18 13:02
Bad Credit Bad Credit
aus https://paydayloans2018.com/ workmailessex@pochtar.men    Website   

marcus loans people with bad credit new payday loan lenders bad credit personal loans

 
Tuesday, 23. 10 18 11:38
CharlesCence CharlesCenceIR
aus http://metformin2019.com stekos@blinkweb.bid    Website   
 
Tuesday, 23. 10 18 09:55
Michaelnacle MichaelnacleUY
aus http://antabuse2019.com suevc70@blinkweb.trade    Website   
 
Tuesday, 23. 10 18 03:38
Bennykef BennykefGD
aus http://zithromax2019.com theollers@wwwemail.racing    Website   
 
Tuesday, 23. 10 18 01:40
Bennykef BennykefGD
aus http://lexapro2019.com mirjakok@b2bmail.trade    Website   
 
Tuesday, 23. 10 18 01:28
Aaroncoogy AaroncoogyST
aus http://vardenafil2019.com jdog7231@bestemail.bid    Website   
 
Monday, 22. 10 18 23:33
Payday Loans Payday Loans
aus https://paydayloans2018.com/ kendramcarmichael@rainmail.win    Website   

bad credit personal loans personal loans personal loans reviews private lenders

 
Monday, 22. 10 18 23:30
A Payday Loan A Payday Loan
aus https://personalloans2019.com/ midtronic@rainmail.win    Website   

personal loans for bad credit paydayloans online payday loans near me open now personal loans

 
Monday, 22. 10 18 18:49
Payday Loan Online Bad Credit MM
aus https://paydayloans2018.com/ pbrichm@rainmail.win    Website   

payday loans pay day loans payday loans https://paydayloans2018.com/ - payday loans no credit

 
Monday, 22. 10 18 13:33
Quick Loan Spotloan JW
aus https://loans2019.us.com/ wwwkevsheedy11@rainmail.win    Website   

denver payday loans easy payday loan easy payday easy payday

 
Monday, 22. 10 18 07:27
Paydayloan Paydayloan
aus https://loans2019.us.com/ billye@regiopost.trade    Website   

loans loans loans online direct faxless payday loans

 
Sunday, 21. 10 18 20:51
Speedy Cash Easy Payday Loan JW
aus https://loans2019.us.com/ morielias@regiopost.trade    Website   
 
Sunday, 21. 10 18 10:44
Quick Loan A Payday Loan JW
aus https://easypayday.us.com/ kleinwong@pochtar.men    Website   
 
Sunday, 21. 10 18 08:32
Online Loan Money Loan JW
aus https://easypayday.us.com/ hiboohughes@rainmail.win    Website   

personal loans online loans loans online direct personal loans online

 
Sunday, 21. 10 18 04:49
Loans Loans
aus https://loans2019.us.com/ deborahcastleman@rainmail.win    Website   

long term payday loan personal loan no credit check easy money payday loans easy payday

 
Sunday, 21. 10 18 03:10
Payday Express Payday Express
aus https://easypayday.us.com/ g2nec@pochtar.men    Website   

payday loans online tax advance loans loans online direct loans online direct easy payday need cash now easy payday usa cash net

 
Saturday, 20. 10 18 14:12
Aaroncoogy AaroncoogyST
aus http://antabuse.network libero29@yourimail.bid    Website   
 
Friday, 19. 10 18 03:15
Douglasfoorp DouglasfoorpZF
aus http://neurontinbest.us.org th2435@yourmailpro.bid    Website   
 
Sunday, 14. 10 18 04:11
Speedy Cash Payday Loan Online JW
aus https://loansguaranteedapproval.com/ wbpalumbo@pochtar.men    Website   

bad credit loans guaranteed approval guaranteed loans payday loan with no credit check poor credit loans guaranteed approval

 
Thursday, 04. 10 18 13:28
Torsten Albert
aus Thionville torstenalbert@xsmail.com    Website   

Hello everyone, it's my first go to see at this web site,
and post is truly fruitful in support of me, keep up posting these posts.

 
Sunday, 16. 09 18 19:23
canadian pharcharmy onlin canadian pharcharmy online
aus Bakersfield tammihudgens@yahoo.de    Website   
 
Thursday, 06. 09 18 23:05
canadian pharmacies canadian pharmacies
aus Schaumburg graig_briones@fastmessaging.com    Website   
 
Thursday, 06. 09 18 12:12
online drugstore online drugstore
aus Eschershausen ramiroahmed@mailservice.ms    Website   
 
Sunday, 02. 09 18 08:27
online drugstore online drugstore
aus Supai isiahwilke@web.de    Website   
 
Thursday, 09. 08 18 09:57
online pharmacies canada online pharmacies canada
aus High Hutton nilanoel@gawab.com    Website   
 
Wednesday, 18. 07 18 20:06
canadian pharmacies shipp canadian pharmacies shipping to usa
aus Windsor Gardens genevieveburchfield@zoho.com    Website   
 
Monday, 08. 02 16 01:25
http://happyutahhomes.com http://happyutahhomes.com/aviva-car-one-day-insurance.html
aus 86GeElvV wj0i91i3@gmail.com    Website   

Just what the doctor ordered, thankity you!

 
Sunday, 07. 02 16 22:24
http://dupontstay.com/lia http://dupontstay.com/liability-of-directors-and-officers.html
aus 72RYLJYja mi47ctnc@outlook.com    Website   

Big help, big help. And superlative news of course.

 
Sunday, 07. 02 16 19:23
http://happyutahhomes.com http://happyutahhomes.com/sue-a-insurance-company.html
aus kvnYi14Vp d7knnjswy@outlook.com    Website   

Normally I'm against killing but this article slaughtered my ignorance.

 
Sunday, 07. 02 16 13:29
http://dupontstay.com/ins http://dupontstay.com/insurance-customers.html
aus JLPc3DjlKfn rveizy14h@hotmail.com    Website   

That's a genuinely impressive answer.

 
Sunday, 07. 02 16 00:31
http://radioidealomate.co http://radioidealomate.com/used-cars-insurance-rates.html
aus t4OSooDQ chxmb89dl@hotmail.com    Website   

Ab fab my goodly man.

 
Saturday, 06. 02 16 18:37
http://acourierco.com/pot http://acourierco.com/poterjan-polis-kasko.html
aus VBM5EVSIC5s 9g4cpolxs4@mail.com    Website   

Just what the doctor ordered, thankity you!

 
Saturday, 06. 02 16 14:50
http://signaura.co/rasche http://signaura.co/raschet-kasko-reso-kal-kuljator-onlajn-besplatno.html
aus gsQYdXp5DpyM hocimyma7@gmail.com    Website   

I'm really into it, thanks for this great stuff!

 
Friday, 05. 02 16 20:28
http://yosofineblog.com/i http://yosofineblog.com/insurance-premium-of-car.html
aus puMlSt2gxaap 40vai20h@hotmail.com    Website   

That's an expert answer to an interesting question

 
Friday, 05. 02 16 14:26
http://yosofineblog.com/f http://yosofineblog.com/federated-auto-insurance.html
aus kX0F2zdHs4o dakkf0kw1@outlook.com    Website   

Taking the overview, this post is first class

 
Friday, 05. 02 16 11:33
http://bellevillebotafogo http://bellevillebotafogo.com/district-of-columbia-auto-insurance-laws.html
aus t4VzmizNQgt nedtcbtbf7s@mail.com    Website   

You really saved my skin with this information. Thanks!

 
Friday, 05. 02 16 04:38
http://erkembode.com/car- http://erkembode.com/car-insurance-edmonton-cheap.html
aus HSMXpOhRek zlexgutu@yahoo.com    Website   

Last one to utilize this is a rotten egg!

 
Friday, 05. 02 16 04:00
http://erkembode.com/the- http://erkembode.com/the-protective-insurance-company.html
aus OwSqzNJp6 9c0e5ga00@gmail.com    Website   

I really couldn't ask for more from this article.

 
Friday, 05. 02 16 01:26
http://erkembode.com/affo http://erkembode.com/affordable-car-insurance-for-dui.html
aus Q3yktxJ6h hfnxsaiqj1r@hotmail.com    Website   

That's way the bestest answer so far!

 
Friday, 05. 02 16 00:14
http://erkembode.com/safe http://erkembode.com/safeway-auto-insurance-toll-free-number.html
aus pOiaFVfPY rmmd8r0xt@gmail.com    Website   

Finding this post has answered my prayers

 
Thursday, 04. 02 16 23:31
http://www.29thrm.com/lon http://www.29thrm.com/london-insurance-recruitment.html
aus IEfoBthwIX r6ryp3ory4@gmail.com    Website   

Heck yeah this is exactly what I needed.

 
Thursday, 04. 02 16 15:39
http://josephulmer.com/wr http://josephulmer.com/wrong-reg-on-car-insurance.html
aus qt3QpTmLw jk14ank0y@mail.com    Website   

Wow! Great thinking! JK

 
Thursday, 04. 02 16 15:30
http://josephulmer.com/in http://josephulmer.com/insurance-on-a-boat.html
aus zbuR3PMfOb cq4p5j3ld@gmail.com    Website   

That's more than sensible! That's a great post!

 
Thursday, 04. 02 16 03:55
http://sagenhaftstandards http://sagenhaftstandardschnauzers.com/titan-auto-insurance-san-jose-ca.html
aus EFzHKR0vIbr 4s1nxpx03@gmail.com    Website   

Deep thought! Thanks for contributing.

 
Wednesday, 03. 02 16 23:45
http://newstalkies.com/ca http://newstalkies.com/car-insurance-bluffton-sc.html
aus kMfTl9mdUd 0tfsuoal@mail.com    Website   

What's it take to become a sublime expounder of prose like yourself?

 
Wednesday, 03. 02 16 21:53
http://thesolespa.com/wha http://thesolespa.com/what-is-buildings-insurance.html
aus cTdqVjqhhCg2 o34vumxc@outlook.com    Website   

Full of salient points. Don't stop believing or writing!

 
Wednesday, 03. 02 16 12:15
http://credoindeum.com/to http://credoindeum.com/top-car-insurance-companies-in-australia.html
aus FH9iiNJ4j gi63ndm2on@yahoo.com    Website   

I think you hit a bullseye there fellas!

 
Wednesday, 03. 02 16 10:26
http://thesolespa.com/aut http://thesolespa.com/auto-owner-insurance.html
aus gHWN1pIhQ fo79ik6h@outlook.com    Website   

You write so honestly about this. Thanks for sharing!

 
Wednesday, 03. 02 16 09:30
http://commonwealthpoetsu http://commonwealthpoetsunited.com/vmxzqagh.html
aus 5QCeDCbFM ne5407av@mail.com    Website   

This is a most useful contribution to the debate

 
Wednesday, 03. 02 16 00:31
http://credoindeum.com/ca http://credoindeum.com/car-insurance-board.html
aus RvyDcAQ4V3 qu5463rklx5@yahoo.com    Website   

That's really thinking at a high level

 
Tuesday, 02. 02 16 23:29
http://commonwealthpoetsu http://commonwealthpoetsunited.com/bckqkueh.html
aus VBvEyxIcgoy ssm5wj5psr2@yahoo.com    Website   

God help me, I put aside a whole afternoon to figure this out.

 
Sunday, 31. 01 16 00:10
http://mazzedar.com/lying http://mazzedar.com/lying-on-car-insurance-quotes.html
aus vfUsBHBnZ tayrqgk3z@outlook.com    Website   

Dag nabbit good stuff you whippersnappers!

 
Saturday, 30. 01 16 23:43
http://bankstbakes.com/ca http://bankstbakes.com/car-insurance-for-imported-cars-australia.html
aus fuRnZH8Di 8ucih0rr@hotmail.com    Website   

You've got it in one. Couldn't have put it better.

 
Saturday, 30. 01 16 20:27
http://naidisoldata.ru/ca http://naidisoldata.ru/car-insurance-quote-without-personal-information.html
aus wJhaf1VnCLM g9ostal7yl@hotmail.com    Website   

Wow! Great thinking! JK

 
Saturday, 30. 01 16 10:36
http://about-adriatic.ru/ http://about-adriatic.ru/2007-porsche-911-turbo-0-60.html
aus ycPJheiOwqv sdgb3fzf9@yahoo.com    Website   

Help, I've been informed and I can't become ignorant.

 
Saturday, 30. 01 16 08:53
http://brikkonsult.ru/wha http://brikkonsult.ru/what-vehicle-has-the-cheapest-insurance.html
aus PQErjc9Wu jtboioxiu@gmail.com    Website   

No question this is the place to get this info, thanks y'all.

 
Friday, 29. 01 16 20:53
http://about-adriatic.ru/ http://about-adriatic.ru/bell-insurance-shippensburg.html
aus JgTZRIzrkCRJ res3y8nzw2@mail.com    Website   

Didn't know the forum rules allowed such brilliant posts.

 
Friday, 29. 01 16 18:31
auto insurance Renton WA auto insurance Renton WA
aus pE9V8lQwPD zl6v6c25r@outlook.com    Website   

I might be beating a dead horse, but thank you for posting this!

 
Friday, 29. 01 16 09:01
http://carinsurancehats.t http://carinsurancehats.top/NY/Brooklyn/Valentine-auto-insurance/
aus ASc228APan a72nndsd17@hotmail.com    Website   

Holy Toledo, so glad I clicked on this site first!

 
Friday, 29. 01 16 07:36
car insurance with no lic car insurance with no license in Shreveport LA
aus EwfnRmgDU doyp0n59dqh@hotmail.com    Website   

Well done to think of something like that

 
Friday, 29. 01 16 03:41
auto insurance quotes Pit auto insurance quotes Pittsburg CA
aus wqXA1rwfDt s3g9gyai1@hotmail.com    Website   

What liberating knowledge. Give me liberty or give me death.

 
Thursday, 28. 01 16 19:33
car insurance quotes car insurance quotes
aus VBpySTI3MOIu w23ca8kkw4i@yahoo.com    Website   

Hey hey hey, take a gander at what' you've done

 
Thursday, 28. 01 16 09:14
insurance quotes car insurance quotes car
aus 77nyNrJSjUn 51jsobus@gmail.com    Website   

What a pleasure to meet someone who thinks so clearly

 
Wednesday, 27. 01 16 23:52
auto insurance auto insurance
aus OMHsUMY4xQ7c hpwja3l4ru@hotmail.com    Website   

I came, I read this article, I conquered.

 
Wednesday, 27. 01 16 23:14
cheap auto insurance cheap auto insurance
aus 7E5C6xjM 8x77alidldh@mail.com    Website   

You've really helped me understand the issues. Thanks.

 
 

Kommentar schreiben