uCoz Community » For Webmasters » Site Promotion » Google Adsense
Google Adsense
Vallina
Posts: 58
Reputation: 0

Message # 76 | 8:48 PM
Code
<html>
<head>
  <?if($USER_LOGGED_IN$)?><?if($IS_NEW_PM$)?>  

<script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml','')",500)</script><bgsound src="http://s30.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">  

<?endif?><?endif?>  
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$SITE_NAME$ - $MODULE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>
<body>
$ADMIN_BAR$

<div class="wrap">
$GLOBAL_AHEADER$
<?if($MODULE_ID$='forum')?><div class="forum-header-bottom"></div><table class="main-table"><tr><td class="forum-block"><?endif?>
<!-- <middle> -->
<div class="header-bottom"></div>
<table class="main-table">
<tr>
<td class="content-block">
<?if($MODULE_URL$)?><h1>$MODULE_NAME$</h1><?endif?>  
<!-- <body> -->$CONTENT$<!-- </body> -->
</td>
<td class="side-block">
$GLOBAL_CLEFTER$
<div class="side-bottom"></div>
</td>
</tr>
</table>
<div class="content-bottom"></div>
<!-- </middle> -->
<?if($MODULE_ID$='forum')?></td></tr></table><div class="forum-content-bottom"></div><?endif?>
$GLOBAL_BFOOTER$
</div>
</body>
</html>


I don't see any $CATEGORIES$. How do I edit the global block? And it's only when I try to put in
Code
<!-- google_ad_section_start -->

<!-- google_ad_section_end -->

that it gives me the problem "$CATEGORIES$ code is used more than once."
Sunny
Posts: 9296
Reputation: 456

Message # 77 | 2:58 PM
Vallina, global blocks can be edited in Control Panel -> Customize design. You do not have such problem if you do other editing to this template, right? Please provide the website URL.
I'm not active on the forum anymore. Please contact other forum staff.
Vallina
Posts: 58
Reputation: 0

Message # 78 | 4:42 AM
Sunny, Yes, no problem adding in other things to the temple. Website is http://esrohlegends.ucoz.com
I added in the code manually to the front page HTML editor and it worked fine, allowed me to save.
Sunny
Posts: 9296
Reputation: 456

Message # 79 | 10:41 AM
Vallina, try to remove $CATEGORIES$ from the global block (probably $GLOBAL_CLEFTER$), make the necessary changes to the template, and then add $CATEGORIES$ back.
I'm not active on the forum anymore. Please contact other forum staff.
Vallina
Posts: 58
Reputation: 0

Message # 80 | 6:32 AM
Quote (Sunny)
Vallina, try to remove $CATEGORIES$ from the global block (probably $GLOBAL_CLEFTER$), make the necessary changes to the template, and then add $CATEGORIES$ back.


Sunny, I figured it out. There was indeed a $CATEGORIES$ due to the Section categories block, so I took the whole block out. Thanks! Hopefully my ads will be more site-related now. smile
uCoz Community » For Webmasters » Site Promotion » Google Adsense
Search: