How to add widgets in top of the forum

tocheli

Member
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.webp
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!
 
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
65_88_maximum-surf2_468x60.gif
 
Last edited:
I don't using callback but i recommend you should use Template Hook for that :) This is simply to way
 
****.
adblock plus blocked de banner....
adblock plus deactivated and it works perfekt!
 
Last edited by a moderator:
Top Bottom