Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Problem changing logo & header text.

    OK, I seem to be having trouble seeing the changes I made to the "header.php" file,
    as laid out in https://www.zen-cart.com/tutorials/i...hp?article=125.

    I opened the original in includes/languages/english/header.php:
    PHP Code:
    define('HEADER_ALT_TEXT''Powered by Zen Cart :: The Art of E-Commerce');
      
    define('HEADER_SALES_TEXT''TagLine Here');
      
    define('HEADER_LOGO_WIDTH''192px');
      
    define('HEADER_LOGO_HEIGHT''64px');
      
    define('HEADER_LOGO_IMAGE''logo.gif'); 
    Changed that to:
    PHP Code:
      define('HEADER_ALT_TEXT''Utility Scripts for the 3D Artist');
      
    define('HEADER_SALES_TEXT''Orca Tools\nUtility Scripts for the 3D Artist');
      
    define('HEADER_LOGO_WIDTH''69px');//'192px');
      
    define('HEADER_LOGO_HEIGHT''90px');//'64px');
      
    define('HEADER_LOGO_IMAGE''OrcaSoulLogo.gif');//'logo.gif'); 
    And saved that in includes/languages/english/orcatools/header.php

    My folder name is "includes/templates/orcatools", in which I have placed the modified template_info.php file:
    PHP Code:
    $template_name 'OrcaTools';
    $template_version 'Version 1.0';
    $template_author 'Stephen M. Olds (c) 2010';
    $template_description 'This template set is designed for OrcaTools';
    $template_screenshot ''
    I have logged into admin, clicked tools and selected the OrcaTools template.

    When I go to "Online Catalog", I see the original text & logo.

    But the footer does contain "Copyright © 2010 OrcaTools. Powered by Zen Cart" - so something changed...

    What am I missing?

  2. #2
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Have you tried clearing your browser cache?

    Rob

  3. #3
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Quote Originally Posted by RobWUK View Post
    Have you tried clearing your browser cache?

    Rob
    Yes, I have - several times. Even shut the computer off, rebooted, and it still doesn't work.

  4. #4
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Are you sure you uploaded the logo to your own template images file

  5. #5
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Quote Originally Posted by abs007 View Post
    Are you sure you uploaded the logo to your own template images file
    Yes, they are all in the images folder under the orcatools folder.

  6. #6
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Something must be wrong there

    includes/languages/english/yourtemplate/header.php
    includes/templates/yourtemplate/images/imagefilename.jpg

    have you check that the above both have the correct spelling for your template folder, and the same case for your filenames etc, as i've noticed you are using both upper and lowercase letters in your filenames, i generally keep everything lowercase, less hassle

    rob

  7. #7
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Quote Originally Posted by RobWUK View Post
    Something must be wrong there

    includes/languages/english/yourtemplate/header.php
    includes/templates/yourtemplate/images/imagefilename.jpg

    have you check that the above both have the correct spelling for your template folder, and the same case for your filenames etc, as i've noticed you are using both upper and lowercase letters in your filenames, i generally keep everything lowercase, less hassle

    rob
    Lowercase, probably a good idea.

    I'll check on the files when I get home, pretty sure they are just as you show.

    After doing some reading on the web - amazing how much there is! - I'm wondering if it's a problem with the permissions of the folders/files...I don't remember making any changes like that...

    Thanks

  8. #8
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Quote Originally Posted by RobWUK View Post
    Something must be wrong there

    includes/languages/english/yourtemplate/header.php
    includes/templates/yourtemplate/images/imagefilename.jpg

    have you check that the above both have the correct spelling for your template folder, and the same case for your filenames etc, as i've noticed you are using both upper and lowercase letters in your filenames, i generally keep everything lowercase, less hassle

    rob
    I finally got this to work - after I removed everything and reinstalled the entire package. I realize now that I had made some errors in reading the instructions on where to put files - plus the permissions were wrong on some.

    So, I now have the logo and text, with the header background image I want - all scrunched up in the right side of the header instead of all across the header. I'll look at what I need to do tomorrow, most likely just change the size of the box in the css file.

    One thing I don't seem to see is how to turn off the "home/log in" buttons in the very top left of the page - and make the logo a default Home button. I tried adding a <a>...</a> tag set, but it did not like that at all...

    Been a long day, my head is spinning with all this new stuff, time for a good book and some wine & drift off to sleep...

  9. #9
    Join Date
    Jan 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    I'm looking for the same thing. Change "home" to an image of my logo.
    Hope we get an answer soon....
    Suzanne

  10. #10
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: Problem changing logo & header text.

    Quote Originally Posted by joez5374 View Post
    I'm looking for the same thing. Change "home" to an image of my logo.
    Hope we get an answer soon....
    Suzanne
    What same thing are you wanting an answer to, what what's the problem with your site?

    Can you provide a link?

    Rob

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing text colour in centrebox & Define Pages Editor problem with text
    By annav in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Oct 2010, 10:55 AM
  2. Changing Text Color in the header & footer
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 Oct 2008, 03:21 AM
  3. changing manufacturer text to a logo
    By tarynhipp in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 May 2008, 06:47 AM
  4. Center Logo in Header Vertically & Wrap Text Around Image
    By chava in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 6 Oct 2007, 04:18 AM
  5. logo & header
    By grabithot in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jan 2007, 10:27 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