Loading...
 
Features / Usability

Features / Usability


Php Code in Header.tpl?

posts: 53 India

Hello,

Our website has a customized header and we want to use an Ad Rotating code that will change the Image banners in the header upon every refresh.

The code is:

Image
Copy to clipboard
div id="Promotions" style="position:absolute; left:386px; top:0; width:320; height:67; z-index:1;">< ? include("banners/adrotate.php"); ? > /div


Now, if we place this code in header.tpl file...

The code appears as is and it doesnt seem to read the <?php tag.

I know that we have a banner system in tikiwiki, but that doesnt fit our needs...

Any ideas on how should i implement this?

hk


posts: 53 India

Thanks Damian!

The documentation was of great help!

hk


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting