Published 2002-09-13 21:52:00

I'm busy working through the issues of building a Webdav enabled CMS at present, one of the more annoying issues was that Mozilla is a great webdav client for publishing, however they removed the context menu that allows you to open in editor. below is the fix to get it back..
Instructions...
#cd /usr/lib/mozilla/chrome 
#mkdir comm
#cd comm
#unzip ../comm.jar
#nedit (or vi or whaterver) content/communicator/contentAreaContextOverlay.xul
Add this in..
        <menuitem id="context-editlink"
        label="Open  Link in Editor"

      oncommand="urlSecurityCheck( gContextMenu.linkURL(), window.document );
editPage( gContextMenu.linkURL(), window, false );"/>
 
after the 
        <menuitem id="context-openlinkintab"
                label="&openLinkCmdInTab.label;"
                accesskey="&openLinkCmdInTab.accesskey;"
                oncommand="gContextMenu.openLinkInTab();"/>

Save your changes.
then
#zip -r ../comm.jar *
Mentioned By:
google.com : april (64 referals)
google.com : december (44 referals)
google.com : gContextMenu (19 referals)
google.com : urlSecurityCheck (14 referals)
google.com : javascript gContextMenu (13 referals)
google.com : gContextMenu.linkURL (8 referals)
google.com : gContextMenu javascript (7 referals)
google.com : gContextMenu.link (7 referals)
google.com : gcontextmenu linkurl (6 referals)
google.com : gcontextmenu.document (5 referals)
google.com : gContextMenu.linkURL() (5 referals)
google.com : gcontextmenu link (4 referals)
google.com : xul gContextMenu (4 referals)
google.com : gContextMenu document (3 referals)
google.com : gContextMenu. (3 referals)
google.com : "gContextMenu.linkurl" (2 referals)
search.yahoo.com : gContextMenu - Yahoo! Search Results (1 referals)
google.com : gContextMenu (1 referals)
google.com : "open link in editor" (1 referals)
google.com : "urlsecuritycheck" (1 referals)

Add Your Comment

Follow us on