- Posts: 272
- Thank you received: 7
Better spacing question on registration form
12 years 8 months ago #149798
by boopoo
Better spacing question on registration form was created by boopoo
-- HikaShop version -- : latest
-- Joomla version -- : 2.5.19
I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?>' now appears.
?>
<?php
echo '<br/><br/>';
?>
I would be very grateful if you can tell me the correct way to do this, so '?>' does not appear on the front end.
-- Joomla version -- : 2.5.19
I am trying to add a line of space in the registration field, by adding a space in the PHP code rather than through CSS. Please look at the attachments. I have managed to add the line of space using the code below but the problem is '?>' now appears.
?>
<?php
echo '<br/><br/>';
?>
I would be very grateful if you can tell me the correct way to do this, so '?>' does not appear on the front end.
Please Log in or Create an account to join the conversation.
12 years 8 months ago - 12 years 8 months ago #149868
by boopoo
Replied by boopoo on topic Better spacing question on registration form
Tried to work this out but my lack of php knowledge is not helping. I thought the following code would work to add a line of space in the registration form, but it leaves characters on the front end (as you see in attachment). Any pointers greatly appreciated!
?>
<?php
echo '<br/><br/>';
?>
?>
<?php
echo '<br/><br/>';
?>
Last edit: 12 years 8 months ago by boopoo.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 8 months ago #149804
by Mohamed Thelji
Replied by Mohamed Thelji on topic Better spacing question on registration form
Hello,
Note that the easiest way to do that will be to that will probably be to use some CSS code, but if you want to help me with your customization can you tell me what lines did you edited and show me how did you changed them ?
Thanks
Note that the easiest way to do that will be to that will probably be to use some CSS code, but if you want to help me with your customization can you tell me what lines did you edited and show me how did you changed them ?
Thanks
Please Log in or Create an account to join the conversation.
12 years 8 months ago #149987
by boopoo
Replied by boopoo on topic Better spacing question on registration form
Hello Mohammed,
Yes I would really appreciate your help. I have attached the bit of code I added to the view "user / registration". I did not change any code, I just added the bit of code in red. As you saw in previous attachment, this did not work 100%.
If you can help me create a line of space I would be very happy.
Thanks
Yes I would really appreciate your help. I have attached the bit of code I added to the view "user / registration". I did not change any code, I just added the bit of code in red. As you saw in previous attachment, this did not work 100%.
If you can help me create a line of space I would be very happy.
Thanks
Please Log in or Create an account to join the conversation.
12 years 7 months ago #150002
by nicolas
Replied by nicolas on topic Better spacing question on registration form
The first ?> in the red zone of your code should be removed.
Actually, you don't even need any PHP.
You could just write the br tags directly like that:
<br/><br/>
Actually, you don't even need any PHP.
You could just write the br tags directly like that:
<br/><br/>
Please Log in or Create an account to join the conversation.
12 years 7 months ago #150099
by boopoo
Replied by boopoo on topic Better spacing question on registration form
Many thanks Nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds