I followed the install on Drupal 8.5.6. Flushed caches. But there is no option to use this module when I edit the content type.
https://www.dropbox.com/s/5pn9s2nj2bdhvv2/contentpublish.png?dl=0

Steps to reproduce:

1. Set up vanilla drupal 8.6.1
2. Go to Structure -> Content Type -> Edit, Publishing Options
3. "Enable publish content" tickbox is missing

Comments

tjtj created an issue. See original summary.

anruether’s picture

Priority: Normal » Major
Issue summary: View changes
StatusFileSize
new97.81 KB

Goto Structure -> Content Types then edit each that should work with this module. Tick the "Enable publish content" tickbox under the publishing options and save.

Publish Contend cannot be enabled this way. I added steps to reproduce in the IS.

deepali v’s picture

There is an option available named 'Published' with checkbox under 'Publishing options'. This option is checked by default and it means that all the content of that content type will be published or visible to the user.

anruether’s picture

There is an option available named 'Published' with checkbox under 'Publishing options'. This option is checked by default and it means that all the content of that content type will be published or visible to the user.

That's vanilla drupal. The help text says that there is an additional

"Enable publish content" tickbox

to turn on the functionality of the module for that content type.

codechefmarc’s picture

I am having the same issue - I'm not seeing a "Enable publish content" checkbox under publishing options.

madanl’s picture

After enabling the module it will create new permission list for all the node/content (/admin/people/permissions) which you can enable for each roles that way it will use module functionality for that content type.

LaPi’s picture

Same issue here....I've set all permissions but there is nothing such "Enable publish content" tickbox...Drupal 8.6.3

Find where is the option..there isn't under publish option but near "Edit"...please change the instruction

mika_vilvanathan’s picture

Also missing the enable publish content tick box. Has anyone found an suitable alternative to this module? TIA.

ralkeon’s picture

Hi all, I am facing the same issue.

but I notice that I've tabs (using seven as theme) on the top of the edit page.

https://imgur.com/RnS8PPA

Hope it helps!

aiphes’s picture

Same issue with missing checkbox on content type edition : admin/structure/types/manage/TYPE
nothing in the tab for Publish options.(D8.7.8)

Just present Permissions that allow user to unpublish is content after created it.

rico3030’s picture

Same Issue here :
I Installed Publish Content 8.x-1.1 on drupal 8.8.1, seven theme enabled on backoffice
Then :
1/ Unchecked "Published" checkbox by default on content type setup page
2/ No checkbox is displayed on each content type setup page to enable Publish Content option
3/ When I enable rights / permissions to publish / unpublish on a content type for a specific role, no thickbox is displayed at the end of edit/create content form
4/ When I enabled "administer content" rights / permissions for a specific role, the publish thickbox is displayed at the end of edit content form... as usual

The Publish Content module seems useless for the moment.
Is there a solution?

plousia’s picture

Same issue, 8.8.2.

cgmonroe’s picture

Edit note: There is also the override_node_options module that can allow per content publishing and set other options. The 8.0 version seems to be maintained better.

Hmm, looking thru the 8.1.1 code, I see no code in the D8 module to add this to the content type edit form.

However, I did see that there was a PublishContentPermissions class used in the permissions.yml file. This seems to add a set of permissions for each content type.

I cleared the cache and went to the permissions list and saw permissions for each type available.

Looks like the D8 version has no content type selection option. It just creates ALL the permissions.

sun-fire’s picture

Hi!

I had the issue when "Publish / Unpublish" local task were disappeared from site. After checking the source code, I found that current settings and setup process are little different to the already described at the module page.

So, we have special route: /admin/config/workflow/publishcontent - at this config page we can see two possible options for selection:

  • Publish and unpublish via local task
  • Publish and unpublish via checkbox

If we will select option for publishing/unpublishing using local task, and check the necessary permissions - the local task (tab) with "Publish / Unpublish" option will be displayed for user.

So, only documentation needs to be changed in accordance with the current flow of the module's setup

bendev’s picture

thanks for the tip @sun-fire

I also had to visit the page
/admin/config/workflow/publishcontent

Agree that the description page of the module should be adapted (or adding a readme file ? )

seppe beelprez’s picture

#14 also did it for me. I agree with #15 that it should added to the description page of the module!

momolarson’s picture

Yes, on #14, great job!

glbr’s picture

publishcontent 8x-1.3 seems to break things.

I have had Publish Content working as described in #14 since summer 2020, most recently with core 8.9.15. Upgraded to publishcontent 8.x-1.3 and (un)publish tabs and / or (un)publish check boxes no longer appear. Downgraded to 8.x-1.2 and things are working again.

The config options described in #14 were still available but they seemed to have no affect. New config options were also available (about logging and revisions with the publish operations).

I did run drush updatedb after updating module.

tgoeg’s picture

Title: No Publish Content option displayed » No Publish Content option displayed (documentation update needed)
tgoeg’s picture

This issue is about the missing/wrong documentation (I added this to the topic)

Let's keep this separate.

I can reproduce it not working on 8.x-1.3.
I opened https://www.drupal.org/project/publishcontent/issues/3218091

dercheffe’s picture

I can reproduce the problem mentioned in #18 too and agree with #18 and #20

The issue mentioned in #20 is a related issue IMO and so I would at it as a "related issue" reference.

jimconte’s picture

I agree with this thread. Documentation updates are sorely needed.
Some additional observations:

  • Is the content type checkbox missing an accidental omission, or was it always intended to be not needed at all? It appears to work without it.
  • Why provide BOTH a task button and a checkbox? Should this option instead be a radio? Having both enabled is redundant, and it is currently possible to enable both.
  • The term usage on the checkbox is not grammatically appropriate. Checkbox is a boolean and it should read "Published" (checked or unchecked) not "Publish". Maybe the Checkbox option text should have it's own configuration, or allow the same text options for the task to impact the checkbox grammar?
  • The module configuration appears beneath Configuration > Workflow. There is no mention of this on the module page on Drupal.org.
calbasi’s picture

3 years after #14 and the module description has not been corrected?? Why?

rodrigoaguilera’s picture

As one of the maintainers I propose the following way forward that doesn't implicate me dedicating time to inspect how the module behaves.

Since the module description can now be fetched from the readme.md file from the repo I can accept patches/MRs to add a readme file and then when people here agree is a good module description I can take care of merging and updating the module description with a click.

What do you think?

vinaysamant’s picture

dear rodrigoaguilera,

1st of all thanks a lot for great module. i wish this should be in Drupal Core.

Look at my following comment https://www.drupal.org/project/publishcontent/issues/3368259#comment-158... on this module. I dont know how much you understand English as your preferred lang is Spanish. But if you allow me, i can write a good documentation about this module and it's correct usage. Let me know.

I am going to build a crowdsource website dedicated for "Responsible Parenting". I m going to use your module heavily. Thanks.