Page 1 of 1

Change from Free Text Area to HTML Area - Without Re-generating Files

Posted: 2015-12-14 03:39
by TheNoLifer
Hi All,

Has anyone ever changed from a Text Area type field to a Rich (HTML) Area field, without re-generating the site files?

I tried just replacing the relevant line in TABLENAME_templateDV.html (in the templates folder) with <%%HTMLAREA(column_name)%%>, but it just causes the field to disappear completely, so there's obviously more to it than meets the eye.

Anyone have any ideas?

Much appreciated!

Re: Change from Free Text Area to HTML Area - Without Re-generating Files

Posted: 2015-12-15 10:26
by a.gneady
There are related changes in tablename_dml.php as well. I won't recommend changing it manually. If you made modifications to the files that you don't want to overwrite, try using Git to restore those modifications. See this screencast for details: http://bigprof.com/appgini/screencasts/ ... de-changes

Re: Change from Free Text Area to HTML Area - Without Re-generating Files

Posted: 2015-12-15 21:31
by TheNoLifer
Hi!
a.gneady wrote:I won't recommend changing it manually.
I completely agree! I managed to change it - it's tested and working, but I would dissuade anyone else from attempting the same. It's a LOT of trouble. Thanks for your reply - that was one of the pieces I was missing.