Gossamer Forum
Home : Products : DBMan : Customization :

Re: [shann123] Emoticons in record view?

Quote Reply
Re: [shann123] Emoticons in record view? In reply to
I think I have what you want, sorta. This works:

Code:

$smilies{smile} = ":smile:";
$smilies{frown} = ":frown:";
$smilies{wink} = ":wink:";
foreach $col (sort keys %rec) {
foreach $file (sort keys %smilies) {
$graphic = "<img url/to/smilies/dir/$file.gif>";
$rec{$col} =~ s/$smilies{$file}/$graphic/g;
}
}
foreach $col (sort keys %rec) {
print $rec{$col} . "\n";
}


It's not really smilies, but you can get the graphics where you want them. I tried everything I could think of to get the actual similies -- :-) :-( ;-) -- to work, but it would always try to interpret the characters.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.

Last edited by:

JPDeni: May 25, 2005, 8:41 PM
Subject Author Views Date
Thread Emoticons in record view? shann123 4688 May 19, 2005, 5:39 PM
Post Re: [shann123] Emoticons in record view?
JPDeni 4537 May 19, 2005, 8:16 PM
Thread Re: [shann123] Emoticons in record view?
Watts 4558 May 20, 2005, 3:45 PM
Thread Re: [Watts] Emoticons in record view?
shann123 4534 May 20, 2005, 4:17 PM
Thread Re: [shann123] Emoticons in record view?
shann123 4540 May 20, 2005, 4:38 PM
Thread Re: [shann123] Emoticons in record view?
JPDeni 4530 May 20, 2005, 5:48 PM
Post Re: [JPDeni] Emoticons in record view?
Watts 4502 May 23, 2005, 11:37 AM
Thread Re: [shann123] Emoticons in record view?
JPDeni 4490 May 25, 2005, 8:40 PM
Post Re: [JPDeni] Emoticons in record view?
shann123 4497 May 26, 2005, 9:28 AM