-
AuthorPosts
-
Samir Mastaliyev Friend
Samir Mastaliyev
- Join date:
- April 2014
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
January 19, 2010 at 2:59 pm #147788hello everybody.
in Ja Iris i placed the counter in index.php ( bottom of the webpage) , but in Ja teline III i tried this , it’s not working (template stops working) . In Ja teline , where i can place the coutner? the purpose to have a counter in the bottom of the site ( not in footer). the counter is in Code form , not a companent.
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
January 19, 2010 at 3:28 pm #329748Is it a JavaSript, you just publish on the site?
I put it in the code of mod_janalytics placed in user7 position.prakash Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
January 19, 2010 at 3:44 pm #329752Hi…
to put the counter code… you can put it here
templatesja_teline_iiihtmlmod_footerdefault.php
after the </small> add ur counter code and it should work. If you have any isses, pls send counter code.
Samir Mastaliyev FriendSamir Mastaliyev
- Join date:
- April 2014
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
January 19, 2010 at 5:44 pm #329762gray
i don’t have such module .prbalge
the problem is that, i don’t want it to be placed in FOOTER.here is the code of counter
<!--Openstat-->
<span id="openstat2028674"></span><script type="text/javascript"> var openstat = { counter: 2028674, image: 19, next: openstat }; document.write(unescape("%3Cscript%20src=%22http" +
(("https:" == document.location.protocol) ? "s" : "") +
"://openstat.net/cnt.js%22%20defer=%22defer%22%3E%3C/script%3E")); </script>
<!--Openstat-->Is there any other method?
gray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
January 19, 2010 at 6:28 pm #329770What about templatesja_teline_iiilayoutsblocksfooter.php, at the end of the file, after all <div>
Have you tried this?1 user says Thank You to gray for this useful post
micrantha Friendmicrantha
- Join date:
- May 2007
- Posts:
- 465
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 158 times in 148 posts
January 19, 2010 at 7:27 pm #329782Hello
To find the position you want you have to understand the organisation of the template.
Take a look in file layouts/default.php (if you are using default layout).
Near the end you see these lines:<!-- //MAIN CONTAINER -->
<?php $this->loadBlock('botsl') ?>
<!-- FOOTER -->
<?php $this->loadBlock('footer') ?>
<!-- //FOOTER -->
You see where the block bottom-spotlights is loaded, above the footer.
so I guess you could enter your code above footer, beneath bottom spotlights.But you could as well enter your code in one of the blocks, for example at the end of the block bottom spotlight, in file layouts/blocks/botsl.php
Try it and you will find the right spot.
Good luck,
MicranthaSamir Mastaliyev FriendSamir Mastaliyev
- Join date:
- April 2014
- Posts:
- 82
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
January 19, 2010 at 9:17 pm #329788thank you everybody. found the place where to place counter!
-
AuthorPosts
This topic contains 7 replies, has 4 voices, and was last updated by Samir Mastaliyev 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum