Skip to Content
Former Member
Feb 06, 2015 at 05:40 AM

CMSTimeRestriction not working on ContentPage



I have a problem with adding the CMSTimeRestriction to the page.

I am using version 5.3. We have a CustomContentPage extending the ContentPage type. There is a requirement of putting the Time based restriction to CustomContentPage i..e for a specific period, page should be visible and when time/date expires page should not be available on the site.

For this,

 I have added the the CustomContentPage to the CMSTimeRestriction under the AssignedPageTypes section
 Through CMSCockpit, i opened the page in the edit mode, and added one CMSTimeRestriction instance to the page.

But somehow, this restriction is not getting applied and page is visible on the site.