TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Another date format issue

This is a discussion on [TYPO3] Another date format issue within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Assume this: page.10.subparts.containers = CONTENT page.10.subparts.containers { table = tt_content select{ where = colPos=0 andWhere.insertData=1 ...


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

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 20.08.2008, 13:53
Stefan Aichholzer
Gast
 
Beiträge: n/a
Standard [TYPO3] Another date format issue

Assume this:

page.10.subparts.containers = CONTENT
page.10.subparts.containers {
table = tt_content
select{
where = colPos=0
andWhere.insertData=1
andWhere=uid={GPvar:faq}
andWhere.if.isTrue.data=GPvar:faq
}
}

Is display something like this:

08/08/2009
The header

The text


As that is the way it's stored. Now, is there a way to format that date
shown from the select above?

As usual thanx a million!



_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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 20.08.2008, 14:01
Bas v.d. Wiel
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Another date format issue

Stefan,
Check the same TSRef chapter on stdWrap, you'll find a strftime item
just below the section where you found 'date'.

Bas

On Wed, 2008-08-20 at 13:53 +0200, Stefan Aichholzer wrote:
> Assume this:
>
> page.10.subparts.containers = CONTENT
> page.10.subparts.containers {
> table = tt_content
> select{
> where = colPos=0
> andWhere.insertData=1
> andWhere=uid={GPvar:faq}
> andWhere.if.isTrue.data=GPvar:faq
> }
> }
>
> Is display something like this:
>
> 08/08/2009
> The header
>
> The text
>
>
> As that is the way it's stored. Now, is there a way to format that date
> shown from the select above?
>
> As usual thanx a million!
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english (AT) lists (DOT) netfielders.de
> http://lists.netfielders.de/cgi-bin/.../typo3-english

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #3  
Alt 20.08.2008, 14:07
Stefan Aichholzer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Another date format issue

Yes, I saw that, my question is how to apply that (or date) to a certain
field from the select, something like:

page.10.subparts.containers = CONTENT
page.10.subparts.containers {
table = tt_content
field = date
date = d/m/Y
select{
where = colPos=0
andWhere.insertData=1
andWhere=uid={GPvar:faq}
andWhere.if.isTrue.data=GPvar:faq
}
}

But that does not work of course. Do you know what I mean?

Thank you


Bas v.d. Wiel wrote:
> Stefan,
> Check the same TSRef chapter on stdWrap, you'll find a strftime item
> just below the section where you found 'date'.
>
> Bas
>
> On Wed, 2008-08-20 at 13:53 +0200, Stefan Aichholzer wrote:
>> Assume this:
>>
>> page.10.subparts.containers = CONTENT
>> page.10.subparts.containers {
>> table = tt_content
>> select{
>> where = colPos=0
>> andWhere.insertData=1
>> andWhere=uid={GPvar:faq}
>> andWhere.if.isTrue.data=GPvar:faq
>> }
>> }
>>
>> Is display something like this:
>>
>> 08/08/2009
>> The header
>>
>> The text
>>
>>
>> As that is the way it's stored. Now, is there a way to format that date
>> shown from the select above?
>>
>> As usual thanx a million!
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english (AT) lists (DOT) netfielders.de
>> http://lists.netfielders.de/cgi-bin/.../typo3-english

> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english (AT) lists (DOT) netfielders.de
> http://lists.netfielders.de/cgi-bin/.../typo3-english
>
>



--
Stefan Aichholzer
http://aichholzer.name
stefan (AT) aichholzer (DOT) name
(+34) 691.477.394

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #4  
Alt 20.08.2008, 14:15
Stefan Aichholzer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Another date format issue

Fixed it:

page.10.subparts.containers = CONTENT
page.10.subparts.containers {
table = tt_content
select{
where = colPos=0
andWhere.insertData=1
andWhere=uid={GPvar:faq}
andWhere.if.isTrue.data=GPvar:faq
}

renderObj = COA

renderObj.10 = TEXT
renderObj.10 {
field = date
date = d / m / Y
wrap = <p class="faq_date">Fecha:&nbsp;|</p>
}

renderObj.20 = TEXT
renderObj.20 {
field = header
wrap = <p class="faq_lnk">|</p>
}

renderObj.30 = TEXT
renderObj.30 {
field = bodytext
wrap = <p class="bodytext">|</p>
}
}


Guess I'm slowly becoming the Jedy



Bas v.d. Wiel wrote:
> Stefan,
> Check the same TSRef chapter on stdWrap, you'll find a strftime item
> just below the section where you found 'date'.
>
> Bas
>
> On Wed, 2008-08-20 at 13:53 +0200, Stefan Aichholzer wrote:
>> Assume this:
>>
>> page.10.subparts.containers = CONTENT
>> page.10.subparts.containers {
>> table = tt_content
>> select{
>> where = colPos=0
>> andWhere.insertData=1
>> andWhere=uid={GPvar:faq}
>> andWhere.if.isTrue.data=GPvar:faq
>> }
>> }
>>
>> Is display something like this:
>>
>> 08/08/2009
>> The header
>>
>> The text
>>
>>
>> As that is the way it's stored. Now, is there a way to format that date
>> shown from the select above?
>>
>> As usual thanx a million!
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english (AT) lists (DOT) netfielders.de
>> http://lists.netfielders.de/cgi-bin/.../typo3-english

> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english (AT) lists (DOT) netfielders.de
> http://lists.netfielders.de/cgi-bin/.../typo3-english
>
>



--
Stefan Aichholzer
http://aichholzer.name
stefan (AT) aichholzer (DOT) name
(+34) 691.477.394

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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] Format header date stefan@aichholzer.name typo3-english@lists.netfielders.de 4 20.08.2008 13:37
[TYPO3-ttnews] Re: [Typo3-tt-news] Change date format for relatednews list (single view) Stig Kjeldsen typo3-project-tt-news@lists.netfielders.de 0 15.08.2008 13:49
[TYPO3-ttnews] Date format used in tt_news Stephen Bungert typo3-project-tt-news@lists.netfielders.de 1 25.05.2008 14:49
[TYPO3] Date format used in tt_news Stephen Bungert typo3-english@lists.netfielders.de 7 07.03.2008 16:35
[TYPO3] translation of time and date format in tt_news Morten Kjems typo3-english@lists.netfielders.de 2 17.04.2007 13:15


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