When following the documentation to create a custom content plugin to add fields to Joomla-articles:
https://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin
There is one pitfall: The attribs-field is a varchar with a length of about 5000.
If you add a couple of editors (maybe you have different page-types with long text (more than 5000 chars) in multiple columns / positions, then the attribs get cut.
The content should be displayed, regardless if it is longer or shorter than 5000 characters
Content is not being displayed correctly
Joomla 3.x, Php 5.6, Mysql 5.x
Does not depend on system
I solved the issue by manually changing the field type from varchar to text (not quite a clean solution, because it can be reverted on update..).
I recommend changing it by default to text in the next release if possible.
Category | ⇒ | Feature Request |
Labels |
Added:
?
|
That's great news!
The only thing i would miss (in the current build), are subforms / repeatable fields.
But that is just details, i really like the ability to filter new fields by category / language.
Thanks!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-03 10:45:05 |
Closed_By | ⇒ | brianteeman |
Closed
For version 3.7 it is planed to add custom fields to the core. It doesn't depend on the attribs parameter. Would this work for you, or do you have some special requirements where custom fields can't help? If you want to give it a try you can help testing here https://github.com/joomla-projects/custom-fields.