November Happy Hour will be moved to Thursday December 5th.

Stop Publish not working

Vote:
 

hi

we are trying to unpublish a page with the "manage expiration and archiving" and after pressing now

the page is not unpublished.

we get no error or any alert to why is that.

please advise

thanks

E.

#200334
Jan 09, 2019 9:30
Vote:
 

Is this just on the front end. If you unpublish now you should see in the editor view a yellow bar the main ribbon at the top saying it's expired. Is this now showing as well or just on the front end of the site? If so it's likely the code for rendering the page our isn't checking if it's published. If the code is loading pages directly you can use http://www.jondjones.com/learn-episerver-cms/episerver-developers-guide/episerver-api-explained/how-to-check-if-an-episerver-page-is-published-or-not or if you're loading a collection of pages you should be using FilterForVisitor.Filter

#200360
Jan 09, 2019 15:30
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.