Results 1 to 10 of 27

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Editing a template 101

    I find it unlikely that you don't have a header.php file. Look in includes/languages/english/cherry_zen/

    You can also try searching for the text you want to change using admin>tools>developers tool kit. Scroll to the bottom of the screen and type the phrase in the box. Search in "all files catalog/admin".
    Last edited by afo; 23 Jan 2011 at 05:29 AM.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  2. #2
    Join Date
    Jan 2011
    Posts
    124
    Plugin Contributions
    0

    Default Re: Editing a template 101

    Quote Originally Posted by afo View Post
    I find it unlikely that you don't have a header.php file. Look in includes/languages/english/cherry_zen/

    You can also try searching for the text you want to change using admin>tools>developers tool kit. Scroll to the bottom of the screen and type the phrase in the box. Search in "all files catalog/admin".
    There is no includes/languages/english/cherry_zen/

    There is ... /extra_definitions/
    ... /images/
    ..../modules/

    I tried the developers tool kit, but it made absolutely no sense to me. I'm sorry. Still real new to all of this.

    HUGz! Jules

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Editing a template 101

    The developers tool kit will give you a list of the files where the phrase you're looking for is found.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Jan 2011
    Posts
    124
    Plugin Contributions
    0

    Default Re: Editing a template 101

    Okay, I tried the dev tool kit again ... at the bottom ... I tried 'header.php', 'header, and 'HEADER', and all came back with "Error: No matching Configuration Keys were found ... header.php, header and HEADER.



    My oh my ... I can't imagine how this is going to go for me when I try adding products.

    HUGz! Jules

  5. #5
    Join Date
    Jan 2011
    Posts
    124
    Plugin Contributions
    0

    Default Re: Editing a template 101

    Okay, hold on ... I found it in the dev tool kit ... but I am not seeing it in my FTP program ....

    Going way back in my brain ... is this maybe because the CHMOD (?) is not set up for this to be a writable file?

    Oh my doG .... is CHMOD even a word?

    HUGz! Jules

  6. #6
    Join Date
    Jan 2011
    Posts
    124
    Plugin Contributions
    0

    Default Re: Editing a template 101

    Found it.

    Call me Arnold .... "I WILL BE baaaackkk!"

    HUGz! Jules

  7. #7
    Join Date
    Jan 2011
    Posts
    124
    Plugin Contributions
    0

    Default Re: Editing a template 101

    Crapolla ... I did something wrong. I thought I just replaced the text ... but now my website just goes to a blank page.

    All I did was replace the text at the bottom.

    PHP Code:
    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
      
    define('TEXT_GREETING_GUEST''Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
      
    define('TEXT_GREETING_GUEST''Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL''Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION''Define your main Index page copy here.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
      
    // This section deals with product-listing page contents
      
    define('HEADING_TITLE''Available Products');
      
    define('TABLE_HEADING_IMAGE''Product Image');
      
    define('TABLE_HEADING_MODEL''Model');
      
    define('TABLE_HEADING_PRODUCTS''Product Name');
      
    define('TABLE_HEADING_MANUFACTURER''Manufacturer');
      
    define('TABLE_HEADING_QUANTITY''Quantity');
      
    define('TABLE_HEADING_PRICE''Price');
      
    define('TABLE_HEADING_WEIGHT''Weight');
      
    define('TABLE_HEADING_BUY_NOW''Buy Now');
      
    define('TEXT_NO_PRODUCTS''There are no products to list in this category.');
      
    define('TEXT_NO_PRODUCTS2''There is no product available from this manufacturer.');
      
    define('TEXT_NUMBER_OF_PRODUCTS''Number of Products: ');
      
    define('TEXT_SHOW''Filter Results by:');
      
    define('TEXT_BUY''Buy 1 \'');
      
    define('TEXT_NOW''\' now');
      
    define('TEXT_ALL_CATEGORIES''All Categories');
      
    define('TEXT_ALL_MANUFACTURERS''All Manufacturers');
    } elseif (
    $category_depth == 'top') {
      
    // This section deals with the "home" page at the top level with no options/products selected
      /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
      
    define('HEADING_TITLE''Welcome to Pawsome Dogz ');
    } elseif (
    $category_depth == 'nested') {
      
    // This section deals with displaying a subcategory
      /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
      
    define('HEADING_TITLE''Welcome!  We're so glad you stopped by!  We just love when company drops in ... especially if you brought treats'); 
    }
    ?> 


    Maybe an adult beverage and hour in the hot tub will help?

    HUGz! Jules

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Editing a template 101

    Code:
      define('HEADING_TITLE', 'Welcome!  We're so glad you stopped by!  We just love when company drops in ... especially if you brought treats!');
    You omitted the closing single quote ' that I have highlighted where it should be in the code above

    And the major fo-paw is that you used a single quote in the text in

    we're

    And that is read as the ending single quote
    You need to use the escape sequence for any punctuation in text

    single quote = '
    So this becomes - - and the forum will most likely convert it
    Code:
    we're
    And you do have a header.php file at
    /includes/languages/english/
    Yes it did so I have added spaces to prevent that
    we & # 3 9 ; re
    Last edited by kobra; 23 Jan 2011 at 08:14 AM.
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Editing a template 101

    And you do have a header.php file at
    /includes/languages/english/
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Template Editing Question
    By freshteck in forum Customization from the Admin
    Replies: 8
    Last Post: 15 Aug 2012, 02:16 PM
  2. Help, editing template,
    By Shinitenshi in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Sep 2011, 04:48 AM
  3. Basic Template Editing?
    By ojhernandez in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Sep 2010, 03:11 AM
  4. Editing a template
    By fredheads in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Jun 2008, 05:08 AM
  5. Editing a template in DreamWeaver
    By hellman81 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Sep 2007, 10:24 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