Page counter in lower left corner Page counter in lower left corner
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Page counter in lower left corner

Started by led, July 11, 2006, 11:17:07 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

led

Hi

I would like to have a page counter in the lower left corner, just under or above the "php" logo.
I have a counter code:

<!-- chart.dk unified trackercode - v1 -->
<script src='http://www.chart.dk/js/unified.asp'></script>
<script language='javascript'>
track_visitor(76401, '');
</script>
<noscript>
<a href="http://www.chart.dk/ref.asp?id=76401" target="_blank">
  <img src="http://cluster.chart.dk/chart.asp?id=76401" border="0" alt="Chart.dk">
</a>
</noscript>
<!-- chart.dk unified trackercode - v1 -->

But where should I put it?
I only want it to be seen on the main page (index.php), and it would be nice if it is on index.php nomatter what theme people choose.

Sami

- if you want it just on index.php ,IMO you must create a plugin for it, there is no way to write a mod for it
- also you can modify each template.html (for each theme that you have) and add that code to the end of them.
‍I don't answer to PM with support question
Please post your issue to related board

led

Thank you.

How can I make the counter be just above the php logo?
Or maybe even better, in the center of the page?
Now it´s a bit out to the left
See here:

www.larsemil.dk

Sami

add this to thmes/your theme/template.html

<table align="center"><tr><td><!-- chart.dk unified trackercode - v1 -->
<script src='http://www.chart.dk/js/unified.asp'></script>
<script language='javascript'>
track_visitor(76401, '');
</script>
<noscript>
<a href="http://www.chart.dk/ref.asp?id=76401" target="_blank">
  <img src="http://cluster.chart.dk/chart.asp?id=76401" border="0" alt="Chart.dk">
</a>
</noscript>
<!-- chart.dk unified trackercode - v1 --></td></tr></table>


between {CUSTOM_FOOTER} and {VANITY} placeholders
‍I don't answer to PM with support question
Please post your issue to related board

led


led

If I want a little space between the flags and the counter. How do I do that?

Sami

add a

<br/>

at the beginning of my previous code
‍I don't answer to PM with support question
Please post your issue to related board

led