Replacement tag {NEW:xx} not working

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

Replacement tag {NEW:xx} not working

Post by mdgroot »

Does someone have problems with the replacement tag {NEW:xx} ?
I use it on my site like {NEW:10} and since I installed v1.2.5 the dates are not correct and the list is showing me items with very old dates.

If I update or create a new article it is not showing in the list ...
Pappnase

Post by Pappnase »

hello

did you run all sql updates!?
i test it alos an the new tag works without problems! :-)
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

Post by mdgroot »

Yep, I did
Pappnase

Post by Pappnase »

hello

maybe some file are not updates so re upload the whole include folder!
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Look for the new settings...

$template_default["news"]["sort_by"] = 'update'; // 'cdate'; = Creation date, 'udate'; = Update date
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

Post by mdgroot »

That's it !

Thanks Pepe :D
Marko
Posts: 65
Joined: Tue 2. Dec 2003, 23:58
Location: Finland

Post by Marko »

Using DEV 1.2.3 and have similar problem. I did fresh install and only left my database as it was. Made upgrades to it though. The thing is, {NEW}-replacement tag is returning only the articles which have been made before the upgrade process, not the ones made after.

All the files are up to date (since it was a fresh install) and database is also upgrated corretly. Checked this three times... Any ideas?
Post Reply