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.169 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started