Morecandy
- Moodle 1.9–5.1
- 更新 2017-08-18
Morecandy is a simple theme based on the More theme, but contains a different look to the expanded block titles.
Morecandy
Morecandy has the added ability for Admins to add a Carousel slide-show to the site topic area, and also within the topic areas of the course pages. The individual images can be uploaded using the Text Editor, so this makes it easier for Admins and Editing teachers.
My intention for this theme is to keep building on it and add ‘more candy’ such as a ‘dropdown’ hidden block region like Aardvark Post-IT had, Marketing blocks, and other functionality.
You can add marketing spots in any section of the frontpage where there is either a ‘Welcome note’ or a ‘Footnote’ area in the Morecandy setting’s page.
The HTML is pretty simple: This adds two sections to the page wherever you wish to add them.
<div class=”container-fluid”>
<div class=”row-fluid”>
<div class=”span6″>
<h2>What’s new?</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.</p>
<p>
<a class=”btn” href=”https://moodle.com”>View details »</a>
</p>
</div>
<div class=”span6″>
<h2>Is it free?</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.</p>
<p>
<a class=”btn” href=”https://moodle.com”>View details »</a>