Seite 1 von 1

Month gif naming

Verfasst: 04 Jan 2007 20:07
von Fredens
Hi there,

In my cumstom.txt i have the following

Code: Alles auswählen

img src="%ws_year%/mini_m%ws_year%%ws_month%t.gif"
WsWin produces the gif file as

Code: Alles auswählen

2007/mini_m200701t.gif
However, when producing the html via custom.txt the html gets to be

Code: Alles auswählen

2007/mini_m20071t.gif
Meaning that the gif file is named "....01t.gif" but the html is "...1t.gif". Resulting in "red crosses" on my website.

Funny, because the error occured right after New Years.

Any ideas?

Stormy and cloudy regards from Denmark

Verfasst: 04 Jan 2007 22:37
von Werner
@Fredens,


use %ws_month2%
instead of %ws_month%

Werner

Verfasst: 04 Jan 2007 22:58
von Fredens
Hi Wener,

Just perfect! Thanks for the tip

Fredens