Gossamer Forum
Home : Products : DBMan : Customization :

Re: [shann123] Emoticons in record view?

Quote Reply
Re: [shann123] Emoticons in record view? In reply to
A quick and dirty solution would be to add the following for each field in your display (assuming you aren't using auto-generate).

if ($rec{'Name'} =~ /\:\)/) {print qq|<IMG SRC="./smiley.gif">|;}
if ($rec{'Name'} =~ /\;\)/) {print qq|<IMG SRC="./wink-smiley.gif">|;}

However, there's gotta be a better way... are you sure you want to allow smileys on all fields and not just perhaps on a certain field at the top of the record or something?
Subject Author Views Date
Thread Emoticons in record view? shann123 4654 May 19, 2005, 5:39 PM
Post Re: [shann123] Emoticons in record view?
JPDeni 4503 May 19, 2005, 8:16 PM
Thread Re: [shann123] Emoticons in record view?
Watts 4524 May 20, 2005, 3:45 PM
Thread Re: [Watts] Emoticons in record view?
shann123 4500 May 20, 2005, 4:17 PM
Thread Re: [shann123] Emoticons in record view?
shann123 4505 May 20, 2005, 4:38 PM
Thread Re: [shann123] Emoticons in record view?
JPDeni 4496 May 20, 2005, 5:48 PM
Post Re: [JPDeni] Emoticons in record view?
Watts 4468 May 23, 2005, 11:37 AM
Thread Re: [shann123] Emoticons in record view?
JPDeni 4454 May 25, 2005, 8:40 PM
Post Re: [JPDeni] Emoticons in record view?
shann123 4463 May 26, 2005, 9:28 AM