Customising Site Design
From ResourceSpace Documentation Wiki
Contents |
How to create your own themes
Themes have two parts:
- A CSS file in the "css" folder with the name "Col-xxxx.css" where xxxx is the name of your theme.
- A subfolder of the "gfx" folder. You will see the whitegry and greyblu folders in there. Copy one of these to a folder with your new theme name (you will probably want to copy greyblu). You can then change the appropriate CSS and images to style the new theme. The logo is conveniently part of the theme so you can set a custom logo for each group too.
CSS / GIF for template change
/ResourceSpace/gfx/greyblu/interface
is where all the blue theme graphics are, which include gradients and the icons which will also need to be modified accordingly. Suggestion: Open them all up in a graphics program and adjust the hue for each of them with the same hue change for each graphic. This keeps all the color gradients and aliasing properly modified relative to one another.
The CSS files are a bit trickier, but once you find the right colors to change, you can pretty much search and replace, for example, to make all dark blues into dark browns, all light blues into light browns, etc.
Group specific themes
It's possible to create a theme that will only be used for certain user group(s). See: User_Group_Management#Group_specific_user_interfaces
Change Intro Slideshow
The slides are fixed - the files are in /gfx/homeanim/gfx/.
You can change the number of slides shown in config.php.
It'd be nice if they weren't fixed (i.e. selectable from actual resources) but due to widely varying aspect ratios in typical photos this isn't possible, at least not without building in some sort of cropping tool. It's probably best to hand-build them anyway so you can tune the filesize. They should ideally be less than 100k each (closer to 50k) so they load quickly.
Customize Simple Search sidebar
The language customization file "en.php" within the folder "languages" contains some of the text fields that are used in the simple search bar. You can easily change some of the wording like "any country" to "any team".
Custom Help Sections
You can extend the Help Page by setting up extra help sections in Team Center-->System Setup-->Site Text
Click "New Site Text Entry", then in the Page field enter "help" and in the name field name your own help section name, i.e. "Help with Search Features", then enter your help text. Save it, and when you go back to your Help & Advice page, there will be a link to your new section.
Customize Resource Upload options
It should be possible to make the older FTP batch upload option co-exist with the newer FancyUpload option (v 1.3).
The old batch upload is still there, it's just not linked to: http://yourwebsitehere/team_batch.php
You could probably add a link to it in the editable text block on the FancyUpload page, something like
"to use FTP instead, <a href="team_batch.php">click here</a>."
Also you can use the per-group content feature to make that link appear/disappear depending on group.
