Change 8472

don_marti (Don Marti)
Don Marti committed this change into //guest/don_marti/swarm_user_css/module/Application/src/Application/View/Helper
Request Review
Download .zip
Per-user CSS and JavaScript

Allow users to set up their own CSS and JavaScript files to be loaded on Swarm pages.  To enable this feature in Swarm, add a "usercustom" section to config.php:

'usercustom' => array(
    'stylesheet' => '/depot/dev/{user}/swarm.css',
               'script' =>     '/depot/dev/{user}/swarm.js',
       )

The {user} is replaced with the username.  When this configuration is present, Swarm will check the given depot paths for CSS and JavaScript files.

Users can then customize color schemes to match their other applications, change font faces, add advertising, pretty much anything.
  • Files 2
  • Comments 0
0 edited 2 added 0 deleted
HeadLink.php#1
Loading...
HeadScript.php#1
Loading...
Tip: Use n and p to cycle through the changes.