Thread: Very First Page

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Very First Page

    I have found 'Simple Google Analytics', can I build it in to that?
    Learning Fast.
    Eden Craft Supplies

  2. #12
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Very First Page

    Just looking through the plugin's and I have also found 'EZ-Pages Meta Tag Fields'. Would this work? I am just trying to make my life a bit simple
    Learning Fast.
    Eden Craft Supplies

  3. #13
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Very First Page

    Quote Originally Posted by adb34 View Post
    There is no issue. I was looking for the right place to put "<meta name="google-site-verification" content="*********" />

    andyb
    Quote Originally Posted by mc12345678 View Post
    Oh, that's a different story. Doesn't that need to be visible on all pages and in the header of the site? Like in includes/templates/YOUR_TEMPLATE/common/tpl_header.php I think is the filename?
    Quote Originally Posted by mc12345678 View Post
    Took a gander at the requirements for google's verification by use of a meta tag, they do only look for the tag in the "root" of the site, so if the first page is the default first page (and not say a category) then the code should be able to be dded to: includes/modules/pages/index/header_php.php and would only show up on the first page. Wwhile minor in quantity of information, this would minimize the amount of content loaded to the browser as it would not be loaded to every page, just the index/main paage.

    Further I was wrong in my first post, main_page is not the first page, that is the tag that is used to identify what page (which follows) is/should be loaded.
    Quote Originally Posted by adb34 View Post
    There are no head tags in includes/modules/pages/index/header_php.php
    Quote Originally Posted by mc12345678 View Post
    Correct. The header_php.php content is loaded between them. Have to look at the code from a bigger perspective, a file is loaded (I think it is the template file I described before) that kicks off the top of the header, but then branches out to collect other information and then to display it. Header_php.php (and other files ending with .php in that directory) are loaded before the body content is loaded. You may have to escape the code a little to display html or echo the content, so for example may need to add: ?><Meta info /><?php
    That's because "includes/modules/pages/index/header_php.php" is the WRONG file to modify.. You put the Google meta tag inside the "/includes/templates/YOUR_TEMPLATE/common/html_header.php" file (where YOUR_TEMPLATE = the name of your template's folder)

    You can put the code right after line 41:
    Code:
    <meta name="robots" content="noindex, nofollow" />
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #14
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Very First Page

    Quote Originally Posted by DivaVocals View Post
    That's because "includes/modules/pages/index/header_php.php" is the WRONG file to modify.. You put the Google meta tag inside the "/includes/templates/YOUR_TEMPLATE/common/html_header.php" file (where YOUR_TEMPLATE = the name of your template's folder)

    You can put the code right after line 41:
    Code:
    <meta name="robots" content="noindex, nofollow" />
    I have put the code in the place mentioned. I am getting 'I am unable to verify your site:'
    Learning Fast.
    Eden Craft Supplies

  5. #15
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Very First Page

    Quote Originally Posted by adb34 View Post
    I have put the code in the place mentioned. I am getting 'I am unable to verify your site:'
    Then you need to check back with Google WHY..

    in the meantime post a link to your site here so we can SEE what you SEE..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #16
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Very First Page

    Ughhh, thanks Diva, I really went off to a whole nother tree when I went out on that limb. :) some things are easier than others for me being away from the code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #17
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Very First Page

    Quote Originally Posted by adb34 View Post
    I have put the code in the place mentioned. I am getting 'I am unable to verify your site:'
    My fault. Finger trouble. Sorted now. Thanks for the help from everybody.
    Learning Fast.
    Eden Craft Supplies

  8. #18
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Very First Page

    So if I wanted to add a, for example, a clock, would I put the code into ""/includes/templates/YOUR_TEMPLATE/common/html_header.php"?
    Learning Fast.
    Eden Craft Supplies

  9. #19
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Very First Page

    Quote Originally Posted by adb34 View Post
    So if I wanted to add a, for example, a clock, would I put the code into ""/includes/templates/YOUR_TEMPLATE/common/html_header.php"?
    add a clock? need a better explanation..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #20
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Very First Page

    If the clock code needs to be in the area between <head> and </head>, then that code portion could be loaded there. If you're just looking to put a clock up and thinking that html_header is the place because it has html and is at the top of the page, no.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. First Page very slow to load
    By Jims in forum General Questions
    Replies: 7
    Last Post: 22 Mar 2011, 01:11 PM
  2. First Question New (very) User
    By CoolHandFluke in forum General Questions
    Replies: 9
    Last Post: 30 Jan 2011, 06:49 PM
  3. Very basic, first timer question
    By kittycat in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jun 2007, 04:47 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