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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started