Is is possible to edit/add buttons to .ccm-system-nav-wrapper1

Permalink
I have a custom who wants to replace Sitemap, and File Manager with Publish, Preview, and Discard. Also they want to remove the help option.

Is that possible? What would be the best way to go about. I am experienced PHP/JavaScript developer - but limited experience with C5.

Screenshot is attached.

1 Attachment

 
Mnkras replied on at Permalink Reply
Mnkras
Publish, Preview, and Discard. is easy, (requires 5.4.2)

removing the help button requires modifying some code
wtvamp replied on at Permalink Reply
Mind pointing me in the right direction?
Mnkras replied on at Permalink Reply
Mnkras
For the adding of buttons, take a look at the concrete/interface/menu helper,

for removing the help button, take a look in the elements folder.
wtvamp replied on at Permalink Reply
Ok - so generating the buttons is easy enough.

How to link to the preview, publish, and discard actions?
Mnkras replied on at Permalink Reply
Mnkras
take a look at the code in /concrete/tools/page_controls_header_js (called something like that)
wtvamp replied on at Permalink Reply
I'm seeing the code to the draw the buttons, and determine if the page is checked out, but I still don't see how to create Publish, Preview, and Discard actions.