PDA

View Full Version : Tagboard Application


kusalacitta
12-05-2005, 06:21 AM
Hi everybody,

I've been trying to make a tagboard application in laszlo, but I've got a problem when I want to change the smile text into the smile image at the time when the message has been saved. Does everyone know how to display the smile image on the tagboard and how to arrange it in one application?

Help me please....Thanks.

kusalacitta
12-07-2005, 06:09 AM
Hi all,
I'm making a tagboard application. I'm able to display the message and save it into database.
But I have a problem when I want to split the data/message that contains smiley symbols between texts and to display them as an image. Does it mean that it needs created runtime of text and view element? If so, how to do that, including spliting texts into a text that does not contain smiley symbols and a view that contains smiley image.

If anyone of you has ever made such an application, would you please share it with me? I really need your help.

bfagan
12-07-2005, 07:38 AM
Laszlo 3.1 will let you use an HTML <img> tag.

You should do a server side substitution of the emoticon with the corresponding <img> tag.

The image file format must be .jpg or .swf.

The Laszlo app must be compiled for swf7 or higher.

kusalacitta
12-07-2005, 08:08 AM
hi bfagan,
Thanks a lot for your information :)

Now I still use OpenLaszlo 3.0.2. I build a blogging system for my final project with Laszlo. And I can't change too much the program because I'm going to presentation the application on next week. Do you have any suggestion or some other ways that you know about this (without change the version of OLS)?
I tried to split the text on the back-end side (PHP) but it still doesn't appear as well as I want (especially for change smiley symbol into image and arrange the text).

How about the restrictions in OLS 3.1 (about the file type or something I can used or not)? I've been try this new version for my app, but the app cannot run well.

I'm so confuse... :(
Maybe I'm too late to upgrade my server version.
Some components that I want to used in my big app just provides on this new version (such as rich inputtext, <img> tag, upload...) :(


Btw, how to use rich inputtext? Is there some examples about this component? I search in OLS 3.1 folder but I can't find more examples about using rich inputtext. Please explain or give me the examples if you don't mind.

THanks a lot for the help and sorry if my question or explanation make you confuse too.. English is not my mother language :)

bfagan
12-07-2005, 08:20 AM
I think if you want to build your app to use the emoticons, you have to use OpenLaszlo 3.1.

kusalacitta
12-07-2005, 08:30 AM
Hmm...I will try it.
Thanks for your suggestion :)