[Typo3] how can i create the repeatable data objects in another format

zsl vincent zsl339 at hotmail.com
Thu Nov 10 16:17:14 CET 2005


zsl vincent wrote:
> HI
>   in the tutotial 
> http://typo3.org/documentation/document-library/doc_tut_ftb1/Content_Element_with/ 
> 
> i know how to create the repeatable data objects in this format:
> -------------------------------------
> link to this:
> link one
> limk two
> ...
> link to that:
> link one
> link two
> ...
> (of course We are able to create any number of these elements in any order)
> ---------------------------------------
> 
> but now how can i create the repeatable data structure in this 
> format?the format is
> ------------------------
> link to this:
> link one,link two,link three,........
> link to that:
> link one,link two,link three,........
> (of course we can also create any number of these elements in any order)
> --------------------------
> Thanks for any suggestion
Erik Svendsen wrote:
 > Hello zsl,

 > You want your links horizontal in frontend instead of normal list. In
 > the backend TCE I think you always will get them beneat each other. Wrap
 > all the links in ul (section) and each link in li, then use css to get
 > the right layout in the frontend.
 >
 > WBR,
 > Erik Svendsen
 > www.linnearad.no
 >
 >
HI
first of all,thank you for your answer.but i am not quite understood. i 
will specific my problem more clearly, i hope i can still get a little 
hint.(the html codes are very easy)
-----------------------------------------------------
<td valign="top" width="195" nowrap>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr>
                 <td class="label" colspan="2" height="20"><b>Global 
Infrastructure
                   Links</b></td>
               </tr>
               <tr>
                 <td><a href="#">link1,</a> <a href="#">link two,</a> <a 
href="#">link three,</a> <a href="#"> link four,</a>
                 </td>
               </tr>
</table>
</td>
(these are the html in my template)
----------------------------------------------------------
and now i want to creat a data structure of these codes,so that i can 
add Flexible content as the content element for the page.
and i create my data structure like this
-----------------------------------------------------------
ROOT    <td>  inner
   sc      <table> inner
      co     <tr>
         EL   <b>  inner
      co     <tr>
         EL   <a>   inner
         AT   <a>   href
(i hope you can understand my meaning)
------------------------------------------------------------
but everytime when i use the Flexible content to add the page content 
element.i always get the wrong format like this
---------------------------------
link to this: //substitute for "Global Infrastructure "
Url one, link two,link three  //i do not want link two and three to be
                               // displayed
Url two, link two,link three
----------------------------------
but i want the format to be like this
-----------------------------------
link to this:
Url one, Url two.
------------------------------------
i hope you can understand what i said.
thanks



More information about the TYPO3-english mailing list