Adding "counter" to Shophome? - Post...

User 187934 Photo


Senior Advisor
20,190 posts

Something like this?;)
http://progrower.coffeecup.com/shop/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2088758 Photo


Senior Advisor
3,087 posts

Great idea Eric! Duh I should have thought of that. Did you just place it in a div and make an absolute position to push it down to the footer area?
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,190 posts

1.Place your hit counter on a html page with nothing else.
2. Upload this page to your server. It needs to be on the same domain.
3.Paste the code below into your shops page content area.
[[[<style>
#counter{
width:100px;
margin:auto;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#scs_footer").append($("<div id=\"counter\">").load("../myfiles/hitcounter.html"));
});
</script>]]]

Adjust the code to the actual name and location of your hit counter page.
../myfiles/hitcounter.html

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.