Page 1 of 2
Gallery index and Counter
Posted: 15 Jan 2009, 15:04
by george
can i add some counter to index page?
i just try, but counter dsnt appear
counters like
http://flagcounter.com/ and etc..
thanks for answer

Posted: 15 Jan 2009, 18:24
by tomrock
Search this forum for "statistics". There are several threads. Google Analytics works well.
Posted: 16 Jan 2009, 08:31
by george
Posted: 16 Jan 2009, 18:18
by tomrock
Search all available forums. I don't know how to paste the link, but there are a lot of threads.
Posted: 17 Jan 2009, 08:36
by george
i need to add counter to my page
Posted: 18 Jan 2009, 03:40
by mjau-mjau
There is a response here in my reply, point #5:
viewtopic.php?t=4487
Another possibly interesting posts:
viewtopic.php?t=4074
Posted: 22 Jan 2009, 14:30
by george
mjau-mjau
thanks for answer
counter code is ok, but i can`t view counter at my index page
+
how can i add some keywords to index page (for google or other search engines)
Posted: 22 Jan 2009, 16:31
by Nick
You added counter but you don't see it? Modern counters like google-analytics are invisible actually, but i feel we're speaking about something else. Like image counter maybe? I believe you can't see it because flash takes up whole screen height.
To add counter and keywords you can edit imagevue/templates/index.gallery.html. Also you can check demo /standard.html file in your root dir to see how to embed gallery in your own design.
To make flash smaller change height:100% in index.gallery.html to something else.
Posted: 09 May 2009, 17:43
by globetrotter
In the last update something changed in the code. Now my statcounter is visible:
http://fotos.globetrotternet.nl/ (scroll down).
Where should I paste the code for the now?
Posted: 10 May 2009, 02:15
by mjau-mjau
globetrotter wrote:In the last update something changed in the code. Now my statcounter is visible:
http://fotos.globetrotternet.nl/ (scroll down).
Where should I paste the code for the now?
Most likely, before, your counter was also visible but outside of the browsers visible area. Now there are scrollbars ...
If you want to hide the counter, then easiest way is to just hide that javascript inside a div tag:
<div style="display: none;"> ... javascript here ... </div>
Posted: 10 May 2009, 05:24
by globetrotter
Solved!
Thank you!
Posted: 11 May 2009, 10:14
by Nick
I wouldnt recommend display:none, it might interfere with the counter itself, better use margin-left: -9999px or something
Posted: 19 May 2009, 03:44
by globetrotter
Is it not possible to make something in admin menu, where you can fill in your counter script code. So the code is always in the right place.
And then the users don't have to paste this code again into the index.gallery.phtml after each update of Imagevue.
Posted: 19 May 2009, 13:34
by mjau-mjau
hmm, yea ... not a bad idea. Would have to create some large input field though, and users would be acting their own responsibility. Would have been easier if we just had a field for google-analytics for instance, so they just filled in their ID.
Posted: 19 May 2009, 15:35
by Nick
Even for Google analytics some paste textarea might be better, google offers 2 counters ATM and they come in form of code to paste anyway.