11/22/2024 8:51:28 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
|
New Menu Items
Posted: 12 Jul 06 3:31 PM
|
fiogf49gjkf0d I need to be able to create another Menu item(read only) for Web Viewer users.I tried to edit the XML and HTML table in topnav.but no help..
Any suggestions? |
|
|
|
Re: New Menu Items
Posted: 12 Jul 06 3:52 PM
|
fiogf49gjkf0d Do you want to add an item to an exsiting menu, ie New/Schedule/Write, if so which One Or are you looking to add a complete new menu? |
|
|
|
Re: New Menu Items
Posted: 13 Jul 06 9:06 AM
|
fiogf49gjkf0d A completely separate item on the menu like New , Schedule , SpeedSearch etc..
I tried to duplicate the XML and the table declarations in the topnav but of no help... |
|
|
|
Re: New Menu Items
Posted: 13 Jul 06 11:41 AM
|
fiogf49gjkf0d Nandu,
You're halfway there. Lets say that your new menu in topnav looks like this:
and you have the html on topnav that looks like this: <td id="MyNewMenu" class="menuTop" xmlTag="document.all.MyNewMenuXML" Image="menu/add contact.gif"></td>
Make a copy of the "salestopnav.js" as a backup. Find the function initMenus() in salestopnav. At the end of the function, add this line:
a.MyNewMenu.init();
That should do it.
To go a little further, though, you may have to work a little to get the spacing just right - depending on where you place the menu, sometimes you need to add a <td style="width:8px" id="myspacer"> </td> and dynamically hide/show that spacer. Usually it's only necessary if you're adding a menu that's visible for some users and not for others and the new menu is sandwiched between two menus that are always visible.
Post again if you run into issues...
Jeff
|
|
|
|
Re: New Menu Items
Posted: 13 Jul 06 12:10 PM
|
fiogf49gjkf0d Ah!!!!!!!1 Why did i not look at that js file ???
Anyways thanks a tonne JB!!! |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|