Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Trying to rename links just giving me a blank page

    Hi, iam trying to rename:

    In the categories sidebox:
    "New Products ..." to "Newly Listed ..."
    "All Products ..." to " List All ..."

    And also the box:
    "New Products in October" To "newly Listed in October"

    and also remove "Power by Zen cart" at the footer of my page

    I been trying to do this in my english.php initially it looks fine, but then i realised sometimes i get blank page, and also the "write a review" and "Tell a friend" function dosent work.

    Just wondering of iam missing out on something???

    This really been stressing me out, hope somebody can help. Thanks

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

    Default Re: Trying to rename links just giving me a blank page

    Post the contents of your english.php file. You may have an error in the php. What did you use to edit the file?
    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

  3. #3
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: Trying to rename links just giving me a blank page

    Hi, thanks for getting back to me. I edited the file includes/languages/english.php and saved it to includes/languages/custom/english.php

    I changed these lines:

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. <a href=" " target="_blank"> </a>');

    define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <strong>%d</strong> to <strong>%d</strong> (of <strong>%d</strong> Newly Listed)');


    // whats_new box text in sideboxes/whats_new.php

    define('BOX_HEADING_WHATS_NEW', 'Newly Listed');

    define('CATEGORIES_BOX_HEADING_WHATS_NEW', 'Newly Listed ...');


    define('TEXT_NO_ALL_PRODUCTS', 'More Listings will be added soon. Please check back later.');

    define('CATEGORIES_BOX_HEADING_PRODUCTS_ALL', 'List All ...');

    Everything looks fine, but when a try clicking on "Write a review" or "Tell a friend" it displays a blank page.

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

    Default Re: Trying to rename links just giving me a blank page

    Take out what I've highlighted in red and see what happens. I don't know why you have it there.

    Code:
    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. <a href=" " target="_blank"> </a>');
    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

  5. #5
    Join Date
    May 2008
    Posts
    349
    Plugin Contributions
    0

    Default Re: Trying to rename links just giving me a blank page

    Hi tried ur suggestion it looks ok, but when i click on either "Write a review" or "Tell a Friend" it just shows a blank screen

    Was wondering would this be because i renamed:
    In the categories sidebox:
    "New Products ..." to "Newly Listed ..."
    "All Products ..." to " List All ..."

    And also the box:
    "New Products in October" To "newly Listed in October"

    Is this because some other folder or file needs to be renamed???

    Hope u can help, Thanx

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

    Default Re: Trying to rename links just giving me a blank page

    Changing the literals shouldn't make any difference. Nothing in that file should have an impact on "write a review" or "tell a friend".
    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

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

    Default Re: Trying to rename links just giving me a blank page

    Yes and no. There could have been a tiny mistake in the php (like a missing ; or extra blank spaces at the end) which caused it. I'm glad you got it worked out.

    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

 

 

Similar Threads

  1. Replies: 16
    Last Post: 2 May 2016, 05:14 AM
  2. v154 admin giving blank page
    By irishshopper in forum General Questions
    Replies: 13
    Last Post: 21 Feb 2015, 01:01 AM
  3. v139h USPS module suddenly giving error and blank page on checkout
    By sharon1175 in forum Addon Shipping Modules
    Replies: 5
    Last Post: 14 Nov 2013, 04:19 AM
  4. Fix Cache Key file is just giving a blank page.
    By Kenichi in forum General Questions
    Replies: 6
    Last Post: 16 Jul 2012, 01:10 AM
  5. USPS Shipping Module giving a blank page...
    By pruce in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 28 Sep 2009, 06:48 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