Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • romolo Friend
    #207616

    How can we edit the fields on the JA Login module? We would like to remove confirm your email address..

    Please advise

    Thanks

    Saguaros Moderator
    #574970

    Hi

    You mean the field ‘Confirm email address’ in registration form, right?

    You will have to hack in registration form of default ‘com_users’ a bit: root/components/com_users/models/forms/registration.xml

    and comment / remove the ’email2′ field like this:


    <!--
    <field
    name="email2"
    type="email"
    description="COM_USERS_REGISTER_EMAIL2_DESC"
    field="email1"
    filter="string"
    label="COM_USERS_REGISTER_EMAIL2_LABEL"
    message="COM_USERS_REGISTER_EMAIL2_MESSAGE"
    required="false"
    size="30"
    validate="equals"
    />
    -->

    Then go to file: root/modules/mod_jalogin/tmpl/default.php

    comment the same field:


    <!--
    <dt>
    <label title="" class="required" for="jform_email2" id="jform_email2-lbl"><?php echo JText::_( 'JACONFIRM_EMAIL_ADDRESS'); ?>:</label>
    <em> (*)</em>
    </dt>
    <dd><input type="text" size="30" class="validate-email required" value="" id="jform_email2" name="jform"></dd>
    -->

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 9 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum