{NEWCATID} display date of creation

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
dernier_recours
Posts: 66
Joined: Mon 2. May 2005, 17:33
Location: Canada
Contact:

{NEWCATID} display date of creation

Post 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!
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post 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
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Post Reply