Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2019
    Location
    United States
    Posts
    44
    Plugin Contributions
    0

    Default "Page not working" when changing header.php

    When changing the file includes/languages/english/header.php to read:
    define('HEADER_SALES_TEXT', 'Just when you thought it couldn't get any better!');
    and I refresh the store front I get a "Page not working".
    I realized that I had to delete the single quote in "couldn't," and make it two words:

    define('HEADER_SALES_TEXT', 'Just when you thought it could not get any better!');
    In order for the page to load properly.

    Is there another way of writing this code?
    I do want the tagline to read:

    "Just when you thought it couldn't get any better!"


    Also.....

    How do I change the font size and make it italic?

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: "Page not working" when changing header.php

    Welcome to the forum.

    One of the things that will confuse your new times with the forum is not following the general procedures.

    First, I agree that the forum search engine is running on one cylinder. Search your question in Google adding Zen Cart to the phrase. Adding +Zen +Cart will force it to be a part of the response.

    If a previous answer is not found, post a thread with that question.

    If a previous answer is not sufficient, provide what is different in your case and what you need to happen.

    Just as you would need a different specialist on your car, you will need to attack one thing at a time and in the appropriate forum. If your thread is titled Car Won't Start, the AC specialist will not look at the thread no matter how many times you add "the car won't cool off either" to your thread.

    You're now part of one of the most envied forums in e-commerce. It can and will work for you. Take the time to read https://www.zen-cart.com/faq.php and you'll have smooth sailing.

    Changing font style and size is normally done in the stylesheet. If using Chrome, right-click the font and select inspect. If using Firefox, right-click and select inspect element. If you use windows and not Chrome or Firefox, it's time to pick one.

    Best of luck on the forum. We'll be here.

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

    Default Re: "Page not working" when changing header.php

    Also note, that while it may have been a mistake of double clicking submit or some sort of communication issue, but there were two versions of this post. I haven't gone back to see if they were both posted in the same thread, but it does appear that there is now an answer to both parts of the original post (OP). The other thread has the answer to how to format the define. This thread has an answer from dbltoe to how to approach forum searches and the formatting of text...

    Look forwards to answering other questions where answers have not been found.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2019
    Location
    United States
    Posts
    44
    Plugin Contributions
    0

    Default Re: "Page not working" when changing header.php

    Thank you for your clear direction. Will definitely use Google and add +Zen +Cart to the phrase. Great idea. I fully can understand how Zen Cart 'is the most envied forums in e-commerce.'

    I would like to supporting your Forum. How can I do so?

  5. #5
    Join Date
    Oct 2019
    Location
    United States
    Posts
    44
    Plugin Contributions
    0

    Default Re: "Page not working" when changing header.php

    I am sorry that my question posted twice, however, the first one I posted had bold, italic and color in it and after I pressed "Submit New Thread" then checked if it posted, I didn't see it, so I re-posted it without bold, italic and color. It then showed.

    Will keep in mind that although I may not nee the first submission, it has been posted.

    Thanks!

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: "Page not working" when changing header.php

    Quote Originally Posted by MDLIV View Post
    I would like to supporting your Forum. How can I do so?
    https://www.zen-cart.com/content.php?6-donate gives you several options.

  7. #7
    Join Date
    Oct 2019
    Location
    United States
    Posts
    44
    Plugin Contributions
    0

    Default Re: "Page not working" when changing header.php

    P.S. I asked two question in one post because I thought it would take up less space in the thread, however, I fully understand the reason behind posting the two questions on two different threads, with two different titles.

    Thanks

  8. #8
    Join Date
    Oct 2019
    Location
    United States
    Posts
    44
    Plugin Contributions
    0

    Default Re: "Page not working" when changing header.php

    Thank you!

 

 

Similar Threads

  1. v156 "Page not working" when changing header.php
    By MDLIV in forum General Questions
    Replies: 2
    Last Post: 13 Oct 2019, 10:58 PM
  2. Replies: 4
    Last Post: 3 Apr 2014, 10:42 AM
  3. Google checkout not working getting Oops! page when button is clicked???
    By paddy_uk2007 in forum Addon Payment Modules
    Replies: 2
    Last Post: 11 Dec 2008, 01:27 PM
  4. template_func.php not working on custom template front page
    By bazfr in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Aug 2008, 02:17 AM
  5. Rollover Images not working on product page when HoverBox3 is turned ON
    By Sugarfreegum in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 29 Mar 2008, 01:29 PM

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