Custom Fields Improvement

Do you have an idea for the Joomla community that you can help implement? Discuss in here.
Forum rules
Global Rules
Posting guidelines for this board <-- please read before posting.

Joomla Idea Pool <-- Add your suggestions for future versions of Joomla and vote on current suggestions.
Post Reply
User avatar
ies
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Mar 21, 2011 12:38 pm
Contact:

Custom Fields Improvement

Post by ies » Fri Mar 01, 2019 7:18 pm

Hi,

I just wanted to say that custom fields in Joomla is currently the biggest and most important feature.
I believe that custom fields with CSS grid will expand Joomla to a new level.

Actually custom fields have to be treated as equally important as the main text of the article and displayed in the same tab in the administration. This will lead to a multi type and multi structured content that is the main need for the modern websites. We can't just have only title, image (full and intro) and main text.

But custom fields need some improvements. For example:
  • Custom fields have to go out from the container 'fields-container'. At least an option should exist.
  • Custom fields have to be placed in div and not dl/dd. Possibly the option above to put them outside 'fields-container' would place automatically inside divs.
  • Custom fields should be placed in the same level in DOM as the title, image and main text. This is usefull for the CSS grid. At the moment I have to use Javascript in order to put them below the "item-page" element.
  • The main text should have a distinct class and not only itemprop="articleBody".
  • The checkboxes type of custom fields should place each value in a span in order to be able to add more design.
  • Maybe a field for custom html/php code could be added.
Actually Joomla is already some levels higher than other CMSs. :)
Lets increase the difference with one more level.
Maybe the above ideas could be applied in Joomla 4.

annahersh
Joomla! Guru
Joomla! Guru
Posts: 556
Joined: Wed Aug 15, 2018 8:23 pm

Re: Custom Fields Improvement

Post by annahersh » Sat Mar 02, 2019 9:22 pm

In agreement with checkboxes output.

The method used for article element styling has long been via the pseudo selector method, which no doubt you know of:
div[itemprop="articleBody"] {}
but I guess it wouldn't hurt to include a distinct class.

Adding custom html/php field to custom fields could be quite chaotic but certainly useful for a skilled user.


Post Reply

Return to “Joomla! Ideas Forum”