Support » Plugin: Theme My Login » Placing register form in a JS popup box

  • Resolved baj84

    (@baj84)


    Hi,

    So, I have a <div id=”join-popup”> on each page, so that it can popup when a user clicks the ‘Join’ button. I am trying to get the register form to be inside the div, but of course I get errors, because the template variables are associated with the parent template.

    My code:
    <div id=”join-popup”>
    <div id=”register-page”>
    <div class=”login” id=”theme-my-login<?php $template->the_instance(); ?>”>
    <?php $template->the_action_template_message( ‘register’); ?>
    <?php $template->the_errors(); ?>
    <form name=”registerform” id=”registerform<?php $template->the_instance(); ?>” action=”<?php $template->the_action_url( ‘register’ ); ?>” method=”post”>
    etc….
    </div>

    Is what I am trying to do possible? If so, what’s the best approach?

    Cheers, Ben

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Placing register form in a JS popup box’ is closed to new replies.