Themes/Language > Theme Support

Working with my custom theme

(1/1)

agent9:
I need some help with my custom theme.
Ad Manager is working on the default, but my manual installs are failing.
I tried to look at the default theme its working on to see where the changes go, but I didn't see them there. Should I be able to?

agent9:
ok I have it almost working.
Only issue is it is always showing ads in the welcome area.

I did leave these lines off my index.template for welcome ads, but I'm not sure where to ad them.
Attached is my index.template.
You can see my smf forum at http://rioforgringos.com/forumx/

Here are the lines I left out:

<operation>
      <search position="before"><![CDATA[                     </td>]]></search>
<add><![CDATA[';
                     //Welcome Ads
                     if (function_exists("show_welcomeAds"))
                     {
                        $ads = show_welcomeAds();
                        if(!empty($ads))
                        {
                           echo '<td class="windowbg2">';
                           if($ads['type']==0)
                              echo $ads['content'];
                           else
                              eval($ads['content']);
                           echo '</td>';
                        }
                        unset($ads);
                     }
                  echo ']]>
</add>
</operation>

Navigation

[0] Message Index

Go to full version