PDA

View Full Version : Major Additions - Images in the registration module


Chicoynano
05-25-2021, 09:00 PM
If you want to display an image in the registration module, upload these images password.png and username.png to your / images folder.
Then find the following template login_main
========================================
Roughly on the line
23- <span class="td">
<input type="text" value="{vb:var formData.username}" class="js-login-username b-form-input__input b-form-input__input--full" placeholder="{vb:hrase {vb:var loginPhrase}}" />
</span>
Add this before <img src="images/username.png" alt="Username">
<span class="td">
<img src="images/username.png" alt="Username"> <input type="text" value="{vb:var formData.username}" class="js-login-username b-form-input__input b-form-input__input--full" placeholder="{vb:phrase {vb:var loginPhrase}}" />
</span>
========================================
Roughly on the line
28-<span class="td">
<input type="password" autocomplete="off" name="password" class="js-login-password b-form-input__input b-form-input__input--full" placeholder="{vb:hrase password}" />
</span>
Add this before <img src="images/password.png" alt="Password">

<span class="td">
<img src="images/password.png" alt="Password"><input type="password" autocomplete="off" name="password" class="js-login-password b-form-input__input b-form-input__input--full" placeholder="{vb:phrase password}" />

</span>

NOTE:
========================================
You can see an example in my forum
https://foro4g.com/

danielmorashov
05-29-2021, 08:05 PM
158854
Look good Keep surprising thanks