Welcome, Guest
Username: Password: Remember me

TOPIC: Changing Admin Text field to Textarea

Changing Admin Text field to Textarea 24 Dec 2012 04:07 #6262

  • geoffr
  • geoffr's Avatar
  • Offline
  • Senior Member
  • Posts: 68
  • Thank you received: 2
  • Karma: 0
Hi, where in the Joomla Admin area code do I find where to change a field from a Text field to a Textarea with editor?

No changes to the database are required, but I have the wrong field type in a few places.

Thanks,
Geoff
The administrator has disabled public write access.

Re: Changing Admin Text field to Textarea 24 Dec 2012 10:27 #6265

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @geoffr

You can locate the field in the XML for your form (JForm) in [site root]/administrator/[your component name]/models/forms/[yourform].xml

Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Re: Changing Admin Text field to Textarea 24 Dec 2012 21:54 #6266

  • geoffr
  • geoffr's Avatar
  • Offline
  • Senior Member
  • Posts: 68
  • Thank you received: 2
  • Karma: 0
Thanks Gez. That's great. How do I add the editor above that field? It's now just a simple textarea.

Cheers
Geoff
The administrator has disabled public write access.

Re: Changing Admin Text field to Textarea 25 Dec 2012 10:22 #6269

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @geoffr,

in the XML, change the type to ckeditor.

Hope it helps!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.052 seconds

Get Started