Zum Inhalt springen

mm_forum Registrieren-Formular tabellenfrei

Erstellt am 22. April 2007 · 2 Antworten · letzte Antwort am 23. April 2007

Tags: HTML & CSS, Tipp

claudia2 ·

Hallo,

vielleicht erspare ich damit anderen die Arbeit, ich habe eben das Registrierungs-Template (pi2) von seinen Tabellen befreit:

<form name="###FORM_NAME###" method="post" action="###FORM_URL###">
      <div class="tx-mmforum-pi2-container">
      <p>###LABEL_REQUIRED###</p>
      <p><label for="username"><b>###LABEL_USERNAME###:</b>*</label> <input type="text" name="mm_forum[reg][username]" value="###VALUE_username###" />
      <br /><span class="error">###ERROR_username###</span></p>
      <p><label for="name"><b>###LABEL_NAME###:</b>*</label> <input type="text" name="mm_forum[reg][name]" value="###VALUE_name###" />
      <br /><span class="error">###ERROR_name###</span></p>
      <p><label for="password"><b>###LABEL_PASSWORD###:</b>*</label> <input type="password" name="mm_forum[reg][password]" />
      <br /><span class="error">###ERROR_password###</span></p>
      <p><label for="passwordrepeat">###LABEL_PASSWORDREPEAT###:*</label> <input type="password" name="mm_forum[reg][password_again]" />
      </p>
      <p><label for="location">###LABEL_LOCATION###:</label> <input type="text" name="mm_forum[reg][address]" value="###VALUE_address###" />
      </p>
      <p><label for="profession">###LABEL_PROFESSION###:</label> <input type="text" name="mm_forum[reg][beruf]" value="###VALUE_beruf###" />
      </p>
      <p><label for="interests">###LABEL_INTERESTS###:</label> <input type="text" name="mm_forum[reg][interessen]" value="###VALUE_interessen###" />
      </p>
      <p><label for="website">###LABEL_WEBSITE###:</label> <input type="text" name="mm_forum[reg][www]" value="###VALUE_www###" />
      </p>
      <p><label for="email"><b>Email:*</b></label> <input type="text" name="mm_forum[reg][email]" value="###VALUE_email###" />
      <br /><span class="error">###ERROR_email###</span></p>
      <p><label for="msn"><img src="###IMG_MSN###" alt="" /></label> <input type="text" name="mm_forum[reg][msn]" value="###VALUE_msn###" />
      </p>
      <p><label for="icq"><img src="###IMG_ICQ###" alt="" /></label> <input type="text" name="mm_forum[reg][icq]" value="###VALUE_icq###" />
      </p>
      <p><label for="skype"><img src="###IMG_SKYPE###" alt="" /></label> <input type="text" name="mm_forum[reg][skype]" value="###VALUE_skype###" />
      </p>
      <p>###HIDDENFIELDS###
      <input type="hidden" name="mm_forum[reg][action]" value="user_anlegen" />
      <input type="Submit" name="submit" class="tx-mmforum-button" value="###LABEL_CREATE###" />
      </p>
    </div>
</form>

und hier noch zwei css-schnipsel dazu:

DIV.tx-mmforum-pi2-container p label {
float:left;
width:130px;
}
span.error {
color:red;
font-weight:bold;
}

grüße
claudia

h.​trapp ·

Hallo Claudia ...

Danke für deine Mühe. Ich hab das in die neue Version eingebaut und es wird dann im nächsten Release dann implementiert sein ... 😉

Gruß
Holger

claudia2 ·

gern geschehen 🙂

ich war auch schon kurz davor einiges andere umzubauen, Profil etc. aber da ist die Zeit gerade leider 'etwas' zu knapp...

schöne grüße,
claudia