ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Rendering the Member Login Tag from an Embedded Template

March 07, 2008 4:50pm

Subscribe [2]
  • #1 / Mar 07, 2008 4:50pm

    desertdaisy

    20 posts

    I’m trying to create a “Super Header” that will offer users a chance to log in.
    The “Super Header” is the first <div> in a template called header_content that I embed in other templates.
    When I render just the header_content template, everything works. But when I view my website, I can see the boxes for Username and Password, and I can enter data in them, but the “Go” button doesn’t work. Additionally, the links for Contact the Webmaster and Forgot your password do not work.

    Here’s the code for the “Super Header” <div>:

    <div id="superHeader">
    
    Log in to see everything! Not registered? {encode="{webmaster_email}" title="Contact the webmaster."}
    {exp:member:login_form return="site/content_blog"}
    Username: <input class="input" type="text" name="username" value="" maxlength="22" size="15" />  Password: <input class="input" type="password" name="password" value="" maxlength="22" size="15" />
    <input type="submit" name="submit" value=" GO " />  <a href="http://{path=member/forgot_password}">Forget your password?</a>
    {/exp:member:login_form}
    
    </div>

    Can you help?

  • #2 / Mar 09, 2008 11:56am

    Robin Sowell

    13255 posts

    Hm- nothing is leaping out at me- is it possible to link to the site in action?

  • #3 / Mar 09, 2008 6:01pm

    desertdaisy

    20 posts

    Sure. http://www.fadingmargins.com

    Click through the welcome page and the super header problem should be on the following page, titled On My Mind.

  • #4 / Mar 09, 2008 6:23pm

    Jared Farrish

    575 posts

    The h4 element known by id=“headQuote” has a padding that is blocking the “GO” button. You’ll have to fix that element’s margin so that you can click on it.

    You might try a z-index, but those are tricky…

  • #5 / Mar 09, 2008 6:24pm

    Jared Farrish

    575 posts

    Yeah, if I tab over to password from username and then tab to GO and hit enter, it works fine (but really really really slow…).

  • #6 / Mar 13, 2008 8:37am

    desertdaisy

    20 posts

    Sure enough… a CSS problem after all. Thanks for the diagnostic help. Much appreciated.

    My site was running real slow for a while there… I won’t be renewing with my current server provider.

  • #7 / Mar 13, 2008 10:15am

    Robin Sowell

    13255 posts

    Glad that it was the CSS- would have been a very odd quirk otherwise!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases