Page 1 of 1
How to show time?
Posted: Sat Jun 09, 2007 10:52 am
by holysjit
I know, it's a very stupid question. How can I show the time to my entries?
Thx
Re: How to show time?
Posted: Mon Jun 11, 2007 11:22 am
by garvinhicking
Hi!
Using {$entry.timestamp} inside your entries.tpl template file. That contains the timestamp, if you format it, you would use something like {$entry.timestamp|@formatTime:'%H:%M'}.
Regards,
Garvin
Posted: Mon Jun 11, 2007 6:54 pm
by holysjit
I changed it, but it's not what I want. So, I changed it again to the old situation, but it won't go away. My old title-setting was:
10 March POSTTITLE(for example)
But now it is:
TIME POSTTITLE
It looks like the entries.tpl file won't update or something. I tried also to overwrite the .tpl file on my ftp server with the original file, but I don;t work. How to fix?
P.S. When I delete everything in the entries.tpl file, I upload an blank emtpy file to my ftp, everything is the same. It doesn't refresh? My Site:
www.thejokers.nl
Posted: Tue Jun 12, 2007 9:39 am
by garvinhicking
Hi!
What exactly do you change where from what to which text in what file of which directory? You need to be precise for us to be able to help you.
My guess is you're simply editing a wrong file.
Regards,
Garvin
Posted: Tue Jun 12, 2007 8:04 pm
by Don Chambers
Didn't we go down this path once before?
http://board.s9y.org/viewtopic.php?t=9626&highlight=
You might need to delete all files (except .empty - not sure about that one) located in serendipity/templates_c/. There might be an older tpl file "cached" there which MIGHT explain why you are not seeing your revisions.
Posted: Wed Jun 13, 2007 12:18 pm
by holysjit
I deleted all the files in that folder, exept the .empty. Now I don't see my entries anymore. It's blank. I have a backup from the templates_c folder. How to solve?
Posted: Wed Jun 13, 2007 12:28 pm
by garvinhicking
Hi!
What'S your URL?
Check to make sure that templates_c is writable for your PHP (i.e. 777)
Regards,
Garvin
Posted: Wed Jun 13, 2007 2:44 pm
by holysjit
I solved it completely. I just overwrited a couple of files, and then deleted alles files in het templates_c folder, exept for the .empty file. But now I have to delete the trackbacks again, but I asked that before.
Thanks Garvin!
Oh, I have now one last problem: When I open the extended version of an entrie, the sidebar is moved to the footer of the page. Its gone.
Ok, its NOT the andreas08 folder, because I completely overwrited that folder.