AnsweredAssumed Answered

Removing 'Publish Internal and External' blog button

Question asked by driekhof on Jan 11, 2011
Latest reply on Jan 11, 2011 by driekhof

We'd like to remove the Publish Internally and Externally button from our site blogs.

I've tried removing the code for the button in an overridden version of share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/blog/postedit.get.html.ftl.  This doesn't work–for some reason it breaks the Publish Internal button, and you can't publish anymore with a bunch of missing identifier errors.  Also tried just hiding it, but the button always seems to show up whatever I do.

I grep'd for some keywords relating to this button and found some javascript code in share/components/blog/postedit-min.js and blog-common-min.js.  Tinkered around with it a bit, but could never remove the button without breaking the other Publish Internal button.

How do I do it?