Results 1 to 10 of 65

Hybrid View

  1. #1
    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,

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    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.

  3. #3
    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

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    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.

  5. #5
    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?

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    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

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

    Default Re: having trouble trying to add a logo

    yep i've added my logo but still nothing

 

 

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

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