Page 1 of 1

{NEWCATID} display date of creation

Posted: Thu 20. Oct 2005, 20:37
by dernier_recours
hi,

NEWCATID includes the following code to display the article link.

Code: Select all

if(trim($template_default["date_format"])) {
            $article_title = international_date_format(
                           $template_default["date_language"],
                           $template_default["date_format"],
                           $row[3]).' - '.$article_title;
         }
         $new_links .= $template_default["link_before"].$template_default["link_symbol"];
         $new_links .= '<div class="newcatid"><a href="index.php?id='.$row[2].','.$row[0].',0,0,1,0"';
         $new_links .= $target.">".html_specialchars($article_title)."</a></div>";
The date that appears is the date of the last modification. How can I set the date to the date of creation?

Thanks!

Posted: Thu 20. Oct 2005, 20:52
by cyrano
hi,

may be this will help you:
http://www.phpwcms.de/forum/viewtopic.p ... hlight=wak

I searched but couldn't find the original thread .

but search too for {WAK_ARTICLE_CREATED}, author is kubens