Skip to content

groupserver/gs.site.welcome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gs.site.welcome

The Welcome message on a GroupServer Site

Author

Michael JasonSmith

Contact

Michael JasonSmith <mpj17@onlinegroups.net>

Date

2014-10-24

Organization

GroupServer.org

Copyright

This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.

Introduction

The Welcome Box shows the introductory text on the homepage of a GroupServer site. It is made up of two parts.

Greeting:

A short greeting that is the first part of the welcome. It is shown as a header.

Message:

A longer HTML message that forms the bulk of the welcome.

The welcome is modified by the Change page. Both the Welcome Box and the Change page use the WelcomeMessage class.

Welcome Box

The Welcome Box is a viewlet for displaying the introductory text in the main part of the site homepage. It is made up of a header, and a viewlet manager (gs.site.welcome.interfaces.IWelcomeBox). Two viewlets are provided by this product for the Welcome Box: one to provide the message, and another to provide a link to the Change page

Change Page

The Change page /admin_changewelcome.html is used by the site-administrator to change the welcome message. The form uses the WelcomeMessage class to change both the greeting and the message.

The Change page is linked from a viewlet that is added to the Welcome Box

WelcomeMessage Class

The gs.site.welcome.WelcomeMessage class is used to get or set the welcome message. It has two properties for the greeting and message. The properties themselves are stored in the welcome page template in the site-folder.

If the page template does not exist then the WelcomeMessage class will create it (with the identifier WelcomeMessage.welcomeId), and populate it with default values (WelcomeMessage.defaultGreeting and WelcomeMessage.defaultMsg for the greeting and message respectively.

Resources

About

The Welcome message for the site homepage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages