[TYPO3] header date problem

Roelof Wobben rwobben at hotmail.com
Tue Mar 27 21:39:09 CEST 2007


Hello Tadej,

Thank you for your suggestion but it doesn't work.
My layout is now broken.
I will try to use the autoparser Extenstion maybe then typo wil use the 
place where i want it.

Regards,

Roelof



>From: Tadej Bregar <Tadej.Bregar at guest.arnes.si>
>Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
>To: typo3-english at lists.netfielders.de
>Subject: Re: [TYPO3] header date problem
>Date: Tue, 27 Mar 2007 21:19:34 +0200
>
>Hi Roelof,
>yes, for my template parsing I'm using Autoparser Extension; and If I
>understand you correctly, you want
>to place "Blah blah blah this is a header of an article" into the table
>cell  - you said <td> right?
>
>So here we go:
>
>-- some template code before --
>
>lib.stdheader {
>  # 1st we delete the original date object, which is placed before the 
>header
>  5 >
>  # next we delete the original header type 1 object,
>  10.1 >
>  # and then create a new one.
>  10.1 = COA
>  10.1 {
>   # 1st we output the title
>   10 = TEXT
>   10.current = 1
>   10.insertData = 1
>   10.fontTag = <td>|</td>
>
>   # 2nd we output the author field of the page, and wrap it
>   20 = TEXT
>   20.data = page:author
>   20.wrap = <div>Written by:&nbsp;|</div>
>   20.required = 1
>
>   # 3rd we format and output the date of the content element
>   30 = TEXT
>   30.field = date
>   30.strftime = %A, %d %B %Y
>   30.wrap = <div>Date:&nbsp;|</div>
>   30.if.isTrue.field = date
>  }
>}
>-- some template code after--
>
>So "10.fontTag = <td>|</td>" has done the work. Now the HTML source would 
>look like:
><td>Blah blah blah this is a header of an article</td>
>
>Regards,
>Tadej Bregar
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

_________________________________________________________________
Ontdek de geweldige mogelijkheden van Windows Live Messenger! 
http://get.live.com/messenger/overview



More information about the TYPO3-english mailing list