[Typo3] Insert date into the sitemap
Jani Isteniè
jani at zapstudio.net
Thu Mar 17 14:30:51 CET 2005
Hi Peter...
Thank you very much for your reply.. that helped me a lot. Sorry about the
full name.. I wasn't aware of that.
I have one more question... Is it possible to display the date of the first
content element on the page instead of SYS_LASTCHANGED?
Thanks...
Jani
"Peter Klein" <peter at umloud.dk> wrote in message
news:mailman.1.1110966350.28033.typo3-english at lists.netfielders.de...
> "Jani" <jani at zapstudio.net> skrev i en meddelelse
> news:mailman.1.1110902680.6331.typo3-english at lists.netfielders.de...
>> I'm trying to insert the date of the last update into the sitemap .. does
>> anybody have an idea?
>
>> styles.sitemap.text = HMENU
>> styles.sitemap.text.special = directory
>> styles.sitemap.text.special.value = 781
>> styles.sitemap.text.stdWrap.wrap = {$styles.sitemap.text.totalWrap}
>> styles.sitemap.text {
>> 1 = TMENU
>> 1.NO.allWrap = |
>> 1.NO.linkWrap = {$styles.sitemap.text.headerWrap}
>> 1.NO.ATagBeforeWrap = 1
>> 1.target = {$styles.sitemap.text.target}
>> 1.expAll = 1
>>
>> 2 = TMENU
>> 2.NO.allWrap = |
>> 2.NO.linkWrap = {$styles.sitemap.text.level1Wrap}
>> 2.target = {$styles.sitemap.text.target}
>> 2.expAll = 1
>>
>> }
>>
>
> Hi Jani. First of all, please use your (full) real name on the list, as
> described in the
> Mailinglist rules & guidelines http://typo3.org/1438.0.html
>
> Try adding something like this to your styles.sitemap.text object:
> -- cut --
> 1.NO.before.field = SYS_LASTCHANGED
> 1.NO.before.strftime = %d-%m-%y %H:%M
>
> 2.NO.before.field = SYS_LASTCHANGED
> 2.NO.before.strftime = %d-%m-%y %H:%M
> -- cut --
>
> This will show the lastchanged date before the link..
>
> Remember to copy the "styles.sitemap.text"into the "tt_content.menu.20.2"
> object
> like this:
>
> tt_content.menu.20.2 < styles.sitemap.text
>
> -
> Peter Klein / Umloud Untd
>
More information about the TYPO3-english
mailing list