I've had a good search within the commuity for guides or solutions which people have found through the forum but wasn't lucky enough to find anything that helped.
So what i was wondering if anyone could point me in the direction or provide some guideance for how to add a custom button/action next to the buttons in the content view for a node. E.g a new custom approval button next to the save and submit for approval buttons.
Thank you Jeroen for the reply. It's a nice package which i'll bare in mind for the future but what i was looking for was the ability to add a button to the top bar.
See below example below.
I'd like to be able to add a custom menu to this bar and possibly next to the 'save' / 'publish' options which i don't think that package covers. Unless i've read the description in-correctly?
If you have an umbraco.tv subscription, there is a tutorial on "Modifying the backend UI with page events" which gives a basic example of adding buttons to the toolbar. Basically you need to attach to the umbracoPage.Load event and insert the buttons. Below is some basic code I have used to do this in the past:
// Temp fix for some alignment issues string strCss = "<style type='text/css'>.mceToolbarExternal{left:108px;}</style>"; page.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "cssfixtoolbar", strCss);
if (page.Page.Request.Path.ToLower().Replace((GlobalSettings.Path + "/").ToLower(), "").Contains("editcontent.aspx")) { Control control = ((ContentPlaceHolder) page.FindControl("body")).FindControl("TabView1"); if (control != null) { int nodeId = int.Parse(HttpContext.Current.Request.QueryString["id"]);
Custom buttons in content view
I've had a good search within the commuity for guides or solutions which people have found through the forum but wasn't lucky enough to find anything that helped.
So what i was wondering if anyone could point me in the direction or provide some guideance for how to add a custom button/action next to the buttons in the content view for a node. E.g a new custom approval button next to the save and submit for approval buttons.
Thanks in advance for any help provided.
Adam
Perhaps this is what you're looking for? http://our.umbraco.org/projects/backoffice-extensions/attackmonkey-custom-menus
Jeroen
Thank you Jeroen for the reply. It's a nice package which i'll bare in mind for the future but what i was looking for was the ability to add a button to the top bar.
See below example below.
I'd like to be able to add a custom menu to this bar and possibly next to the 'save' / 'publish' options which i don't think that package covers. Unless i've read the description in-correctly?
Cheers.
Adam
Hello,
You're right that package is for the menu in the tree. Perhaps this wiki page can be more of help, but it's only for the editor: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/how-to-add-extra-html-functionality-to-tinymce
Jeroen
Hi Adam,
If you have an umbraco.tv subscription, there is a tutorial on "Modifying the backend UI with page events" which gives a basic example of adding buttons to the toolbar. Basically you need to attach to the umbracoPage.Load event and insert the buttons. Below is some basic code I have used to do this in the past:
Hope this helps,
Tom
Thanks Tom for your help.
Adam
is working on a reply...