1
Cuidiu
Remove Extra br tag
  • 2006/6/17 1:24

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Hi All,

I wasn't quite sure where to post so I'll start here. There are two br tags under the field title in the registration form. For example:
Receive occasional email notices?

By enabling this, administrators and moderators are allowed to send you notices occasionally via email

I just want to remove one of the br tags. Would someone please help me by pointing out which file it's in? It's not terribly important but it's one of those niggly things that just gnaws at you until you figure it out. Help please?
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

2
Quest
Re: Remove Extra br tag
  • 2006/6/17 3:26

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Try looking in language/english/user.php

Quest

3
Cuidiu
Re: Remove Extra br tag
  • 2006/6/17 3:59

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Thanks Quest, but it's not in language/english/user.php.

Edited to add:
Sorry Quest - the example I used is a bad one. That one IS in the file you pointed me to but only for that field. On all other fields I've added, there are two br tags under the field label - like so:
<td class='head'>Business City *<br /><br /><span style="font-weight: normal;">Main locationspan>td>


So somehow two br tags are thrown in after the field label and before the field description. Any ideas?
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

4
Quest
Re: Remove Extra br tag
  • 2006/6/18 4:10

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I'm affraid I don't quite understand where they could be considering the info you have provided.
I see where you said you added fields. Where and how did you add these fields. Maybe if you could post where(in what file) you added the fields and post the code you used to add them someone could help you out further.

Quest

5
Cuidiu
Re: Remove Extra br tag
  • 2006/6/18 5:29

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


I added the fields through the extended profiles module in the admin (modules/profile/admin/field.php?op=new). I use XOOPS version 2.2.4 and extended profiles gives you the option to add custom fields to register.php.

I'm just trying to find out where I can remove the extra br tags that are automatically added after the label. I've looked in about every file imaginable. Unfortunately, I've spent much more time than I should have searching for the answer.

Quote:

Quest wrote:
Where and how did you add these fields. Maybe if you could post where(in what file) you added the fields and post the code you used to add them someone could help you out further.

Quest
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

6
Cuidiu
[Solved] Re: Remove Extra br tag
  • 2006/6/18 16:51

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


I found it! It was in class/themeform.php
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

Login

Who's Online

511 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 511


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits