smaller reset larger        English         

Main Menu

All times are in GMT -8 (DST) :: The time is now 6:33 pm.

Sub Menu

Article Data
Article Ref
8767-IOKB-1872
Written By
Josh Olson
Date Created
Tue, 17th Apr 2007
Updated By
Josh Olson
Date Modified
Tue, 17th Apr 2007
 
(Lost?)

   Modifying the users Settings page to limit the available skins

Question 

Can I modify the user settings page in order to limit the skins that are available to that user?

Answer 

Following is the patch syntax for modifying the settings.wssp page. This
page uses an "ENUMMENU" rather than a pure STRINGMENU WSSP function, so
the syntax is a little different, and dependent on static numeric values
assigned to each skin in the product:

--- settings.wssp-orig  2007-04-03 08:47:30.000000000 -0700
+++ settings.wssp       2007-04-03 09:25:28.000000000 -0700
@@ -38,5 +38,14 @@
        <tr>
           <td width="35%" nowrap
align="%%STRING("AlignEndCode")%%">%%HTML:STRING("LayoutTag")%%</td>
-           <td ><select class="FieldText"NAME=SkinName><!--%%ENUMMENU
settings.skinName DEFAULT defaultSettings.skinName IN skinNames DISPLAY
DICTIONARY("SkinNames")--></SELECT></td>
+           <td >
+                               <select class="FieldText" name="SkinName">
+                                 <!--%%IF SETTINGS("SkinName")-->
+                                 <option value="-1"  <!--%%IF
EQUALS(SETTINGS("SkinName") AND "default")-->   selected <!--%%ENDIF-->
Aquinox (default)</option>
+                                 <option value="6"  <!--%%IF
EQUALS(SETTINGS("SkinName") AND "Simplex")-->   selected <!--%%ENDIF-->
Simplex</option>
+                                 <!--%%ELSE-->
+                                 <option value="-1">Aquinox
(default)</option>
+                                 <option value="6">Simplex</option>
+                                 <!--%%ENDIF-->
+                  </SELECT></td>
        </tr>
         <tr>

How Useful Was This Article?      (Rating: 0    Votes: 1)  

Select a Rating

Article Comments 

There are currently no comments.