sorry if this has been reviewed. I found how to add a new group of small button ribbon panels, but I cannot find (or figure out) how to add a small button to an existing group of small buttons. I am trying to add a new button to the PublishItemsGroup (in the Publish / Unpublish section to the right of the "Publish Queue" button). If I do this, he will create a whole new group:
<ext:ribbontoolbars> <ext:add> <ext:extension pageid="HomePage" groupid="PublishItemsGroup" name="Expire" assignid="ext_expireWorkflow_Btn"> <ext:command>StartWorkflowExpiration</ext:command> <ext:title>Expire</ext:title> <ext:issmallbutton>true</ext:issmallbutton> <ext:dependencies> <cfg:dependency>mycompany.Resources.Workflow.StartWorkflowExpiration</cfg:dependency> </ext:dependencies> <ext:apply> <ext:view name="DashboardView"> <ext:control id="DashboardToolbar"/> </ext:view> </ext:apply> </ext:extension> </ext:add> </ext:ribbontoolbars>
but if I just use "PublishGroup", then it places a small button to the right of the publication / Unpublish (not under)
<ext:ribbontoolbars> <ext:add> <ext:extension pageid="HomePage" groupid="PublishGroup" name="Expire" assignid="ext_expireWorkflow_Btn"> <ext:command>StartWorkflowExpiration</ext:command> <ext:title>Expire</ext:title> <ext:issmallbutton>true</ext:issmallbutton> <ext:dependencies> <cfg:dependency>mycompany.Resources.Workflow.StartWorkflowExpiration</cfg:dependency> </ext:dependencies> <ext:apply> <ext:view name="DashboardView"> <ext:control id="DashboardToolbar"/> </ext:view> </ext:apply> </ext:extension> </ext:add> </ext:ribbontoolbars>
Can I add a small button to this group? or do I need to override and create a whole new group and then hide the existing PublishItemsGroup? thanks ~ Warner
source share