Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, May 19, 2024 
 
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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: New Menu Items
Snow Monkey
Posts: 214
 
New Menu ItemsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
Duncan Cook
Posts: 164
 
Re: New Menu ItemsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: New Menu ItemsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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...
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: New Menu ItemsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: New Menu ItemsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jul 06 12:10 PM
fiogf49gjkf0d
Ah!!!!!!!1 Why did i not look at that js file ???

Anyways thanks a tonne JB!!!
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/19/2024 6:29:06 PM