1
daly2000
I need a hack to display adsense code in smartmedia module
  • 2008/7/28 13:07

  • daly2000

  • Just popping in

  • Posts: 5

  • Since: 2008/7/28


i have smartmedia 0.85

I need a hack to display adsense code in smartmedia module above or bellow "clip video"


this the code of clipvideo template:

<{include file="db:smartmedia_header.html"}>


<{$clip.description}>

<{include file="db:10.html"}>






















<{$clip.template}>














<{foreach item=tab from=$tabs}>
<{foreach item=subtab from=$tab.subtabs}>




















































<{$subtab.text}>











<{$subtab.arrow_left}> <{$subtab.previous}> <{$subtab.x_of}> <{$subtab.next}> <{$subtab.arrow_right}>




<{/foreach}>

<{/foreach}>


<{$lang_clip_counter}>


<{if $clip.file_hr_path}>
<{$clip.file_hr_link}>

<{/if}>

<{include file='db:smartmedia_footer.html'}>

2
Runeher
Re: I need a hack to display adsense code in smartmedia module
  • 2008/7/28 16:29

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Hi..
I don't use the module, but if it have template files you could easily add the adsense code there...

Just add:
<tr>
<
td colspan="5">
Add your adsense code here!td>
tr>



just after:
<{foreach item=tab_button from=$tabs}>
<{if 
$tab.id == $tab_button.id}>
<
li id="current"><a href="(script removed);" onclick="show('<{$tab_button.first_layer}>', hide('layer<{$subtab.id_text}>'))" ><span><{$tab_button.caption}>span>a>li>
<{else}>
<
li id=''><a href="(script removed);" onclick="show('<{$tab_button.first_layer}>', hide('layer<{$subtab.id_text}>'))" ><span><{$tab_button.caption}>span>a>li>

<{/if}>
<{/foreach}>
ul>
div>
td>
tr>


As i said, I don't use the module so I haven't seen if it works, but it should..

3
lintu
Re: I need a hack to display adsense code in smartmedia module
  • 2008/7/28 17:34

  • lintu

  • Not too shy to talk

  • Posts: 103

  • Since: 2005/9/18


Hi,

I just added the adsense code in the theme and it showed up in all the modules.
JigJak.com - A social Bookmarking & Blogging site.

ProjectMgr.net - Online Project Management Software

4
Runeher
Re: I need a hack to display adsense code in smartmedia module
  • 2008/7/28 17:39

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


If you add it to the theme it will of course show on all pages...

Login

Who's Online

323 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 323


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits