Widget Management

Registering Modules in your Admin

 

Advantage utilizes standard ASP.NET Modules (Widgets) that are readily available in the Advantage 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 Settings.

Click on System Settings.

2. Click on Modules.

Click on Modules.

3. Click on Modules.

Click on Modules.

4. Click on Add new record.

Click on Add new record.

5. Or click on the pencil icon to Edit.

Or click on the pencil icon to Edit.

6. Click on Module Properties.

Click on Module Properties.

7. Check Active.

Check Active.

8. Specify a Display Name.

Specify a Display Name.

9. Select from the available Module Categories.

Select from the available Module Categories.

10. Select from the available Icons.

Select from the available Icons.

11. Click on calendar.

Click on calendar.

12. Specify your Expression Path, by selecting a file using the filer picker.

Specify your Expression Path, by selecting a file using the filer picker.

13. Specify your Dialog Path by selecting a file using the filer picker.

Specify your Dialog Path by selecting a file using the filer picker.

14. 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.)

15. Select the Rewrite Object.

Select the Rewrite Object.

16. Select which Domains have access.

Select which Domains have access.

17. Assign Container Sizes.

Assign Container Sizes.

18. Click Save.

Click Save.

19. Click on Dialog Editor Snippets.

Add Custom Code Snippets for this specific tool.

Click on Dialog Editor Snippets.

20. Click on Add new record.

Click on Add new record.

21. Click on Active.

Click on Active.

22. Specify a Snippet Name.

Specify a Snippet Name.

23. Paste selected snippet into the HTML view of the editor .

Paste selected snippet into the HTML view of the editor .

24. Click Update, and then Save.

Click Update, and then Save.

25. Note

Please note that when creating and activating a dynamic module in Advantage, 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 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 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.

Adding a New Module Category

1. Click on System Settings.

Click on System Settings.

2. Click on Modules.

Click on Modules.

3. Click on Module Categories.

Click on Module Categories.

4. Click on Add new record.

Click on Add new record.

5. Or click on the pencil icon to Edit.

Or click on the pencil icon to Edit.

6. Specify the Name.

Specify the Name.

7. Click on Sort Order.

Click on Sort Order.

8. Check Active.

Check Active.

9. Click on Save.

Click on Save.
Back to Top Button