Managing email signatures?
Click download Free Trial
Manage Email Signatures Centrally - For All Users
extend your brand and promote your products, services, special events and news
 
Your eMailSignaturer resource    Receive answers in my inbox    Add URL in your RSS reader    Join us on Facebook     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
LiveZilla Live Help

getting rid of empty lines when using conditional text

 
Post new topic   Reply to topic    email signatureManage Email Signatures Centrally - For All Users Forum Index -> English Support
View previous topic :: View next topic  
Author Message
mthao
Quite a regular


Joined: 10 Sep 2007
Posts: 16

Posted: Tue Dec 04, 2007 1:54 pm    Post subject: getting rid of empty lines when using conditional text Reply with quote

Hello!

Im having a part of a signature looking like this:
{$$NULL(Other_telephone_number)$$VALUE(Telefon: ((Other_telephone_number)) )$$}
{$$NULL(Mobile_number)$$VALUE(Mobil: ((Mobile_number)) )$$}
{$$NULL(Fax_number)$$VALUE(Fax: ((Fax_number)) )$$}

if for example one user doesnt have a Mobile_number the output gets:
1234-567890

1234-567891

but I would like it to be:
1234-567890
1234-567891

IE. removing the extra emtpy line. If I recall correctly that worked in an earlier version but Im not sure.
Any suggestions?

Thanks in advance
Mattias
Back to top
View user's profile Send private message
Dave Culley
Certified Professional
Certified Professional


Joined: 02 May 2007
Posts: 78
Location: London

Posted: Tue Dec 04, 2007 2:07 pm    Post subject: Conditional Formatting Reply with quote

Hi,

This is possible, you will need to keep all the coding on the same line without a <br> tag between them and the line spacing should disappear when no mobile number is present.

Thanks

Dave Culley
Back to top
View user's profile Send private message Visit poster's website
mthao
Quite a regular


Joined: 10 Sep 2007
Posts: 16

Posted: Tue Dec 04, 2007 2:23 pm    Post subject: Reply with quote

I dont know if I did something wrong but that resulted in:

1234-567890 1234-567891

I still want the present information to show up on separate rows.

Mattias
Back to top
View user's profile Send private message
Dave Culley
Certified Professional
Certified Professional


Joined: 02 May 2007
Posts: 78
Location: London

Posted: Tue Dec 04, 2007 2:27 pm    Post subject: Reply with quote

Please try it with a single <br> between the lines, this should sepperate them.
Back to top
View user's profile Send private message Visit poster's website
mthao
Quite a regular


Joined: 10 Sep 2007
Posts: 16

Posted: Tue Dec 04, 2007 2:43 pm    Post subject: Reply with quote

This is copied from the Code View:
<P><EM>((Title))<BR>((XtensionAttrib6))</EM><BR>{$$NULL(Other_telephone_number)$$VALUE(Telefon: ((Other_telephone_number)) )$$}<BR>{$$NULL(Mobile_number)$$VALUE(Mobil: ((Mobile_number)) )$$}<BR>{$$NULL(Fax_number)$$VALUE(Fax: ((Fax_number)) )$$}<BR>Email: ((E-mail))<BR><BR></P>
Back to top
View user's profile Send private message
Dave Culley
Certified Professional
Certified Professional


Joined: 02 May 2007
Posts: 78
Location: London

Posted: Tue Dec 04, 2007 2:54 pm    Post subject: Reply with quote

Please try this

<P><EM>((Title))<BR>((XtensionAttrib6))</EM><BR>{$$NULL(Other_telephone_number)$$VALUE(Telefon: ((Other_telephone_number))<BR> )$$}{$$NULL(Mobile_number)$$VALUE(Mobil: ((Mobile_number))<BR> )$$}{$$NULL(Fax_number)$$VALUE(Fax: ((Fax_number)) )$$}<BR>Email: ((E-mail))<BR><BR></P>


Please let me know if this is better.

Thanks
Back to top
View user's profile Send private message Visit poster's website
mthao
Quite a regular


Joined: 10 Sep 2007
Posts: 16

Posted: Tue Dec 04, 2007 2:57 pm    Post subject: Reply with quote

Sadly still have the same problem Sad
Back to top
View user's profile Send private message
Jesper Frier
Certified Professional
Certified Professional


Joined: 09 Sep 2006
Posts: 1940
Location: Stoevring, Denmark

Posted: Tue Dec 04, 2007 6:27 pm    Post subject: Conditional text Reply with quote

This is the code from templates examples with your fields:

Code:
{$$NULL(Other_telephone_number)$$VALUE(Telefon: ((Other_telephone_number))<br> )$$}
{$$NULL(Mobile_number)$$VALUE(Mobil: ((Mobile_number))<br> )$$}
{$$NULL(Fax_number)$$VALUE(Fax: ((Fax_number))<br> )$$}


OK? Great
Back to top
View user's profile Send private message Visit poster's website
mthao
Quite a regular


Joined: 10 Sep 2007
Posts: 16

Posted: Wed Dec 05, 2007 7:27 am    Post subject: Reply with quote

yes, that for some kind of reason worked... but isnt it the same way that Dave tried to solve it? ie adding the <br> tag inside the $$Value()?

Thanks though :D
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Manage Email Signatures Centrally - For All Users Forum Index -> English Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Add URL in your RSS reader | About Us | Terms and conditions | © 2012 eMailSignature North America, Inc. and eMailSignature Aps.