1
tatane
Editing a theme
  • 2009/2/8 9:43

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1



hello
I would like to change this theme to display an advertisement in adsence Home, forum, article, etc. as below

this a site
Resized Image


I tried to place it in class="headmenu" but it distorts my theme!

Here is my theme

Quote:












<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>


















<{if $xoops_showrblock == 1}>


<{/if}>












 





















<{foreach item=block from=$xoops_lblocks}>
<{include file="$xoops_theme/theme_blockleft.html"}>
<{/foreach}>




<{if $xoops_showcblock == 1}>










<{foreach item=block from=$xoops_ccblocks}> <{include file="$xoops_theme/theme_blockcenter_c.html"}> <{/foreach}>



<{foreach item=block from=$xoops_clblocks}> <{include file="$xoops_theme/theme_blockcenter_l.html"}> <{/foreach}>



<{foreach item=block from=$xoops_crblocks}> <{include file="$xoops_theme/theme_blockcenter_r.html"}> <{/foreach}>


<{/if}>

<{$xoops_contents}>

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>

<{if $xoBlocks.page_bottomcenter}>



<{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>




<{/if}>
<{foreach from=$xoBlocks.page_bottomcenter item=block}><{include file="$xoops_theme/theme_blockcenter_c.html"}><{/foreach}>
<{foreach from=$xoBlocks.page_bottomleft item=block}><{include file="$xoops_theme/theme_blockcenter_l.html"}><{/foreach}> <{foreach from=$xoBlocks.page_bottomright item=block}><{include file="$xoops_theme/theme_blockcenter_r.html"}><{/foreach}>

<{/if}>


<{foreach item=block from=$xoops_rblocks}>
<{include file="$xoops_theme/theme_blockright.html"}>
<{/foreach}>





2
Bleekk
Re: Editing a theme
  • 2009/2/8 20:27

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


after this
<tr>
<
td class="headmenu" height="14"td
<
td class="headmenu" height="14"td
<
td class="headmenu" height="14"td
<
td class="headmenu" height="14"td
<
td class="headmenu" height="14"td
<
td class="headmenu" height="14"td
tr>

add:
<tr>
<
td colspan="6">your texttd>
tr>


OR
instead of the lines above:
<tr>
<
td class="headmenu" height="14" colspan="6">your texttd
tr>

Login

Who's Online

247 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

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

Latest GitHub Commits