Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
HIT STATS intergration
« previous
next »
Print
Pages: [
1
]
Author
Topic: HIT STATS intergration (Read 5962 times)
Basil1962
Newbie
Posts: 5
HIT STATS intergration
«
on:
March 29, 2015, 23:24:59 »
Hello,
I would like to insert this code in my site
<!-- Histats.com START (standard)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="
http://www.histats.com
" target="_blank" title="free web counter" ><script type="text/javascript" >
try {Histats.start(1,2986088,4,3004,112,48,"00011010");
Histats.track_hits();} catch(err){};
</script></a>
<noscript><a href="
http://www.histats.com
" target="_blank"><img src="
http://sstatic1.histats.com/0.gif?2986088&101
" alt="free web counter" border="0"></a></noscript>
<!-- Histats.com END -->
I have inserted in the bottom of the page with html button in edit html source
and it gives me the following result
the site is
http://www.forexlegion.com/en/
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: HIT STATS intergration
«
Reply #1 on:
March 30, 2015, 10:56:25 »
Hello @Basil1962
You should open the index.php file of your template as located to templates/ks-iso/ folder and paste the source
code at the bottom area of this document and before </body> tag.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Basil1962
Newbie
Posts: 5
Re: HIT STATS intergration
«
Reply #2 on:
March 30, 2015, 16:23:29 »
Hello webgift thank you for helping,
I have made a potato
I have conected with coreftp and opened the index.html
The file open with notetab and I have inserted the script in the end.
Then I saved the code to the server.
Notetab change something in the format and now index doesnt work
- Extended PHP code and plain text emails removed by datahell -
mow the index say Parse error: syntax error, unexpected '}' in /home/fxleg/public_html/index.php on line 1
any idea how to fix it ?
«
Last Edit: March 30, 2015, 21:40:48 by datahell
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: HIT STATS intergration
«
Reply #3 on:
March 30, 2015, 21:45:26 »
You should edit your template's index.php file, not "index.php" file on your site's root folder.
Get the original "index.php" file from the official release of the Elxis version you use (2009.3?) and put it back to your site to fix the problem you created.
The file you should edit it will be like that:
templates/some-template/index.php
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
webgift
Elxis Team
Hero Member
Posts: 4193
Re: HIT STATS intergration
«
Reply #4 on:
April 01, 2015, 10:56:28 »
Alternatively you could use the most recent backup of your website in order to restore it as it was and try again
as we need to update the index.php file of your selected template.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
HIT STATS intergration