News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Editing Registration Page?

Started by Levinity, January 31, 2015, 02:11:28 PM

Previous topic - Next topic

Levinity

I have a question.

If I wanted to edit the Registration page, more specifically, under the 'Email' tab, how would I go about doing that? I want to add text under "Email".


(Sorry if this isn't enough information)

Sir Osis of Liver

Are you referring to the email input field?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Levinity

Hm, kinda hard to explain. I mean like, adding something similar to this:


(though, the extra text would be under Email:, and not strong.)

Sir Osis of Liver

Still not sure what you want to do, but here's where you do it -

Register.template.php



<dt><strong><label for="smf_autov_reserve1">', $txt['email'], ':</label></strong></dt>
<dd>
<input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" value="', isset($context['email']) ? $context['email'] : '', '" class="input_text" />
</dd>
<dt><strong><label for="allow_email">', $txt['allow_user_email'], ':</label></strong></dt>
<dd>
<input type="checkbox" name="allow_email" id="allow_email" tabindex="', $context['tabindex']++, '" class="input_check" />
</dd>



That's the 'Email:' label and input field.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Levinity

Thanks.

EDIT:
How would I add text under 'Email:' is my question.

Sir Osis of Liver



<input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" value="', isset($context['email']) ? $context['email'] : '', '" class="input_text" />
</dd>

<dd>Blah blah blah blah</dd>

<dt><strong><label for="allow_email">', $txt['allow_user_email'], ':</label></strong></dt>


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

Will look better if you do something like this -



<dd style="margin-top: -5px; font-size: 80%;">Blah blah blah blah</dd>


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Levinity


Advertisement: