Thank you for your purchase with NewSchool Learning. I hope that you enjoy working with this theme. While this document should help make installation and setup as smooth as possible, it does assume a basic knowledge of HTML, Moodle, and CSS. If, at any time, you feel lost, the best place to start is in the Moodle documentation at http://docs.moodle.org. Then, if you still have questions, feel free to contact me via the support forum listed above.
Selecting a preferred style is a two step process:
Theme style variations are as follows:





To set up your theme so that it recognizes your preferred style variation:
$THEME->sheets = array('styles_elegance', 'styles_01');
$THEME->sheets = array('styles_elegance', 'styles_03');
All style sheets grab images from the same location: '/elegance/pix/bg/'. For this reason, you will need to change the name of the "bg" folder for whichever theme variation you prefer to use to simply "bg" after renaming the current "bg" directory to something else ("bg_01" recommended).
I probably made that sound much more complex than it is, so:
Moodle's header.html file is set up in two parts:
<!-- START WHAT APPEARS ON FRONT PAGE -->
<div id="header-home" class="clearfix">
<div id="header-top" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
</div>
<div id="header-bottom">
<div id="header-image">
<div id="header-box">
<div id="header-description"><?php echo $COURSE->summary //Retrieves Site Description from Front Page -> Front Page Settings ?></div>
</div>
</div>
</div>
</div><!-- END WHAT APPEARS ON FRONT PAGE -->
<!-- START WHAT APPEARS ON ALL OTHER PAGES -->
<div id="header" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<!-- END WHAT APPEARS ON ALL OTHER PAGES -->
If you would like to replace the way that your institution's name appears at the top of each page, I recommend substituting the h1 tag within the div id "header-home." If you would like to add your logo to all pages, substitute the h1 tag with BOTH "header-home" and "header."
To substitute the h1 tag using CSS:
#header-home .headermain h1 {
font: 1.8em normal;
background: url(/path/to/your/logo/yourlogo.png) no-repeat;
text-indent: -9999em;
}
#header-home .headermain h1,
#header .headermain h1 {
background: url(/path/to/your/logo/yourlogo.png) no-repeat;
text-indent: -9999em;
}
#header .headermain h1 {
font: 1.4em normal;
}
I have added a bit of PHP script that calls up your site description on the front page. By default, this script is turned on. If you DON'T want to use it, all you have to do is make the following edit to header.html (in blue):
<div id="header-box">
<!-- <div id="header-description"><?php echo $COURSE->summary //Retrieves Site Description from Front Page -> Front Page Settings ?></div> -->
</div>
When editing your site description use the h2 element to add CSS color to your description. Your site description can be edited within your Moodle admin tree at "Front Page > Front Page Settings > Front Page Description"
For your convenience, I have included the Fireworks PNG files that I used to mock up this theme. To change the background colors, this document will need to be modified and slices will need to be exported to their appropriate location.
It is not recommended to edit using Photoshop because the program is unable to match exact web colors.
To edit the background images:
From the menu bar, select File > Export.The same steps can be taken to edit the forum background image (FORUM_BG_SOURCE.png).
I have seperated all color related items away from the main CSS document for easy editing. To change the CSS colors of your theme:
Just for fun, I have added a CSS document filled with some extra goodies that you may want to use in your site. By default, I have not included this CSS into the core of the theme. So, if you want to use it you will have to "turn it on."
To use the CSS Extras included within this theme:
$THEME->sheets = array('styles_elegance','styles_elegance_0X','styles_extras');
Notice that the file extension (.css) is not included in this list.
To use the CSS Extras (once turned on), simply enclose any text that you write (in plain text mode) as follows:
<p class="information">Text goes here</p>
<p class="alert">Text goes here</p>
<p class="construction">Text goes here</p>
<p class="download">Text goes here</p>
<code>this is code?</code>
<p class="note">Text goes here</p>
<p class="new">Text goes here</p>
Please let me know if you have any trouble.
ptrkmkl.