Welcome to SMF Ads Support Forum

Main Menu

Classic Theme trouble with template_menu(); code

Started by anomolee, July 30, 2010, 10:20:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


I'm using the Classic Theme and have all templates edited to run the ad mod but the indextemplate.php is giving me trouble.  When it replace the code for " template_menu(); " everything gets shifted downward below the ads.  Do I need to make a mod to this code to work in the Classic Theme?
Here is the mod I need to use below.


   //Below the menu ads
   if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
      $ads = show_indexAds();   
            echo $ads['content'];

      //Tower left Ads
      $ads = show_towerleftAds();
         echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

      //Tower Right Ads
      $ads = show_towerrightAds();   
         echo '<table><tr><td width="100%" valign="top">';