Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    160
    Plugin Contributions
    0

    Default Create Account Header Link

    Hi,

    Is there a way to enable the create account link to show up in the header next to home and log in links up top?

    I'm not sure if I removed it when first setting my site up. I do see it defined in the languages files so I guess it must exist.

    Please let me know

    My site: bequjuice.com

    Thanks.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Create Account Header Link

    Do you want a separate link? It says: login/create account there now.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Mar 2011
    Posts
    160
    Plugin Contributions
    0

    Default Re: Create Account Header Link

    Hi Kim,

    yea would like to separate it. I do see "create account" definition in the english folder. I was wondering if maybe I turned it off previously.

    Or do I have to separate it myself?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Create Account Header Link

    It is only one link by default, so you would need to make the create account link yourself. Just add another link in the header nav section of /includes/templates/your_template/common/tpl_header.php.
    Duplicate and adjust the line that makes the login link:
    PHP Code:
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT'''SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT?></a></li>
    [/php]

  5. #5
    Join Date
    Mar 2011
    Posts
    160
    Plugin Contributions
    0

    Default Re: Create Account Header Link

    thank you.

  6. #6
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Create Account Header Link

    Quote Originally Posted by gjh42 View Post
    It is only one link by default, so you would need to make the create account link yourself. Just add another link in the header nav section of /includes/templates/your_template/common/tpl_header.php.
    Duplicate and adjust the line that makes the login link:
    PHP Code:
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT'''SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT?></a></li>
    [/php]
    Hi Glenn,

    I would like to do the same, which is add a "Create Account" Link next to the "Log In" link in the header on Desktop view and on Mobile View. I tried doing it your way but obviously it did not display correctly
    I have a new install of zen cart 1.5.7c with PHP 7.3 and Responsive_classic Template with OPC plugin installed.
    Could you Please advise the Updated method on how I can do this with the new tpl_header.php?
    Thank you in advance.

 

 

Similar Threads

  1. v150 Create Account link in Header
    By Late Landing in forum General Questions
    Replies: 4
    Last Post: 13 Aug 2012, 10:23 PM
  2. 'Create an Account' link?
    By rooisnor in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Dec 2008, 11:03 PM
  3. Sidebox: Advanced Search, Forgotten Password, Create Account(link colors)
    By toonopoly in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Dec 2006, 12:59 AM
  4. Error in create an account Link
    By marie893 in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2006, 08:39 AM

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