Closed (fixed)
Project:
Publish Content
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2010 at 16:51 UTC
Updated:
23 Aug 2012 at 14:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
aaronbaumanyou'll need to use a hook_menu_alter() to override the publish/unpublish callback and make it a MENU_CALLBACK instead of a MENU_LOCAL_TASK. However, since the tab is the primary purpose of this module, this cannot be supported as a feature request.
Comment #2
markusbroman commentedThanks for your reply! I found another way to do this but thanks anyway!
// Markus
Comment #3
aaronbaumanComment #5
rv0 commented"However, since the tab is the primary purpose of this module, this cannot be supported as a feature request."
From my viewpoint, the primary purpose is enabling granular publishing/unpublishing permissions.
The tabs are a "nice to have" extra. Ideally it should be possible to disable them with a simple admin setting.
It makes no sense to force people to use an unneeded feature of the module if they don't use it. From a user standpoint they shouldn't be required to write custom code or use contrib modules to remove the tabs, if all it could take is a simple setting within this module.
If, however, the functionality of the tabs are the primary purpose, then the granular permissions part needs to be split into another module.
And this module should change it's name to "Publish Content Tab" or something more descriptive.
just my 2 cents..
Comment #6
aaronbaumanpoint taken, rv0.
If someone wants to write a patch, i'll be happy to include it.
Comment #7
rv0 commentedhere you go:
(patch created at Coworks)
Comment #8
rv0 commentedPlease review :)
Comment #9
djween commentedIs this module drastically different or better than:
http://drupal.org/project/override_node_options
?
Or is the real difference displaying publish option via checkbox in the content create form vs in a separate tab?
I am trying to make a decision on which module to use but they appear the same. Can anyone clarify?
Thanks!
Comment #10
aaronbaumanok, configurable tabs are in:
http://drupalcode.org/project/publishcontent.git/commit/53456f8d
thanks for the patch, sorry for the delay
fyi: i'm thinking about a 1.1 release probably sometime in autumn for the handful of new features + fixes in the past year.