|
Editing mambo templates images logo |
|
|
|
|
Random Images in Header.
From this tutorial I will explain how to show random images in header.
- Create few images or logo the same width and height size.
- Upload that images to your “images” folder where your template located.
- Set names for all header images: header1.jgp, header2.jgp, header3.jgp etc..
- Now open index.php of your template and edit code that will show your images logo.
Here is the code:
img src="<?php echo $mosConfig_live_site; ?>/templates/your template/images/header<?php echo rand(1,5)?>.jpg" />
Here is (1,5) is number of your images logo.
If you can use more that 5 images for your logo you need to change number (1-10) an example. |