This code can be added to a re-writer to select no manager by default How to make "Reports to" default to nothing or a selected user instead of the current user: if(url.indexOf("UserDetails.po")>-1 && url.indexOf("user=")<0){ doc.getElementById("users_MANAGER").selectedIndex=0; }if(url.indexOf("UserDetails.po")>-1 && url.indexOf("user=")<0){ doc.getElementById("users_MANAGER").selectedIndex=0; }

There are prehtml posthtml prejs postjs JavaScript events on select pages. The prejs and postjs events are for the running of the JS not for the loading of scripts by the browser. There can me multiple postjs events as it's triggered after any ajax that adds to the page. Nothing other than custom scripts listen ...continue reading

You need custom scripts enabled. function myico(){ var link = top.document.createElement("link"); link.type = "image/x-icon"; link.rel = "shortcut icon"; link.href = "/ShowItemData.po?handle=975527&amp;download=favicon.ico"; top.document.getElementsByTagName("head")[0].appendChild(link); } myico();function myico(){ var link = top.document.createElement("link"); link.type = "image/x-icon"; link.rel = "shortcut icon"; link.href = "/ShowItemData.po?handle=975527&amp;download=favicon.ico"; top.document.getElementsByTagName("head")[0].appendChild(link); } myico();

Other ways to insert JavaScript here Press the "Edit" button Press the "More" button Press the "Source" button make a script tag put your Javascript in it If you want to use the page re-writer or otherwise effect other pages you will have to escape the scope of the page: <script> function temp(){ if(!top.noodle.page_re_writer){ top.noodle.page_re_writer=function(){ ...continue reading

You need custom scripts enabled. top.document.title = "Intranet"; function titleChange() { if(!top.noodle || !top.noodle.core || !top.noodle.core.title){ setTimeout("titleChange();", 1000); return; } top.noodle.core.title="Intranet"; top.document.title = top.noodle.core.title; } setTimeout("titleChange();", 1000);top.document.title = "Intranet"; function titleChange() { if(!top.noodle || !top.noodle.core || !top.noodle.core.title){ setTimeout("titleChange();", 1000); return; } top.noodle.core.title="Intranet"; top.document.title = top.noodle.core.title; } setTimeout("titleChange();", 1000); This is an example only; if you ...continue reading

Custom scripts allow you to change the appearance and some actions of Noodle. You can inject custom javascript into Noodle on the login page, the main bar, and from any rich text input such as an announcement portlet. You need access to the server for the main bar and login page but any user can use JavaScript injection from an announcement portlet ...continue reading

Adding the following to your script injection will enable you to make page specific customizations: function addEventListener(element, event, listener){ if (element.addEventListener){ element.addEventListener(event, listener, false); } else if (element.attachEvent){ element.attachEvent('on'+event, listener); } }   function page_re_writer(){ var doc=top.noodle.mainDoc().document; var url=doc.location.href; //your customizations go here }   addEventListener(top.document.getElementById("main"), "load", page_re_writer);function addEventListener(element, event, listener){ if (element.addEventListener){ element.addEventListener(event, listener, false); } else ...continue reading

Make sure you adhere to formatting restrictions. 1. Add or un-comment the following line in the intranet.conf file: ScriptFile = “C:\\NoodleScript.js” 2. Add custom JavaScript to NoodleScript.js 3. Restart Noodle. To test put this in the NoodleScript.js: alert("It works");alert("It works"); Save it and re-login to Noodle. Other ways to insert custom JavaScript here. You may want to ...continue reading