|
Posted by Bruno B B Magalhγes on 10/04/43 11:05
Hi people,
I have a small class that encodes and decodes ubb code, no problem with
this.. But..
My question is, what is the correct use of the translation routines in
a CMS... I meam:
When creating a new article:
New article form ---> UBB Encode ---> Database
|
Eg. <b> encoded to [b]
When editing an article:
Database ---> UBB Decode ---> Edit form ---> UBB Encode ---> Database
|
Eg. [b] becomes <b>
When viewing in the site:
Database ---> UBB Decode ---> Display
Did you get what my question is? :)
What is the correct order... I mean, because I am having problems when
editing an article all the BRs are being duplicated, and other problems
that have to do with the order.
Regards,
Bruno B B Magalhaes
Navigation:
[Reply to this message]
|