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

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started