Quite simple, I would like the banner on our forum to change with refreshes.
Rotating Banner
Started by Kacen, Jan 28 2012 02:42 PM
4 replies to this topic
#1
Posted 28 January 2012 - 02:42 PM
#2
Posted 29 January 2012 - 07:52 PM
This tutorial I made for board 2.3 should be easily adaptable for 3.2.
http://invisionmoddi...m-logo-rotator/
http://invisionmoddi...m-logo-rotator/
#3
Posted 30 January 2012 - 03:12 PM
What is the equivilent to "In ACP go to Look & Feel and select "Edit Template HTML" from the drop down menu of the skin you want to use. Then ==>All Global HTML ==>global_board_header."" in 3.#
#5
Posted 30 January 2012 - 06:04 PM
Ok this is tested and works. Upload your images to /public/style_images/[skin choice]/
You images must be labeled logo1.png, logo2.png etc.
ACP >> Look & Feel >> [skin choice] >> global templates >> defaultHeader
Replace all that is there with this:
The second rand number should be the number of images you are rotating.
You images must be labeled logo1.png, logo2.png etc.
ACP >> Look & Feel >> [skin choice] >> global templates >> defaultHeader
Replace all that is there with this:
<if test="$random_number = rand(1, 4)">
<a href='{$this->settings['board_url']}' title='{$this->lang->words['go_home']}' rel="home" accesskey='1'><img src='{$this->settings['img_url']}/logo{$random_number}.png' alt='{$this->lang->words['logo']}' /></a>
</if>
The second rand number should be the number of images you are rotating.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





Contributor











