Widget Management

Registering Modules in your Admin

Advantage CSP utilizes standard ASP.NET Modules (Widgets) that are readily available in the Advantage CSP developer toolbox. These widgets can be placed on any page or template to add specific content or functionality to your website or application. Each module offers configuration options that can be adjusted in the user interface. For instance, the News widget allows you to select which news items to display, specify sorting preferences, and determine the number of news items to render on the page.

Modifying the default widget templates is a straightforward process that can be done directly in the file system. There is no need to rebuild your project in order to apply these changes. Additionally, you have control over the rendered HTML and can modify the markup of the default module templates according to your preferences.

 

1. Click on System Administrator
Click on  System Administrator
2. Click on Modules
Click on  Modules
3. Click on the Edit Icon
Click on the Edit Icon
4. Check Active
Check Active
5. Specify a Display Name
Specify a Display Name
6. Select from the available Module Categories
Select from the available Module Categories
7. Select from the available Icons
Select from the available Icons
8. Specify your Expression Path, by selecting a file using the filer picker.
Specify your Expression Path, by selecting a file using the filer picker.
9. Specify your Dialog Path by selecting a file using the filer picker.
Specify your  Dialog Path by selecting a file using the filer picker.
10. Select Rewrite Module (A module that reads from a structured tool or third-party integrated web service.)
Select Rewrite Module (A module that reads from a structured tool or third-party integrated web service.)
11. Select which Domains have access…
Select which Domains have access…
12. Assign Container Sizes…
Assign Container Sizes…
13. Add Custom Code Snippets for this specific tool
Add Custom Code Snippets for this specific tool
14. Click on Add new record
Click on 	Add new record
15. Click on Active
Click on Active
16. Click on Snippet Name
Click on Snippet Name
17. Paste selected snippet into the HTML view of the editor
Paste selected snippet into the HTML view of the editor
18. Click on Update
Click on Update

  

Please note that when creating and activating a dynamic module in Advantage CSP, a Dynamic Content widget is automatically generated for that module. Working with the templates of Dynamic Content widgets and the naming conventions for files and folders may have slight differences.

Widget templates can be located in the Theme Folder folder of the Bootstrap package used by Advantage CSP or in the root folder of your project.

It is important to note that if you are not utilizing any resource package, the default templates are stored in Advantage CSP assemblies. In such cases, you can override them in the root of your project or create new templates. This means that widget templates are not tied to any specific resource package.

How to Add a New Module Category in Advantage CSP

1. Click on Module Categories
Click on Module Categories
2. Click on Add new record…
Click on 	Add new record…
3. Click on the Edit icon
Click on the Edit icon
4. Click on Name
Click on Name
5. Click on Sort Order
Click on Sort Order
6. Click on Active
Click on Active
7. Click on Save
Click on  Save
Back to Top Button