Hosted by CU logo University of Colorado
Boulder
Powered by ESGF-CoG logo
Welcome, Guest. | Login | Create Account
CoG logo
You are at the CoG-CU node
 

Notification Header

Release 3.1 of CoG introduced the ability for organizations to create a customized notification header. These header allows for node-wide announcements above the project space (Figure 1).

Figure 1: Screenshot of a node showing the notification header.

The Defaults

The CoG distribution comes with a default header and footer that have been only partially customized. Action must be taken to override these defaults.

  • The default files are:
    • cog/templates/cog/common/cog_notification_custom.html

Overridding the Defaults

The default notification header can be overridden by placing a custom template with the same name under the
root level directory <COG_CONFIG_DIR>/mytemplates/.  Note that the /mytemplates directory is the equivilant to the /templates in the path below.

  • COG_CONFIG_DIR=/usr/local/cog by default

For example, to override the template /cog/templates/cog/common/cog_notification_custom.html, which comes with the distribution, create the a custom file:

  • /usr/local/cog/mytemplates/cog/common/cog_notification_custom.html

Edit the message inside the template to your needs, and make sure to chahne the HTML attribute "display:none" to "display:block" to make the header visible.

Last Update: Jan. 7, 2016, 9:54 a.m. by Hydra Administrator
Read News
CoG 3.8 Released!
This release improves support for retracted datasets. Learn more at: https://earthsyst...
CoG 3.7 Released!
This release focuses on improving the security of the application and the node federation functionality. ...
CoG 3.6 Released!
This release adds the ability to add non-CoG links to the left navigation bar. Read ...
CoG 3.5 Released!
This release upgraded the Globus libraries. Learn more at: https://earthsyst...
CoG 3.4 Released!
This release changes how the ESGF search functions. Learn more at: https://earthsyst...
Browse Projects
 
 
 
 
Start typing, or use the 'Delete' key to show all available tags.
CoG Tags: Cyberinstrastructure