Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default New Products Header Bar edit

    Does anyone know where to go to change the New Products header bar?
    On my home page, it is a center box listed below the welcome text. I didn't set it up this way...it's a factor of the template which came with the Zen Cart upload from my webhost.

    It used to say New Products For (current month)

    I want it to just say "New Products".

    I was able to change it to New Products For Upcoming Season by changing the following code in the INCLUDES>MODULES>new_products.pho

    sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . to
    sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime(Upcoming Season')) .

    I know (!) this is not the way to do it. I know that it is set up to keep track of the current month. My store owners don't want this.

    I have looked extensively through every template and php page I can find and no where do I see where to change it to just read: NEW PRODUCTS (or even Recently Added Products).

    I've tried every search I can think of, including using the Developers Tool kit.
    If you know of a way to do this could you please be as specific as possible as, obviously, I'm not good at finding things yet!

    Thanks so much.

  2. #2
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    includes/languages/english.php

    define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

    Edit New Products For %s to just New Products and save to your overide folder

    P.S...I believe there is no need to edit the file you edited, just this one. If you want to limit the new products that show in there to within a certain time-frame:

    Admin>>Configuration>>Maximum Values>>New Product Listing - Limited to ...

    If you want to take it off the index page completely:

    Admin>>Configuration>>Index Listing>>Show New Products on Main Page
    and switch to 0
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  3. #3
    Join Date
    Mar 2008
    Posts
    73
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    Thank you (beyond words!) Simple solution but impossible to find for someone who's new to this!

    My "boss" is much happier too!

  4. #4
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    You're welcome
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  5. #5
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    Hello I am trying to figure out how to get a picture or just a color graphic bar along with some text in the new products center box. I have figured out how to add an image you name it centerboxhead-new.gi and put it in the correct directory. However when I change resolutions the image will shrink or grow depending and it will really put the site out of wack. So I am curious on how to set it up like this...

    http://(sorry, site offline)/138/ind...ate_dir=rustic

    No matter if you are at 800 x 600 or 1280 by 768 it will work for everything. If you check out mine at

    www.wpc-consulting.com/~stxmill/

    You will see that my graphic will stretch or shrink depending on the resolution and it will not fill the box completely which looks horrible. Any thoughts on how to fix this?

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

    Default Re: New Products Header Bar edit

    Are you talking about the image that repeats itself across the header background?
    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.

  7. #7
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    I'm talking about the new products of the month on the home page of this site...

    http://www.wpc-consulting.com/~stxmill/

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

    Default Re: New Products Header Bar edit

    It is more than one image set up to use the sliding doors technique.
    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.

  9. #9
    Join Date
    Apr 2008
    Posts
    283
    Plugin Contributions
    0

    Default Re: New Products Header Bar edit

    Not sure...I am not looking to do different images for each month or anything like that. I just want one image or bar with new products on there. But the important part is to have it universal for all resolutions.

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

    Default Re: New Products Header Bar edit

    Actually, your graphic will not stretch or shrink depending on the resolution, which is why it doesn't fit neatly when the window stretches/shrinks. You are using Image Titles, which substitutes one image for the whole title text. To get the corn to stretch with the centerbox, you will have to use another approach and make the background two images in the sliding doors method.

    You can't reliably use that font for the text, so you might leave the Image Titles feature alone, change the image to a transparent gif with just the words, and edit the centerbox code to add another wrapper to its heading. Then you can apply the CSS sliding doors images to the background.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 How do I edit the Header Main bar?
    By bscho in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 17 Jul 2016, 02:25 PM
  2. Edit Header in New Template
    By flex67 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 2 Oct 2010, 02:29 AM
  3. can't edit EZPages bar header, can anyone help?
    By recallcreative in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 May 2009, 11:44 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