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
    Registered:
    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
    Registered:
    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:
    http://www.sitefinity.com/40/help/developers-guide/sitefinity-essentials-controls-adding-controls-to-the-toolbox.html

    Regards,
    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
    Answered
2 posts, 1 answered