Expand my Community achievements bar.

I need to remove [publish page] and [unpublish page] options in page list

Avatar

Level 4

I want to remove these two options from here.

aemcommunity.png

help me to remove this how to remove them.

 

is it easy to remove them or assign a custom workflow trigger to them.

 

Thank you,

Alisyed.

6 Replies

Avatar

Community Advisor

Hi @AliSyed1 
If you remove replicate permission of user then this will be changed to request to publish option, that means user won't be able to publish without permission.

 

You can allow those users to publish directly from site console using custom workflow from manage publish



Arun Patidar

Avatar

Level 4

@arunpatidar  Sorry for the confusion , I don't want to change permissions of users I just need to remove those fields from the list.

Avatar

Community Advisor

Hi @AliSyed1 
Unfortunately this is nota. config but hard coded , you may need to write a clientside javascript script to delete this globally or for a site or for a user, you need to write your own logic.



Arun Patidar

Avatar

Level 4

i am not add display:none to it. could you  help me in hiding it attaching another worrkflow to it.

Avatar

Community Advisor

Hi @AliSyed1 ,

You may overlay this node and remove the required buttons

/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items

Thanks

Avatar

Administrator

@AliSyed1 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni