Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    Default side box mouseover

    I have searched but with no luck
    can someone tell me how to get rid of the "powered by zen cart" that comes from the curser when I mounseover my sidebox headers?
    Thanks
    Matt

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: side box mouseover

    Your URL?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: side box mouseover

    f13shop.com/f13satabase

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: side box mouseover

    ...failed to open stream: No such file or directory in /home/content/f/1/3/f13shop/html/index.php

  5. #5
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: side box mouseover

    My bad.
    I had a typo sorry

    http://f13shop.com/f13database/

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: side box mouseover

    What method did you use to get the sidebox headings replaced with images? That code is causing the alt text, wherever it is.

  7. #7
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: side box mouseover

    here is a link to what I used but I do not see anyghing in the code myself that would make this issue.

    https://www.zen-cart.com/tutorials/i...hp?article=135

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: side box mouseover

    Now in includes/modules/sideboxes/CUSTOM/categories.php Find this:

    $title = BOX_HEADING_CATEGORIES;

    and change it to:

    $title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, HEADER_ALT_TEXT);
    This is adding the value of the constant HEADER_ALT_TEXT as the alt text for every image. Eliminate it (it is an optional parameter) and you will get rid of the alt text.


    This tutorial gives the most difficult of several possible methods for image replacement. Since you are editing the define already, you can put the whole zen_image code there:

    define('BOX_HEADING_CATEGORIES', zen_image(DIR_WS_TEMPLATE . '/buttons/' . $_SESSION['language'] . '/' . 'your_image.gif', 'Your alt & title text for heading')

    Sideboxes with links in the heading (like shoppingcart) have [more] added to the text by default. This would interfere with any image, so if necessary, in your /includes/languages/CUSTOM/english.php find this line of code:
    define('BOX_HEADING_LINKS', '  [more]');

    Change it as follows:
    define('BOX_HEADING_LINKS', '');



    The other method is to install Image Titles from Free Addons; this automatically handles the replacement for any box which has an image file correctly named, without any further code editing.

    I have a revised tutorial almost ready to submit to replace the current version, so hopefully people will not be misled in the future.

  9. #9
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: side box mouseover

    Thank you.
    You are most kind for helping
    I will look into this
    Matt

  10. #10
    Join Date
    Jul 2010
    Posts
    15
    Plugin Contributions
    0

    help question Re: side box mouseover

    Do I put this

    define('BOX_HEADING_CATEGORIES', zen_image(DIR_WS_TEMPLATE . '/buttons/' . $_SESSION['language'] . '/' . 'your_image.gif', 'Your alt & title text for heading')

    In my catagories.php file?
    or my english.php file?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. MouseOver or Hover Box addon?
    By ongat in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Aug 2010, 02:28 AM
  2. tweeking - side box font and side box image
    By stephenn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Dec 2008, 03:20 PM
  3. Need to change manufacturer side box, not normal side box
    By paha in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 12 Jul 2008, 01:23 AM
  4. Change colour of 'sponsors' side box / enable 'featured' side box
    By flatlander in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 29 May 2008, 07:26 AM
  5. Make categories side box different from other side boxes
    By Jeff G in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Nov 2007, 10:16 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