Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65
  1. #1
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default having trouble trying to add a logo

    I give up can any body help me, I’ve been trying to change the look of my store I added a few item that I’ll be selling just so I’d get the feel of how it all works which was really easy,

    I also managed to change the width of the page,

    The bit I’m having trouble with – I’ve been trying to add a logo at the top of my page but to no avail, I followed all the steps and I’ve created all the necessary changes and added all the custom folders that I need but the problem is I’ve messed about with them so much that I now think I’ve done more harm than good, is there somebody willing to have a little look at the files and file structure to see what I’ve done so far,

    Also I’ve written scrapbookingmad test in one of the files just to see if I was getting it in the right place at the top of the page but now I cant seam to find were I done this, and it’s still showing on the home page, but this is not what I want, I want my logo here

    The logo I want to use at the top of each page has been uploaded but I just can seam to see it, but some how I’ve added it to the admin panel at the top, very strange I don’t know what I’ve done there, I don’t mind it there but I’d like to centre it if possible,

    www.scrapbookingmad.com

  2. #2
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: having trouble trying to add a logo

    SORRY WRONG LINK THIS IS THE ONE

    http://www.scrapbookingmad.com/store/

  3. #3
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: having trouble trying to add a logo

    Looks like you're using the Classic Template, so go to Includes/Languages/Classic/header.php. That's where you define your logo image AND your tagline (scrapbookingmad test):

    Code:
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
    define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  4. #4
    Join Date
    Apr 2008
    Posts
    178
    Plugin Contributions
    0

    Default Re: having trouble trying to add a logo

    I opened, Includes/Languages/Classic/

    But the only thing that’s in there is a text document,

    Includes/Languages/Classic/empty.txt

    What shall I do next?

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

    Default Re: having trouble trying to add a logo

    I’ve just looked at the original Zen cart that I downloaded and it’s the same, the header.php isn’t there but there is the empty.txt document, so I’m guessing that I haven’t done any thing wrong?

    Can I just upload the header.php file from Includes/Languages/english/ from the original? Zen cart on my computer to Includes/Languages/Classic

    Or will this be messing things up,

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: having trouble trying to add a logo

    Quote Originally Posted by snarfy View Post
    Can I just upload the header.php file from Includes/Languages/english/ from the original? Zen cart on my computer to Includes/Languages/Classic

    Or will this be messing things up,
    You can, but you don't need to unless you're changing its contents.
    If you're going to alter it, then yes, make a copy of the original version of the file, and place it in your own custom template override folder ... as described in the FAQs:
    https://www.zen-cart.com/tutorials/index.php?article=36
    https://www.zen-cart.com/tutorials/i...hp?article=142
    https://www.zen-cart.com/tutorials/i...hp?article=230
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: having trouble trying to add a logo

    I’m now a little confused I’ve been reading about this for two days and still cant find the answer,

    You said
    “You can, but you don't need to unless you're changing its contents”

    well this is my point the file that I need to change isn’t there all thats there is an empty text file empty.txt
    is this right

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: having trouble trying to add a logo

    Since you've decided to use the "classic" folder as your template, then yes, you'll have to copy the indicated file into the 'classic' folder, and make your changes there.

    My point was ... the file would only be in the 'classic' folder if you were using 'classic' as your template and if you'd made changes to the file. Otherwise the original master file is used (ie: the one in the /includes/languages/english folder) ... as outlined in the FAQs.

    So ... yes ... make a copy of the /includes/languages/english/header.php file and save it to /includes/languages/english/classic/header.php ... and make your changes there.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: having trouble trying to add a logo

    Ok i've done that but still cant seam to get the logo to show at the top of the page, like i said before some how i have managed to get the logo at the top of my admin?, but not the website,
    this is what i have changed it to

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', '');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '980px');
    define('HEADER_LOGO_HEIGHT', '160px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');

    what have i done wrong?

  10. #10
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: having trouble trying to add a logo

    Sn,
    includes/ templates/ classic/ images/
    1. logo.gif
    2. have you changed this yet
    Mark
    Hare Do

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. Having trouble with Checkout
    By trafficzombie in forum Basic Configuration
    Replies: 1
    Last Post: 6 Jul 2009, 09:49 AM
  2. Having Trouble changing only the "Add to Cart' button...
    By aruleal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Oct 2008, 04:12 PM
  3. having trouble refreshing
    By dingfelder in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 4 Sep 2008, 03:13 PM
  4. Having trouble configuring...
    By rajato in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 May 2007, 08:34 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR