![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Logo and Banner on the sidebar
How would I place a 257 x 64 Logo image file on the top part of the sidebar and a 250 x 250 Google Adsense banner on the bottom? I'm using the yget template and Pligg 9.7. I uploaded two image files to better describe what I am asking. Thanks for any help.
|
| |||
|
Never mind, I found out where to put the code in sidebar.tpl.
|
| |||
|
can you share that info please thx |
| |||
|
This is the code I used in sidebar.tpl. Just make changes to fit your site. Code: {config_load file="/libs/lang.conf"}
<div align="center">
<img src="{$my_pligg_base}/templates/{$the_template}/images/logo.png" WIDTH="257" HEIGHT="64">
</div>
<br />
{if $user_authenticated ne true} {* show only if NOT logged in *}
{assign var=sidebar_module value="about_box"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{/if}
{checkActionsTpl location="tpl_sidebar_top"}
{if $user_authenticated ne true} {assign var=sidebar_module value="login"}{include file=$the_template_sidebar_modules."/wrapper2.tpl"} {/if}
{assign var=sidebar_module value="sidebar_stories_u"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{assign var=sidebar_module value="sidebar_stories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "Your Adsense ID Goes Here";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
Last edited by ufoman; 08-31-2007 at 03:39 AM.. |
| |||
|
Isn't this againts Google's TOS?
|
| |||
|
You know; adsense on login, sign up pages etc.
|
| |||
| I'm no expert on adsense rules and TOS. But every website I have ever been to that uses adsense including Pligg sites, has a login/sign up area on the same page as an adsense banner shows. When using the yget default template with Pligg the sidebar is on every page. So no matter where I put an adsense banner on my Pligg site, it will always show the sidebar and the login/sign up area. What do you suggest I do? |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advertising Banner? Please Help | gossipqueenie | General Help | 6 | 09-07-2008 08:45 PM |
| How to put a banner infront of the site logo | philiscute | Modification Tutorials | 5 | 01-12-2008 08:21 PM |
| Inserting Logo etc | computerbar | Installation and Upgrade Help | 5 | 11-20-2007 07:39 AM |
| how to have a banner on pligg? | cooldudeny | General Help | 0 | 05-31-2007 06:38 AM |
| upload banner or logo | move55 | General Help | 1 | 02-11-2007 11:36 AM |





Linear Mode

