More in this section

Forums / Developing with Sitefinity / Auto year control for copyright footers

Auto year control for copyright footers

2 posts, 1 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    05 Feb 2005
    24 Jul 2011
    Link to this post
    I would like to utilize an auto year control in my Content Blocks so that I do not have to update my copyright footers in my websites when the years change.

    For example, there could be a year placeholder control in my content block which would simply perform a DateTime.Now.Year operation to get the most current year.  This is especially useful in copyright footers so that content managers do not have to update the copyright footers on websites especially when transitioning from Dec. 31st of one year to Jan 1st of the next year.

    Is there any built-in Sitefinity control to accomplish this?

  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    24 Sep 2012
    26 Jul 2011
    Link to this post
    Hi Samir Vaidya,

    There is no such built-in widget in Sitefinity, but you can easily create it. Information on how to do this, you can find here:

    Svetoslav Petsov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 1 answered