Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
email address or option if no address available
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 11/27/09 19:22 
i have a field for email addresses wbut what if there no email address available how can I have this show with out the linkage being attached is there a way to do it


Code
<tr> <td colspan="2"> <center><b>   </b> <a href="mailto:{$AD_EMAIL}">Email Me</a> </b><br> </center></td> </tr>

This works fine as far as email goes but there I do not know how tro make it display No Email Available if there was no given email address

also


If anyone knows how to make this show as a default response to the user without displaying the initial persons email address would be cool also

Thganks James


_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 11/27/09 19:53 
You are going to have to look at some manuals eventually.

When you finally do, you will be kicking yourself for not having done it sooner.

Untested, but something like:

Code
<tr> <td colspan="2"> <center>{if strlen($AD_EMAIL) > 5 }<a href="mailto:{$AD_EMAIL}">Email Me</a>{else}No Email Available{/if}<br> </center></td> </tr>



_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 11/27/09 19:57 
lol thanks giving it a try i do have manuals but couldnt find this one but i will try to look a little longer maybe i am missing it. Sad


_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 11/27/09 20:03 
It worked thanks


_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.