DeskNow Knowledge Base
Home Customization and Integration Custom Links in the menu

Custom Links in the menu

Currently the customization of the left menu is only possible by modifying the JSP file that builds the menu. We plan to add a link manager (actually, we plan to add a full wiki....)

To add items to the tree, edit the file /desknow/jsp/original/MenuBody.jsp with a text editor and add lines like this towards the bottom, just before the ];
,['Link 1','',tf,admin_group]
,['Link 2','',tf,admin_group]

admin_group defines the icon to use, and is defined in /desknow/3.1.11themes/templates/TreeFormat.jsp 

(obviously replace 3.1.11 with your current version number!)

use '_blank' (with the quotes) instead of tf to open in a new window:
,['Link 2','','_blank',admin_group]

If you want to include the username in the URL:

,['Link 1','<%= account_username %>&domainname=<%= account_domainname %>',tf,admin_group]

If you want to make the link available only to a specific domain:

<dn:ifequal value1="<%= account_domainname %>" value2="">
            ,['Link 1','',tf,admin_group]

If you want to make the link available only to a specific user:

<dn:ifequal value1="<%= account_domainname %>" value2="">
        <dn:ifequal value1="<%= account_username %>" value2="joe">
            ,['Link 1','',tf,admin_group]

Important: make a backup copy of the MenuBody.jsp file before modifying it. When you upgrade DeskNow, you must upgrade the file as well.

Email Article Email
Print Article Print

How helpful was this article to you?
Related Articles
article How do I replace the name and the links to DeskNow with the name of my company?
You can relabel the interface to the name of...

  August 12, 2004    Views: 66661   
article The number of unread messages displayed in the menu is incorrect. How can I fix this?
If the number of unread emails (in brackets)...

  January 24, 2005    Views: 61986   
article Custom authentication
This article describes how to use a custom...

  May 2, 2004    Views: 64040   

Powered by Lore :: (c)2003 Pineapple Technologies.