Versions Compared

Key

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

...

/basic.php - similar to index.php but for devices with small screens or other handicaps (dumb browser...)
/accountstatus/accountstatus.php - Status and Pick-Up page for eduroam-as-a-Service Managed IdP user accounts


Coding your own

...

The skin pages are loaded with a cross-directory include() from the skin loader. Your skin should never assume to know its relative path on the server. It should rather construct all paths with $skinObject->findResourceUrl("IMAGES") (or "CSS" or "EXTERNAL" or "BASE") if you want to reference a image resource from the "global" stock of images (our stock is contained in the web/resources/ directory) , and a $skinObject->findResourceUrl("IMAGES", true) if you want an image that is only relevant for and confined in your skins/YOURSKIN/ directory. Your directory structure MUST mimick the one in web/resources/ for things to work.

...

Take a look at web/skins/example/. And of course for full functionality take a look at web/skins/classicmodern/.

Activating the skin

The default skin is the "classic" skin. The Add a new skin to the global config (CONFIG['APPEARANCE']['skins'] array). As soon as the skin is in the config, the usual way to change it is via fed admin UI; add the new option "Preferred Skin for User Area" and type the string that matches YOURSKIN.

...

To make all pages appear in the desired skin, it is possible to hard-code the desired skin in the POST or GET leading to the CAT page. Append a

&skin=YOURSKIN (or POST equivalent)

to the link and the UI will show with the desired skin immediately.

...