In this example, we create a page to display school events such as swimming carnivals or drama competitions.
To create the custom school events tab:
...
CommunityPortal
...
Pages
...
CustomSchoolEvents
...
Text
...
String
...
CommunityPortal
...
Pages
...
CustomSchoolEvents
...
Url
...
String
...
- Create the .aspx file with the code to display the page.
- Save the file in the Site/Pages directory inside the Community Portal directory on your server.
- In Synergetic select Module > System > Configuration File Maintenance.
- The Configuration File Maintenance window is displayed.
- Create the following configuration settings:
Tip: Click to create a new configuration setting.
...
Key 1
...
Key 2
...
Key 3
...
Key 4
...
Type
...
Value
...
CommunityPortal
...
Pages
...
CustomSchoolEvents
...
EnabledFlag
...
BIT
...
True to make the page appear in the portal. See CustomSchoolEvents:EnabledFlag configuration setting.
...
CommunityPortal
...
Pages
...
CustomSchoolEvents
...
MenuOrder
...
INT
...
Integer to determine the order that the tab should appear on the menu bar. See CustomSchoolEvents:MenuOrder configuration setting.
...
CommunityPortal
...
Pages
...
CustomSchoolEvents
...
ParentPageName
...
String
...
Name of the tab that this tab should appear under. See CustomSchoolEvents:ParentPageName configuration setting.
- Then in Synergetic Community Portal log in as an Admin and click on Configuration > New Menu Item > Type = Custom Page
- The new Custom*.aspx page should be picked up (in server side code) and displayed as a resource in the dropdown list
- Then you can select the new Custom Page and give it a Title > then click save and set the visibility options for that new Menu option