Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: <meta name="description" content="MY_IMPORTANT_HOME_PAGE_DESCRIPTION" />

    Quote Originally Posted by Renz View Post
    I do know that having made that html_header.php original to what it was when I downloaded zen cart the, problem has gone and all seems fine..
    Perhaps I missed something in the dialog that's happened over several days.
    Using the original code that came with the original Zen Cart files is usually the safest and most correct "fix".
    That's what I was referring to when I said that it's best not to touch the html_header.php file. I thought that you'd followed a suggestion posted by someone else who was guiding you to changing that file by removing original PHP content and replacing it with specific text so that it's no longer dynamically generated when needed.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: <meta name="description" content="MY_IMPORTANT_HOME_PAGE_DESCRIPTION" />

    Quote Originally Posted by DrByte View Post
    I thought that you'd followed a suggestion posted by someone else who was guiding you to changing that file by removing original PHP content and replacing it with specific text so that it's no longer dynamically generated when needed.
    Ouch!

    'Tis a useful method of having the desired effect (for the client) until more facts were known. We had no idea where
    MY_IMPORTANT_HOME_PAGE_DESCRIPTION
    was originally defined, or even what defined it, not to mention if something else that may be dependent on it.

    There was also no assurance that the module that used the define would be reading the zencart language and/or meta files either, so the suggestion to add it to the file that contained the other define should ensure it'll be available when needed.

    Of course, going back to the original zen cart install files was always an option but that would break whatever cool feature it was that the home page description deemed to be MY_IMPORTANT'

    So There

    Cheers
    Rod

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Remove Store Name from <meta name="description" content=
    By Podgeminster in forum General Questions
    Replies: 9
    Last Post: 14 Jul 2016, 06:16 PM
  2. Replies: 0
    Last Post: 3 May 2014, 07:47 AM
  3. Replies: 1
    Last Post: 21 Jul 2010, 07:36 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