Using Sothink DHTML Menu 9 with Aspmaker 7.2

Tips submitted by ASPMaker users

Using Sothink DHTML Menu 9 with Aspmaker 7.2

Postby roctt » Fri Aug 28, 2009 10:55 am

1. open header.asp and add the following code between <head></head> tags.....this is obtained from sothink 9 ...when u select publish....
<script type="text/javascript" src="stmenu.js"></script>


2.open Sothink Dhtml Menu 9 and mirror the main menu items that Aspmaker generates for your project....
eg. client
products
userlevels
logout
login

3. select your menu item in sothink 9 (eg. client) and choose condition.....a tab opens up showing Prefix: and Suffix:...

in the Prefix box enter...
<% If AllowListMenu("client") Then %>

in the Suffix box enter...
<% End If %>


4.Repeat step 3. for all menu items and modify security access for your menu items accordingly.....
eg. userlevels

Prefix =
<% If ((Session(EW_SESSION_MENU_USER_LEVEL) And EW_MENU_ALLOW_ADMIN) = EW_MENU_ALLOW_ADMIN) Then %>

Suffix =
<% End If %>

5.Select Publish, View/Copy Code..........in sothink 9

6.Copy the <BODY> code from sothink ...anywhere in the ewmenu.asp....where you want the menu to appear............

7.Copy the resource files from sothink to your root directory......

And that's it.......you get beautiful Menus with the aspmaker security levels........
roctt
 

Return to User Submitted Tips (ASPMaker)