Online documentation - WebsydianExpress v3.5 |
With WebsydianExpress v2.0 each site has its own administration interface accessed by adding "/admin" to the end of the url of the site e.g. http://[host_name]/express20/site/demosite/admin.
In order to prevent the administration interface of a site to become corrupted the structure for the administration interface is not visible in the site structure. However, this also removes the option to customize the administration part of the site.
This document describes how to get a customizable administration interface for your site and how to add further menu groups and menu items as well as how to change the behavior of supplied administrative business processes.
In order to preserve the supplied administration part of each site it is recommended to perform the following steps in order to prepare the extension of the Administration Interface.
- Locate the physical folder where the HTML templates are stored (Select Templates->Folders, and then press Insert. Then the template root will be displayed).
- Create a sub folder to the template root that will be holding the templates of your administrative business processes; e.g. MyAdmin
- In the Express Administration Interface add a new folder (Templates -> Folders) which refers to the physical folder just created.
Use the following parameter settings.
Parameter Value Description My administration templates Template path relative to root MyAdmin URL reference for resources /express20/res/admin20 URL reference for java script resource /express20/res/admins20/admin.js URL reference for style sheet (CSS) /express20/res/admin20/admin.css
In the Express Administration Interface create a new folder list (Templates -> Folder Lists) e.g. MyAdmin.
As you add folders to the newly created folder list make sure that the folder created in step 1 is located before the admin20 folder. E.g.
Path MyAdmin admin20 basicsite
In the Express Administration Interface create a new user profile (User Management -> Users) making sure that you expand the section "Advanced Information" and selects the folder list created in step 2.
When the user has been created make sure that you add administrative roles to the user. E.g Administrator and User.
- In the Express Administration Interface open the site structure (Site structure -> Site Structure) and select the menu on which you would like to attach the "Admin" menu item.
- Press the "Add" button and select the options "Refer existing site element" and "Frameset" site element type. Press "Next"
- In the grid locate the Frameset element named "Admin" which uses the presentation "WSA - Administration frameset". Press "Select"
- Enter a value for "Alignment", "Sequence" and make sure that you select _Blank as "Display in frame". Press "Finish"
Parameter | Value |
---|---|
Menu item text | Enter the text to become the title of the new section |
Alignment | Left |
Sequence | Select the sequence where the menu group will be placed |
Display in frame | HIDDEN |
Comments | Optional comment |
The customized version of the administration interface will now be available to the new administrator user profile as created in step 3 above. Look for the menu item "Admin" in your menu.
Note that the customized version of the administration interface is NOT available in the supplied administration part of the sites e.g. http://[domain]/express20/site/basicsite/admin
This section describes how to change the behavior or layout of one or more of the supplied administrative business processes.
As an example we will remove the option of deleting users in the User management business process.
Copy the file found during step 1 to the folder of your administrative templates as created in step 1 under initial preparations.
In this example this would be the file WSUSER.HTM found in the Admin20 folder to the folder MyAdmin.
Open the new html file just copied in an editor.
In this example this would be the file WSUSER.HTM found in the folder MyAdmin
Locate and remove the following information from the WSUSER.HTM file
Go to your WebsydianExpress site login using your administrative user profile created above and go to the Administrative interface
In the Express Administration Interface open the Maintain Users (User Management -> User) and verify that you are now unable to delete users.