Jump to:

5519 Posts in 1734 Topics by 1223 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: 816 Views
  • DeklinKelly
    Avatar
    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?

    816 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.