Hi,
I would like to add a Publish Page button next to the Edit Button on top right side of the header in Edit mode of a page.
Can this be achieved by overriding?
Solved! Go to Solution.
Views
Replies
Total Likes
@SHIBANI06 : You can achieve this by overlay.
Go to this path :
/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover
under this items/list/items you can see publish node. You can copy the publish node to parallell to parent node pageinfopopover.
then go to the publish node and right click and select overlay node. once its overlayed under the /apps/ just go to publish node and add property align , variant and granite:class as below.
then it shows the publish page option and which is publishing properly when click on that .
Thanks,
Siva
Yes, this can be achieved with overlay
Views
Replies
Total Likes
Can we do it for Rollout as well ? Could you pls let me know the steps if possible as the overlaid rollout is not showing up in my editor page.
Views
Replies
Total Likes
You can achieve this by overlaying /libs/wcm/core/content/sites/actions/publish.
Views
Replies
Total Likes
@SHIBANI06 : You can achieve this by overlay.
Go to this path :
/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover
under this items/list/items you can see publish node. You can copy the publish node to parallell to parent node pageinfopopover.
then go to the publish node and right click and select overlay node. once its overlayed under the /apps/ just go to publish node and add property align , variant and granite:class as below.
then it shows the publish page option and which is publishing properly when click on that .
Thanks,
Siva
Thanks for the detailed explanation. This should work for custom project pages as well right? Im not sure why it isn't working for me.
Is this correct? Also before overlaying, we have to copy the publish node and paste under this path ?
/libs/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover
Views
Replies
Total Likes
It worked !!! Thank you !
Views
Replies
Total Likes
@SHIBANI06 Dont overlay the pageinfopopover , overlay only publish node
Views
Replies
Total Likes
Okay, overlaid only the publish node.
Views
Replies
Total Likes
@SivakumarKanoori Could you please tell me if rollout feature can also be done in the same way ? I think some extra steps would be needed to achieve the same for rollout.
Views
Replies
Total Likes
Views
Likes
Replies