#5 Now custom blocks can be added to the homepage

This commit is contained in:
Mike Koch 2014-04-26 14:14:55 -04:00
parent 2ecdfdea98
commit 26a844b3fe
2 changed files with 25 additions and 1 deletions

22
custom/custom-blocks.php Normal file
View File

@ -0,0 +1,22 @@
<!-- Here you can insert additional "blocks" to the homepage on the client-side of the help desk. You can insert anything you like.
Some example code has been included below, and is commented out so it will not appear on the page. It is recommended to copy & paste the code you
want to use so you still have the samples included. You can use PHP code as well, by using the <?php //and ?> tags. The page is responsive, so do not
worry about line breaks, as the blocks will reposition themselves for the user's screen size.
RECOMMENDED IMAGE SIZE: 32x32 (box does NOT resize for the image!)
AMOUNT OF TEXT TO PUT: approx 3 lines
-->
<!-- SAMPLE -->
<!-- <a href="#">
<div class="block">
<div class="upper">
<img src="ImageYouWantToShow" alt="Alternate Text for the Image" />
</div>
<div class="lower">
<p>Text you want to display under the image</p>
</div>
</div>
</a> -->
<!-- Your custom blocks should begin down here -->

View File

@ -804,7 +804,9 @@ function print_start()
</div>
</a>
<?php
} ?>
}
include('custom/custom-blocks.php');
?>
</div>
</div>
</div>