Jump to:

5539 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Remove Unpublish but keep Publish

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

Page: 1
Go to End
Author Topic: 819 Views
  • DeklinKelly
    Community Member
    197 Posts

    Remove Unpublish but keep Publish Link to this post

    I understand that you can control the ability to publish a page like this:

    function canPublish(){return false;}

    I want users to be able to publish pages however I do NOT want them to be able to UNPUBLISH pages.

    How can I remove the "Unpublish" button but keep the "Save and Publish" button?

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.