Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2009
    Location
    New York
    Posts
    157
    Plugin Contributions
    0

    Default Login button in header

    My ZC template uses code in tpl_header.php to put the login button above the header. I tried putting it in the sidebox(important links)using ezpages. While login works the logout and My account are not where I want them to be.
    Does the addon of Linda's original program solve this problem? Is the addon compatible with latest zen cart version?

    Thanks for your reply

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

    Default Re: Login button in header

    Does the addon of Linda's original program solve this problem? Is the addon compatible with latest zen cart version?
    Linda who? and what addon? What problem?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Location
    New York
    Posts
    157
    Plugin Contributions
    0

    Default Re: Login button in header

    This is in reference to a sidebox add on by DrByte who changed Ajeh's original code

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

    Default Re: Login button in header

    OK you are posting in "Templates, Stylesheets, Page Layout" which deals with default code BUT you still have not answered
    what addon?
    What problem?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Login button in header

    You might peek at the Free Software Add-Ons and see if the current version helps you ...
    http://www.zen-cart.com/index.php?ma...roducts_id=154
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Mar 2009
    Location
    New York
    Posts
    157
    Plugin Contributions
    0

    Default Re: Login button in header

    Thanks Ajeh. That is precisely what I was looking for. The greatest moment was when the login disappeared and logout and My account showed up. Great!!
    I need to shift the login box slightly to the left for alignment. How can I do that. www.arunachala.org/bookstore

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Login button in header

    Glad that got things working ...

    As to the layout, I am not the designer type, perhaps someone with a few more skills than I on layouts can help you out with this further ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Login button in header

    Add this to your stylesheet
    #loginboxContent input {margin-left: -15px}

  9. #9
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Login button in header

    You could also edit the tpl_login_box.php of the mod in
    catalog/includes/templates/template_default/sideboxes

    at line 36 and 37 change the size in red to a smaller value

    $content .=LOGIN_BOX_EMAIL_ADDRESS . '<br />' . zen_draw_input_field('email_address', '', 'size="24"').'<br />';
    $content .=LOGIN_BOX_PASSWORD . '<br />' . zen_draw_password_field('password', '', 'size="24"') . '<br />';

  10. #10
    Join Date
    Mar 2009
    Location
    New York
    Posts
    157
    Plugin Contributions
    0

    Default Re: Login button in header

    Thanks Keneso. The login boxes are left aligned now. What a wonderful ZC forum we have here!!

 

 

Similar Threads

  1. facebook like button and google + button in Header.
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Jan 2012, 04:46 PM
  2. How can I make the Header Search button be a CSS button?
    By makehveli in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Aug 2011, 03:01 AM
  3. Replies: 2
    Last Post: 24 May 2011, 09:21 PM
  4. Want the Login link in header to take customer to Secure Login page
    By mom2da3ks in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Feb 2011, 04:50 PM
  5. Login button
    By Adib in forum Customization from the Admin
    Replies: 2
    Last Post: 12 May 2008, 10:54 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