changing custom input field to text Area field - News Module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Sendlingur
Forum Members
Forum Members
Posts: 62
Joined: Wed Aug 08, 2018 4:59 pm

changing custom input field to text Area field - News Module

Post by Sendlingur »

I've couple of custom input fields that needs to be changed to Text Area field. Is there a way to do it without deleting the existing input and lose its data?

The only solution I know is to delete the existing input field and create new Text area with the same name. But that deletes the existing data in the input field.

is there no way to just swap or change input to Text Area?

can anyone advise?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: changing custom input field to text Area field - News Mo

Post by DIGI3 »

There's no way to do it in the admin panel, but I just tried changing the type to textarea in the database and it seems like it works fine.

Back up first, then edit the table cms_module_news_fielddefs. Find the appropriate fielddef and change the type from textbox to textarea.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “CMSMS Core”