Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Location
    California
    Posts
    50
    Plugin Contributions
    0

    Default Header.php Question

    Hi all,
    Hope someone can shad some light on this.

    I was wondering what the following line of code inside the header.php does and if there is a switch that controls it?

    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');

    This line of code is inside the header.php file under /includes/languages/english/

    I'm trying to add a Create a New Account link on the nav bar along with the login and home page link.

    Version 1.3.8a

    I have looked and looked to see if I could find what it does.

    Thanks so much.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header.php Question

    I'm trying to add a Create a New Account link on the nav bar along with the login and home page link.
    Go HERE and find a template that has this and download it to see how this is coded
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2009
    Location
    California
    Posts
    50
    Plugin Contributions
    0

    Default Re: Header.php Question

    Kobra,
    The link that you pointed me to will likely help but, do you know what the following line of code inside the header.php file does?

    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');

    Like other lines of code inside that file there is some type of switch in the sofware that turns on a fuction. What is this line of code used for and does it have a switch?


  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header.php Question

    All that does is defines the readable text assigned to the constant "HEADER_TITLE_CREATE_ACCOUNT" as Create Account
    There is no switch to display on header
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2009
    Location
    California
    Posts
    50
    Plugin Contributions
    0

    Default Re: Header.php Question

    Thanks for the help and quick response Kobra.
    I will use the demo's you pointed me to and see if I can get the resolute I'm looking for.

 

 

Similar Threads

  1. v151 override \includes\modules\pages\shopping_cart\header.php.php??
    By tlyczko in forum General Questions
    Replies: 7
    Last Post: 27 Nov 2012, 06:12 PM
  2. Replies: 1
    Last Post: 8 Feb 2011, 02:07 AM
  3. php code question...placement tpl header file
    By bwhitmire in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Sep 2008, 03:56 PM
  4. PHP Question: Inserting code to refer to another .php file
    By datatv in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Sep 2008, 10:24 PM
  5. PhP question about a line of code in includes/classes/order.php
    By dbrewster in forum Managing Customers and Orders
    Replies: 12
    Last Post: 1 Feb 2007, 03:30 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