Vine Type Content Management with Standards in Mind

30 Nov 2005

$_article_edited

variables
  • $_article_edited

The following variables added in Vine Type 1.5

  • $_article_edited_yearnum
  • $_article_edited_yearnum_short
  • $_article_edited_monthnum
  • $_article_edited_monthnum_short
  • $_article_edited_monthname
  • $_article_edited_monthname_short
  • $_article_edited_wkday
  • $_article_edited_wkday_short
  • $_article_edited_daynum
  • $_article_edited_daynum_short
  • $_article_edited_time
  • $_article_edited_time_24
applicable sections
description

Place the $_article_edited variable at the location in the article element where you want the timestamp of when the article was changed to appear.

The formatting of $_article_edited is controlled by the $time_format entry in your vinetype.config file.

notes

The other twelve variables are just subsets of the $_article_edited time. They allow you to place different parts of the date separately, allowing for more creative ways to display the date.

also see
examples

The following are variables and values generated for an example date and time 3:09pm Saturday April 8, 2006

    2006 $_article_edited_yearnum
      06 $_article_edited_yearnum_short
      04 $_article_edited_monthnum
       4 $_article_edited_monthnum_short
   April $_article_edited_monthname
     Apr $_article_edited_monthname_short
Saturday $_article_edited_wkday
     Sat $_article_edited_wkday_short
      08 $_article_edited_daynum
       8 $_article_edited_daynum_short
 3:09 pm $_article_edited_time
   15:09 $_article_edited_time_24
  • Weekday names are shown in English since this example is for $culture of en-us. Changing the culture value will change the weekday names and their abbreviations to that culture's language.

download

Visit the Download Area to test drive the standard in standards compliance.

upgrade

Add professional features to your Vine Type site by purchasing a Vine Type Pro license.

feedback

Discuss Vine Type or pose questions at the official Vine Type Forum hosted by ASP Advice.

about us

Learn more about this site and the features it is demonstrating.

© 2001-2017 vine branches — website powered by vine type