Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Location
    Tennessee
    Posts
    44
    Plugin Contributions
    0

    red flag Need help editing side box images

    I am following this ~> https://www.zen-cart.com/tutorials/i...hp?article=135 to edit each of my side box images, making a custom box for each box header.

    But, I can't for the life of me figure out WHERE to edit the EzPages box. I've tried the "more info" and the "info" boxes, and those aren't it lol

    I don't see a 'Box_Heading_EZPAGES' inside english.php TO edit.

    Any help, would GREATLY be appreciated!

    The site I'm working on is www.Mom-Host.com if you need to see what I'm doing/trying to do.

    Thanks in advance, Shannon

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Need help editing side box images

    You can also add images in the stylesheet - in this case in #ezPagesHeading, with
    background-image: url(../images/yourimage.jpg);

  3. #3
    Join Date
    Aug 2008
    Location
    Tennessee
    Posts
    44
    Plugin Contributions
    0

    Default Re: Need help editing side box images

    Stevesh, thanks for the reply.

    I didn't see "#ezPagesHeading" in the Stylesheet. I wasn't sure if I was supposed to add it, so I tried adding that to the stylesheet, and it didn't work for me.

    Any other ideas?

  4. #4
    Join Date
    Aug 2008
    Location
    Tennessee
    Posts
    44
    Plugin Contributions
    0

    Default Re: Need help editing side box images

    Ok, so I was in english.php and figured I would try something. If it didn't work, I could delete it.

    So, I added a couple of lines to english.php:

    // ez pages
    define('BOX_HEADING_EZ_PAGES','importantlinks.gif');

    and it worked! My Ez Pages box image is now on my site!

    I just copied the way all the other box headings looked in there, and it showed up.

    Also, in EzPages.php, I replaced $title = BOX_HEADING_EZ_PAGES;

    with $title = zen_image($template->get_template_dir(BOX_HEADING_EZ_PAGES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_EZ_PAGES, HEADER_ALT_TEXT);

    Thanks for trying to help!! I hope by posting my results it can help someone else :)

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

    Default Re: Need help editing side box images

    You were looking in the wrong file.
    From Developers Toolkit output:

    Searching 925 files ... for: BOX_HEADING_EZ

    /public_html/includes/languages/english/extra_definitions/ez_pages_definitions.php

    Line #13 : define('BOX_HEADING_EZPAGES','Important Links');

    /public_html/includes/modules/sideboxes/ezpages.php

    Line #20 : $title = BOX_HEADING_EZPAGES;

    You were also looking for the wrong spelling (though I know it is spelled with an underscore in some places).

 

 

Similar Threads

  1. Need help on Bestsellers side box
    By Captain Nightcap in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Nov 2010, 10:31 AM
  2. Categories side box need help with list marker placement
    By aozhaver in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 12 Oct 2010, 04:11 PM
  3. Side Box editing?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jun 2009, 11:08 PM
  4. Need help changing text on side box called more information?
    By Treasuresbycaz in forum Basic Configuration
    Replies: 2
    Last Post: 24 Dec 2008, 12:01 PM
  5. 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

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