Coinbase

Author Topic: Working with my custom theme  (Read 6829 times)

0 Members and 1 Guest are viewing this topic.

Offline agent9

  • Newbie
  • *
  • Posts: 2
Working with my custom theme
« on: November 09, 2010, 01:39:52 am »
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?

Offline agent9

  • Newbie
  • *
  • Posts: 2
Re: Working with my custom theme
« Reply #1 on: November 09, 2010, 07:13:01 pm »
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>

SMF Ads Support Forum

Re: Working with my custom theme
« Reply #1 on: November 09, 2010, 07:13:01 pm »
.