Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Adding banner

Aloittaja argeta, marraskuu 07, 2011, 03:12:57 AP

« edellinen - seuraava »

argeta

Which file should I use to add banner on forum? I wanna to add it in header of forum. And where to insert a banner code?

Ricky.

In your forum root..
under :
Themes/YourThemeFolder/

find
index.template.php

There, search for theme_linktree();
Add your banner before or after it, ie. which suits you best.

Add it like ..
echo '<your aanner code here>' ;

argeta


Ricky.

Enclose your code in echo command as I mentioned in above example.

argeta

I did it all, but got this message:

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/content/92/6809892/html/forum/Themes/default/index.template.php on line 335


Where is a problem?  ???

Ricky.

You need to make sure you string properly.  You see,  non-php code should be enclosed in  ' ' .

Advertisement: