XSitePro Website Design Software Message Board

The online forum dedicated to XSitePro users. Get help with website design in general and using this popular and incredibly powerful website software
It is currently Tue May 21, 2013 6:22 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jan 22, 2012 8:42 am 
Offline

Joined: Sun Jan 22, 2012 8:19 am
Posts: 2
Hi,

I'm a xsitepro user since June and built 6 sites with the software which is great. But I didn't manage to resolve that problem.

Google TOS for Adsense specifies that you can't put adsense block(s) on non content pages. There is the option to personnalize the right panel to make a specific right panel for a specifique page to remove the ad. But It's impossible to use that fonction for the site map.

Moreover, I made a site yesterday with adsense on the left panel and the option is not proposed (as the right panel), and the site map have adsense too.

The problem is that I don't want not to recpect the TOS of Google Adsense by putting ads on pages like contact, who are we, policies, sitemap, ...

Does anybody knows a trick to remove adsense block on sitemap and leftpanel on specifique pages ?

Thanks in advance :) ,

Mathieu

PS : sorry for my poor english, I'm not a native.


Top
 Profile  
 
PostPosted: Wed Jan 25, 2012 10:38 am 
Offline
User avatar

Joined: Fri Feb 24, 2006 1:53 pm
Posts: 3448
Location: Vancouver, BC, Canada
Yes, you can do this. Wrap the AdSense ads in a <div> tag, then apply a class to that div, e.g., <div class="showNoShow">ADSENSE GOES HERE</div>. In Other > Global Scripts > HEAD section, add the following CSS class:
Code:
<style type="text/css">
.showNoShow {display: block;}
</style>
Then for the pages where you don't want the ads to show, got to Page Settings > Advanced Settings for each of those pages and add the following code to Scripts > HEAD section:
Code:
<style type="text/css">
.showNoShow {display: none;}
</style>
Also, make sure to check the box "Include global script," in case you add other CSS in Global Scripts that should be available to those pages.

_________________
Andrea Wilson

1. Custom XSitePro Templates. XSitePro Consulting and Training. FREE TIPS!

2. Off-the-Shelf XSitePro Templates! Versatile designs. Easy to manage and maintain!

3. AllWebMenus Pro and XSitePro Work Perfectly Together! NEW!

Image


Top
 Profile  
 
PostPosted: Thu Jan 26, 2012 2:43 am 
Offline

Joined: Sun Jan 22, 2012 8:19 am
Posts: 2
Tanks you very much Andrea ! That worked for the pages "contact us", "privacy" and "who are we". :D

However, there is no "Advanced Settings..." on "Page Settings" tab for the sitemap, and it's impossible to access to advanced settings for that page.

Do you know if its possible to access from an other section of xsitepro ?

I may remove the sitemap from the page footer if there is no solution. That will decrease the user "experience", but protect me from the google TOS.

Merci encore :wink: ,

Mathieu


Top
 Profile  
 
PostPosted: Thu Jan 26, 2012 11:02 am 
Offline
User avatar

Joined: Fri Feb 24, 2006 1:53 pm
Posts: 3448
Location: Vancouver, BC, Canada
Hi, Mathieu,

If you have a small Web site, a Site Map isn't all that relevant for navigation, and you can even create one manually. But, if you have a large site, you should have a site map as a navigation tool. You could use a third party tool like http://www.sitemappro.com and add the site map to one of XSitePro's regular pages. That way you can use the method I gave you in my previous post.

Note: Thousands of people are using AdSense with XSitePro and I've never seen this issue addressed on the forum before, so I doubt they are getting penalized.

_________________
Andrea Wilson

1. Custom XSitePro Templates. XSitePro Consulting and Training. FREE TIPS!

2. Off-the-Shelf XSitePro Templates! Versatile designs. Easy to manage and maintain!

3. AllWebMenus Pro and XSitePro Work Perfectly Together! NEW!

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group