17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1177 Views |
-
problem with insert counter to the site

7 August 2008 at 10:34pm Last edited: 7 August 2008 10:35pm
I register on the http://top.bigmir.net/counters/ (id=16794891)
And get counter HTML code
When I add the code in the template page.ss
On the Site I see nextßþüøûúð ÑÂøýтðúÑÂøчýþóþ ðýðûі÷у XML: ýõÿрðòøûьýøù
ÃÂôрõÑÂð: http://planeta-ua.net.ua/
àÑÂôþú 213, ÑÂøüòþû 100:<a href="http://www.bigmir.net/" target="_blank"><img src="http://c.bigmir.net/?v16794891&s16794891&t2" width="88" height="31" alt="bigmir)net TOP 100" title="bigmir)net TOP 100" border="0" /></a>
---------------------------------------------------------------------------------------------------^ -
Re: problem with insert counter to the site

7 August 2008 at 10:44pm
it is because the & in the URL of that code isnt valid xhtml. It needs to be & to be valid.
-
Re: problem with insert counter to the site

8 August 2008 at 12:21am
but when I write instead
=>&
&
then the counter does not load on homepage
((
counter must be at the bottom of page -
Re: problem with insert counter to the site

8 August 2008 at 10:13am
well if & doesnt work then you can try sending the page as not strict xml - removing the <? xml... bit at the top of the Page.ss file. This will stop SilverStripe sending the template as 'pure' xml (which is the most strictest)
| 1177 Views | ||
|
Page:
1
|
Go to Top |


