Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Location
    Longmont, CO
    Posts
    91
    Plugin Contributions
    0

    Default Which page to edit ?

    I forgot the name of the page to edit to add more meta tags on the main website. I already known about meta_tags php but there is another page to add these meta tags for google and yahoo verification. Its a core/base index HTML file if I remember right.

    <meta name="verify-v1" content="e5mKbGLeqWm7s/1AXsfQkSxw0prZnd3T87oZNlB3jgY=" />
    <meta name="y_key" content="b46b8688b81cbb31" />

    These need to be added.

    Thanks

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

    Default Re: Which page to edit ?

    Make a copy for your template and load it into your template folder structure of

    html_header.php

  3. #3
    Join Date
    May 2009
    Location
    Longmont, CO
    Posts
    91
    Plugin Contributions
    0

    Default Re: Which page to edit ?

    That's the one i needed.

    Thank you.
    Drunkguy


  4. #4
    Join Date
    Aug 2009
    Location
    Cornwall, Ontario, Canada
    Posts
    2
    Plugin Contributions
    0

    Default Re: Which page to edit ?

    Where is that file located?

    Thanks.

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

    Default Re: Which page to edit ?

    CanadaBuckles,
    Where is that file located?
    The html_header.php file referenced for this, one can find the core file that is not to be edited, only a copy for your template

    includes/templates/template_default/common

    The edited copy you load to
    includes/your_templates/common

    create the dir if it does not exist

  6. #6
    Join Date
    Aug 2009
    Location
    Westland, Michigan
    Posts
    106
    Plugin Contributions
    0

    Default Re: Which page to edit ?

    Where do I put the Google script?

    <meta name="google-site-verification" content="m7mcpxkSc1TnoGd_XPEooooooD0cDLi7qvj_XEJQY" />

    When I place it in here my main page gets messed up! Could you tell me what I am doing wrong. THANK YOU


    Below is the file from includes/template/cherry_zen/common

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_header = true;<br />
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
    */
    ?>
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <!-- divs for drop shadow -->
    <div id="nw"><div id="ne"><div id="se"><div id="sw"><div id="n"><div id="s"><div id="w"><div id="e"><div id="main"><table id="workaround"><tr><td>
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMainSearch">
    <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
    </div>
    <div id="navMain">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><span><?php echo HEADER_TITLE_CATALOG; ?></span></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF; ?></span></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN; ?></span></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
    <?php } } ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS; ?></span></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><span class="last"><?php echo HEADER_TITLE_CHECKOUT; ?></span></a></li>
    </ul>
    </div>
    </div>
    <!--eof-navigation display-->
    <!--bof-branding display-->
    <div id="logoWrapper" class="clearfix">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <!--eof-branding display-->
    <!--eof-header logo and navigation display-->
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    <?php } ?>
    "I shoot an arrow into the air, where it lands I do not care: I get my arrows wholesale!” Curly Howard

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

    Default Re: Which page to edit ?

    If you are asking about this line of code
    Code:
    <meta name="google-site-verification" content="m7mcpxkSc1TnoGd_XPEooooooD0cDLi7qvj_XEJQY" />
    Then it needs to be added to a copy for your template of

    /includes/templates/template_default/common/html_header.php

    And if you bothered to read this was stated in post #2

  8. #8
    Join Date
    Aug 2009
    Location
    Westland, Michigan
    Posts
    106
    Plugin Contributions
    0

    Default Re: Which page to edit ?

    Thank you for your QUICK and helpful response. It now works. And I misread post #2
    "I shoot an arrow into the air, where it lands I do not care: I get my arrows wholesale!” Curly Howard

 

 

Similar Threads

  1. Which file allows you edit the main page ?
    By macc88 in forum Basic Configuration
    Replies: 5
    Last Post: 9 Nov 2009, 12:26 PM
  2. Which files to edit?
    By rewt in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Sep 2009, 07:51 PM
  3. which file to edit order completed page?
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Dec 2007, 12:19 AM
  4. Which file do I edit for All Products page
    By onisama in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Jul 2006, 10:19 PM

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