Jump to:

23581 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » SOLVED: Possible causes for Unpublish buttons to disappear

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 333 Views
  • KINKCreative
    Avatar
    Community Member
    56 Posts

    SOLVED: Possible causes for Unpublish buttons to disappear Link to this post

    EDIT: This was a lucky find. I'd made an IsNew() method for that page type to determine if the ArticlePages are recent. Turns out an isNew() method is used in SiteTree's isPublished() method and my custom one was overriding it. Yay!!!

    --

    I am having a section of articles managed by other people. Until recently, everything was working alright. I've worked for a few days and today I noticed that the articles do not have an Unpublish button anymore, only "Delete from Draft site". If the button is pressed, the articles remain live. The only thing left to do in this case is to go to the SiteTree and use a Batch option of Delete from Live site. I ran a few SiteTree cleanup scripts (remove orphans), but I am guessing if there was damage done to the SiteTree tables other page types wouldn't have Unpublish as well.

    I will be having unskilled people working with this so this is quite crucial.

    Are there any common causes for the Unpublish button to disappear? I have all my permissions set. I'm really really stuck with this, please help!

    PS I also noticed Unpublish doesn't actually unpublish ANY page...

    333 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.