Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    22
    Plugin Contributions
    0

    Default Adding a HTML link to a counter

    Im hoping someone can help me with this, im sure its pretty easy.

    I have two sets of code that i need to add to my website, one will give me a button :
    <a href="http://www.oz-e-wahm.com/topsites/"><img src="http://www.oz-e-wahm.com/topsites/button.php?u=babychilli" alt="Australian Work From Home Online Business Sites" border="0" /></a>


    the other is just code:
    http://handmadekids.gotop100.com/in.php?ref=113
    (I dont think it give me a button )


    Both of these are counters so will add how many times my webpage is clicked on. Or something like that

    what would I do to add these to appear on the right hand side bar?

    my website is www.babychilli.com.au
    Last edited by bchilli; 19 Aug 2009 at 03:54 PM. Reason: adding website addresss

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Adding a HTML link to a counter

    There are a few ways of doing this but have a look at the blank sidebox mod which will be a good place to start:

    http://www.zen-cart.com/index.php?ma...roducts_id=174

  3. #3
    Join Date
    Jun 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Adding a HTML link to a counter

    Thanks for that.

    How do I add HTML content :
    quote from instructions:
    Customising the Content
    You can put virtually any HTML-based content you wish into your new sidebox, constrained only by your imagination and the space available. This includes text, images, links, buttons, forms, etc. There are examples in the files themselves that show the difference between simple textual additions for a monolingual site, and how to include text for multilingual sites.


    ?
    thank you

    Ie can I link to a new ezy page?

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Adding a HTML link to a counter

    Edit the file:

    blank_sidebox_defines.php

    which you will find in includes/languages/english/extra_definitions/ or in the override version of that in yourtemplate.

    You can add links to wherever you wish. Here's an example of what it might look like:

    Code:
    define('BOX_HEADING_BLANK_SIDEBOX', 'Weather');
    
    define('TEXT_BLANK_SIDEBOX', '<a href="http://www.raintoday.co.uk" rel="nofollow" class= "category-top" target="blank">Weather Info</a>');
    Which produces a heading of 'weather' and under it a link to http://www.raintoday.co.uk.

 

 

Similar Threads

  1. Re: Adding a category and having the link to html page?
    By DigitalGuard in forum General Questions
    Replies: 3
    Last Post: 6 May 2008, 11:49 PM
  2. Adding HTML link inside email body
    By Jandor in forum General Questions
    Replies: 1
    Last Post: 4 Feb 2008, 03:40 PM
  3. Adding a stat counter to zencart
    By blind1 in forum General Questions
    Replies: 10
    Last Post: 20 Jul 2007, 08:34 PM
  4. Adding 'add to cart' link to a seperate html page
    By JDR wheels in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Jan 2007, 08:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg