TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-templavoila] FCE with list

This is a discussion on [TYPO3-templavoila] FCE with list within the typo3-project-templavoila@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi list! I'm trying to create an FCE which, amongst other tings, creates a simple list: <ul> &...


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

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 13.05.2008, 09:19
Florian Seirer
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] FCE with list

Hi list!

I'm trying to create an FCE which, amongst other tings, creates a simple
list:

<ul>
<li>Line 1</li>
<li>Line 2</li>
...
</ul>

This is my mapping:
SC: UL (Inner)
CO: LI (Outer)
EL: LI (Inner)

This works quite well.

My problem is that TYPO3 always generates a <ul>...</ul>, even if there
are no list elements inside. This is invalid XHTML.

So how can I map/wrap this correctly? I was thinking about an OUTER
mapping of the UL tag and then use a wrap/ifEmpty or the like to create
the UL tag. But I haven't figured out how to do that with container
elements.

Any ideas?
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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!
  #2  
Alt 04.06.2008, 13:38
Florian Seirer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] FCE with list

Hm. I guess wrapping <li style="display:none;"></li> could help.
Allthough this would just be a dirty solution...


Florian Seirer schrieb:
> Hi list!
>
> I'm trying to create an FCE which, amongst other tings, creates a simple
> list:
>
> <ul>
> <li>Line 1</li>
> <li>Line 2</li>
> ...
> </ul>
>
> This is my mapping:
> SC: UL (Inner)
> CO: LI (Outer)
> EL: LI (Inner)
>
> This works quite well.
>
> My problem is that TYPO3 always generates a <ul>...</ul>, even if there
> are no list elements inside. This is invalid XHTML.
>
> So how can I map/wrap this correctly? I was thinking about an OUTER
> mapping of the UL tag and then use a wrap/ifEmpty or the like to create
> the UL tag. But I haven't figured out how to do that with container
> elements.
>
> Any ideas?

_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
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-templavoila] Mapping a dl/dt/dl list... mark schoenbaechler typo3-project-templavoila@lists.netfielders.de 2 19.03.2007 09:06
[TYPO3-templavoila] Multilingual FCE select list in Frontend David Lanier typo3-project-templavoila@lists.netfielders.de 2 16.03.2007 16:15
[TYPO3-shop] how to list related products in list view - LIST code typo3-project-tt-products@lists.netfielders.de 0 18.12.2006 17:19
Re: [TYPO3-templavoila] List of modifications for TemplaVoila Franz Koch typo3-project-templavoila@lists.netfielders.de 4 15.12.2006 09:05
Re: [TYPO3-dev] List of modifications for TemplaVoila Martin Kutschker typo3-dev@lists.netfielders.de 4 04.12.2006 11:23


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:24 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 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