|
|
|
|
|
- How to customize the User Groupware?
- Customizing the windows and the pages
- Customizing the windows and the pages
- Translating the windows/pages for the multilingual applications
- Modifying the first window or the first page according to the user
- Starting the login window/page from an application window or from a site page
- Defining the rights on the menus
- Define the rights on popup menus
- Defining the rights on the automatic menu ("?" menu)
- Configuring the data files of user groupware
- Reinitializing the data files
- To reinitialize the data files of user groupware
- Remarks
- Modifying the data files
- Managing the analyses
Customizing the User Groupware
Warning
From version 18, the User Groupware evolves. This help page corresponds to the User Groupware kept for backward compatibility. For help on the new version of the User Groupware, see User Groupware.
How to customize the User Groupware? Several solutions are proposed by WINDEV/WEBDEV to customize the User Groupware. This page explains how to: Customizing the windows and the pages Customizing the windows and the pages The login window/page You may want to customize the login window/page that is displayed when starting your application. If this window or page is included in your project, the style or the skin templates used by your application can be applied to this window or page. Caution: This window/page must not be renamed. All the windows/pages of user groupware If all the windows/pages of user groupware have been included in your project, they can all be customized. However, only the login window/page will be viewed by all the users. The windows/pages for configuring the groupware can only be viewed by the supervisor of the application . Caution: - The GPWLogin and GPWSupervisorMenu windows must not be renamed.
Translating the windows/pages for the multilingual applications Modifying the first window or the first page according to the user To change the first application window or the first site page according to the user, gpwGetUserInfo must be called in the initialization code of your project. This option allows you to get information about the user such as his name or password for example. Depending on his name, you have the ability to open a given window or a given page. Example: IF gpwGetUserInfo(gpwLogin) = "FP" THEN
Open(FEN_Gestion)
ELSE
Open(FEN_Menu)
END
Starting the login window/page from an application window or from a site page When the User Groupware is included in an application, you can choose whether the User Groupware will be automatically started or not. This option can be modified at any time. By default (automatic start), the login window/page is the first window/page of the application. It is run with the initialization code of the project. In some cases, you may want to open a configuration window before the login window. To do so, you must: - Select "Manual start".
- Open the login window or page anywhere in the code with gpwOpen.
Defining the rights on the menus Configuring the data files of user groupware Two types of data files are used by the User Groupware: - Data files of users
- Data files of rights
The location of these data files can be configured: - When including the user groupware for test ("Workshop .. Configure the user groupware").
- When creating the executable.
- When installing the application (by the person who performs the setup).
- Programmatically.
Reinitializing the data files To reinitialize the data files of user groupware All you have to do is delete the data files specific to the User Groupware (file of users and file of rights). These files are automatically re-created when starting the application. Remarks - If the user files are deleted (GPWUserConfiguration and GPWUser), only the supervisor will be able to start the application.
- If the rights files are deleted (GPWElementConfiguration, GPWConfiguration and GPWElement), all the users will have all the rights on the entire application.
Caution: The <None> group and the DEFAULT group cannot be deleted. The structure of the data files specific to the user groupware cannot be modified. Remark: These files contain confidential information and therefore they are encrypted. Managing the analyses If a specific analysis is opened when configuring the User Groupware, gpwInitAnalysis (used to open the analysis of the User Groupware) must be executed again. Reminder: At run time, several analyses cannot be opened at the same time.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|