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

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

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

Post by TheNoLifer » 2015-12-14 03:39

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!

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

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

Post by a.gneady » 2015-12-15 10:26

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
:idea: AppGini plugins to add more power to your apps:

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

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

Post by TheNoLifer » 2015-12-15 21:31

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.

Post Reply