Graham
Waplocus You dont really want both on the page you should do the other one as a 'else' in the xtscript
Waplocus
Graham Den wot abt my <meta name="robots" content="index, follow" /> in the page? wil stil b der y input it?.
Graham
Waplocus usually if there are two or more meta tags for the same thing then it is the one furthest down the html that counts
So it is pointless setting the nofollow tag as it will be overruled by a follow tag further down the code
follow and index are the default actions anyway so really you don't need to declare them in a meta tag
Waplocus
Graham Thanks So Much Sir...
Plz Google is crawling both my site.cf and site.xtgem.com plz i want only sitename.cf to be crawl and index, hw can i du it?...
Graham
Waplocus You can do that in the same script
var $domain=<xt:url type="domain" />
if $__xt_content_page >1 or $domain==XTGEM SITE NAME
no http://
see below
Waplocus
Graham Would Dis B Okay?..
<script type="text/javascript">
var $domain=<xt:url type="domain" /> if $__xt_content_page >1 or $domain==sitename.com
</script>
Graham
Waplocus its xtscript not javascript
<!--parser:xtscript-->
get __xt_content_page
var $domain=<xt:url type="domain" />
if $__xt_content_page >1 or $domain==sitename.com
print <meta name="robots" content="noindex, nofollow">
else
print <meta name="robots" content="index, follow" />
endif
<!--/parser:xtscript-->
Copy code
Waplocus
Graham Please This CSS Is not working well for the Xt pagination, most expecially the ".xt_pagination.selected"
.xt_pagination
{
}
.xt_pagination.selected
{
border:1px solid #fff;
display:inline-block;
margin:1px;
padding:2px;
}
.xt_pagination a
{
text-decoration:none
border:1px solid #0ff;
display:inline-block;
margin:1px;
padding:2px;
}
Copy code
Graham
Waplocus So just change it
change the border color
border:1px solid #0f0;
will change it to a green border
add a background color
background:#ff0;
would add a yellow background to the button
Waplocus
Graham Please Dis Javascript Is Not Working Properly....
Please Edit It Wit Dis URL 4 Me.... "mypeople.cf" ...Thanks...
<script>
var a=document.getElementsByClassName('xt_pagination');
if (typeof a[0] !== 'undefined') a[0].innerHTML=a[0].innerHTML.replace(/YOUR_SITE.XTGEM.COM/gi, '<xt:url type="domain">');
</script>
Copy code