Log in

View Full Version : profile field hide when empty


jasonx
01-09-2003, 10:58 AM
I want to hide the whole row in the table when fields are left blank.

eg

<tr>...<tr>

I'm guessing I'd need to created templates for each row and have an if statement in member.php including that template or not.

Can someone give me an example to follow for just say Yahoo?

cheers
Jason

2 X Viverridae
01-09-2003, 11:53 AM
Check out afterlab's Hide Unentered Fields hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=41753) it may be what you are after.

Also, you should consider installing Logician's Advanced Templates: Dynamic Templates Changing according to different conditions hack (https://vborg.vbsupport.ru/showthread.php?threadid=43325) - it's a very simple, but very powerful hack that lets you put conditionals in your templates, meaning in many cases you don't have to hack yer php files.

jasonx
01-09-2003, 12:04 PM
thanks mate i searched the boards for 2 days and couldn't find it. didn't use keyword unentered thats why :\