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