Difference between revisions of "Updating rotating sponsor logos on home page"

From OSGeo
Jump to navigation Jump to search
(Created page with "Updating the rotating logos on the home page currently requires admin privileges to edit the required block and then some basic knowledge of javascript to do the update. 1. E...")
 
 
Line 1: Line 1:
Updating the rotating logos on the home page currently requires admin privileges to edit the required block and then some basic knowledge of javascript to do the update.
+
Sponsors are managed as distinct *post* types, each with their own logo. and expiry date.
  
1. Edit the block containing the logos: /admin/build/block/configure/block/9
+
* Current sponsors are displayed in rotation on the bottom of each page, including the home page.
 +
* Current sponsors are displayed with their logo, according to sponsor level, on the http://osgeo.org/sponsors/ page
 +
* Prior sponsors, are thanked at the bottom of the http://osgeo.org/sponsors/ page
  
2. At the bottom of the code, add/remove the path of logo in the `logos` array:
+
To manage sponsorship your OSGeo userid should have *Sponsorship Editor* role.
 
 
  var logos = [
 
    "/sites/osgeo.org/files/Page/GeoCat.svg",
 
    "/files/sponsors/thinkwhere_logo.png",
 
    "/sites/osgeo.org/files/images/chameleon-john-logo.png"
 
  ];
 
  var logoNum = Math.floor((Math.random() * logos.length));
 
  document.getElementById('idRotatingLogo').src = logos[logoNum];
 
 
 
The logos are cycled randomly.
 
 
 
This process is intended to be fairly temporary - in the future the logos should just be picked up automatically from a view.
 

Latest revision as of 23:12, 4 February 2018

Sponsors are managed as distinct *post* types, each with their own logo. and expiry date.

  • Current sponsors are displayed in rotation on the bottom of each page, including the home page.
  • Current sponsors are displayed with their logo, according to sponsor level, on the http://osgeo.org/sponsors/ page
  • Prior sponsors, are thanked at the bottom of the http://osgeo.org/sponsors/ page

To manage sponsorship your OSGeo userid should have *Sponsorship Editor* role.