Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2012
    Posts
    24
    Plugin Contributions
    0

    Default Change About us to Sponsors CODE HELP please

    Morning Zenners,

    I am working on my sidebar column changes for the information categories. (about us, shipping and returns, contact us ect)

    I am in an HTML constipation mode at the moment and am having a hard time figuring out this code to show up properly.. I was changing the tab information .php file categories. I am wishing to change the link from about us to Sponsors.

    I do not think I have this code right at all and I am having a brain fart at the moment to think what I may be missing. this is what I changed it too..

    if (DEFINE_ABOUT_US_STATUS <= 1) {

    $information[] = '<a href="' . zen_href_link(FILENAME_SPONSORS) . '">' .BOX_INFORMATION_SPONSORS . '</a>';

    }

    However, its not showing nn my home page it shows like this above shipping: BOX_INFORMATION_SPONSORS.

    Any help is appreciated thanks again!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,049
    Plugin Contributions
    1

    Default Re: Information Change About us to Sponsors CODE HELP please

    You would have to define BOX_INFORMATION_SPONSORS somewhere, probably in the file in the extra_definitions folder from the mod.
    Last edited by stevesh; 3 Aug 2012 at 03:24 PM.

  3. #3
    Join Date
    Aug 2012
    Posts
    24
    Plugin Contributions
    0

    Default Re: Information Change About us to Sponsors CODE HELP please

    thank you for responding, I went into the mod folder and this is the link that I changed that this is what I put as well, nothing has changed in the front home page it still showed as: BOX_INFORMATION_SPONSORS

    The code I used for the mod page was the following

    if (DEFINE_SPONSORS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SPONSORS) . '">' . BOX_INFORMATION_SPONSORS . '</a>';
    }


    It still showed up on the home page with the

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,049
    Plugin Contributions
    1

    Default Re: Information Change About us to Sponsors CODE HELP please

    BOX_INFORMATION_SPONSORS is, I think, a constant that you created. Before you can use it in the code you wrote, you'll need to define a value for it. You could do that in includes/languages/english/extra_definitions/YOUR_TEMPLATE_NAME/about_us.php by adding the red part:

    // this is used to display the text link in the "information" or other sidebox
    define('BOX_INFORMATION_ABOUT_US', 'About Us');
    define('BOX_INFORMATION_SPONSORS', 'Sponsors');

  5. #5
    Join Date
    Aug 2012
    Posts
    24
    Plugin Contributions
    0

    Default Re: Information Change About us to Sponsors CODE HELP please

    OMG Steve you rock that fixed it and I totally overlooked that file in the php... it worked perfectly!!! thank you so much for your help

 

 

Similar Threads

  1. Help please,about tinymce!
    By chinesefeng in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 20 Sep 2010, 03:32 PM
  2. Help Please about downloads
    By thins in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 22 Jul 2009, 07:37 PM
  3. Help About New Template Install Please Help
    By mboley370 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jun 2007, 06:52 PM
  4. Newbie: How to change the Sponsors sidebox to display text
    By TheNek in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Feb 2007, 06:53 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
  •