Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

  1. Create the .aspx file with the code to display the page.
  2. Save the file in the Site/Pages directory inside the Community Portal directory on your server.
  3. In Synergetic select Module > System > Configuration File Maintenance.
  4. The Configuration File Maintenance window is displayed.
  5. Create the following configuration settings:
    Tip: Click Image Removed 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.

  1. Then in Synergetic Community Portal log in as an Admin and click on Configuration > New Menu Item > Type = Custom Page
  2. The new Custom*.aspx page should be picked up (in server side code) and displayed as a resource in the dropdown list
  3. 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