If you're running an Umbraco version prior to Umbraco 7.8, you can see this under the Properties tab.
For instance, if you have an unpublished page it should look somewhat like this:
Whereas a published page should have one or more URLs:
In Umbraco 7.8, the Properties tab has been replaced with a brand new Info tab, which looks different. But there should be a similar way to check whether the page is actually published.
Apologies - I was wondering if there is a Property in the IPublishedContent code that I can query an expiry date. I know there is is in IContent but Im using IPublishedContent and have pagination to navigation multiple results.
Unpublished pages still show in isVisible
Hi, I have set Unpublish dates in the CMS yet pages still show even when I use isVisible. If I manually Unpublish a page it disappears.
Any ideas?
Jon
Hi Jonathan
How are you rendering the pages? Maybe some cache?
/Alex
Hi Jonathan,
There could be a number of issues causing this, and the solution therefore depends a bit on the exact error.
When you watch the page in the backoffice, does it say that it has been unpublished? Or does Umbraco say that it is still published?
If the latter, it is most likely because the internal scheduled (un)publishing in Umbraco for some reason doesn't work.
Hi, How do you find out if the page is Unpublished? Is there a property I can use to tell me this? Or is there a Unpublish Date property I can use?
If you're running an Umbraco version prior to Umbraco 7.8, you can see this under the Properties tab.
For instance, if you have an unpublished page it should look somewhat like this:
Whereas a published page should have one or more URLs:
In Umbraco 7.8, the Properties tab has been replaced with a brand new Info tab, which looks different. But there should be a similar way to check whether the page is actually published.
Hi,
Apologies - I was wondering if there is a Property in the IPublishedContent code that I can query an expiry date. I know there is is in IContent but Im using IPublishedContent and have pagination to navigation multiple results.
Thanks Jon
Nope. This is unfortunately not available in
IPublishedContent
.is working on a reply...