Browse Source

#5 Now custom blocks can be added to the homepage

tags/RELEASE_v1.1.0^0
Mike Koch 5 years ago
parent
commit
26a844b3fe
2 changed files with 25 additions and 1 deletions
  1. 22
    0
      custom/custom-blocks.php
  2. 3
    1
      index.php

+ 22
- 0
custom/custom-blocks.php 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 -->

+ 3
- 1
index.php View File

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

Loading…
Cancel
Save