• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to add widgets in top of the forum

#1
Hi. I migrated my forum from vb4 to xf. in vb4 i made a lot of adaptions.
What i want do do first ist to add 3 blocks below the menu as you can see here:
Jasc Paint Shop Pro - Image1_2013-09-17_18-56-10.png
In this blocks i like to show some announcements generated with a php functionthat gets the html code to show a image ( showLatestPic() ).
how is the concept to hook in my php functions? where i have to place this function call?
thanks for help!
 
#4
ok, code will be generated, but not shown on page :(

if i place the code into the footer template (just for testing):
Code:
<xen:callback class="HiTe_SimpleCallback" method="getSimpleOutput">XenForo ist cool</xen:callback>
that generates this html code who looks correct in my opinion:
Code:
<a target="_blank" href="http://www.maximum-surf.de"><img src="http://www.surfbasar.ch/forum/data/hite/images/65_88_maximum-surf2_468x60.gif" alt="Klick auf das Banner um zu der Homepage zu gelangen" title="Klick auf das Banner um zu der Homepage zu gelangen" border="0" width="468" height="58"></a>
do i need to enhance also the footer.css to show the banner correct?

this is the banner i like th show:
http://www.surfbasar.ch/forum/data/hite/images/65_88_maximum-surf2_468x60.gif
 
Last edited:
#7
****.
adblock plus blocked de banner....
adblock plus deactivated and it works perfekt!
 
Last edited by a moderator: