Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • geoffr
  • geoffr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 68
  • Thank you received: 2
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

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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 following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

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

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

Cheers
Geoff

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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 following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.081 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started