Results 1 to 10 of 14

Hybrid View

  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

 

 

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

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