Feature No Code Attached Yet
avatar robinclapp
robinclapp
21 Aug 2025

Is your feature request related to a problem? Please describe.

No, its an enhancement

Describe the solution you'd like

When adding a custom field of type text, can a selection be added to render none, or <p></p>, <h1></h1>, etc. around the text field output.

Additional context

This solution can be added currently with an override. However, added it to core would be useful for improving accessibility and seo.

avatar robinclapp robinclapp - open - 21 Aug 2025
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Aug 2025
avatar chmst chmst - change - 21 Aug 2025
The description was changed
avatar chmst chmst - edited - 21 Aug 2025
avatar chmst chmst - change - 21 Aug 2025
Labels Added: Feature
avatar chmst chmst - labeled - 21 Aug 2025
avatar brianteeman
brianteeman - comment - 21 Aug 2025

a possible problem is that it could result in invalid html as custom fields are by default rendered in a dl list.

avatar LadySolveig
LadySolveig - comment - 21 Aug 2025

@robinclapp do you think different layouts to choose from in the options tab could also solve your problem?

Image Image
avatar robinclapp
robinclapp - comment - 21 Aug 2025

@LadySolveig, so currently I have created the overrides to handle this and yes I select the layout here.

avatar robinclapp
robinclapp - comment - 21 Aug 2025

So should the solution be default layout selections for the p, h1, h2, h3 options?

avatar woluweb
woluweb - comment - 21 Aug 2025

Yes, with Alternate Layout for the Custom Fields you can do it.
Here is a very nice explanation of how to do it: https://regularlabs.com/blog/1360-how-to-create-an-alternate-layout-for-custom-fields-in-joomla
But of course you then want to have also an Alternate Layout for the Articles of that Category, so that the Custom fields are put exactly on the right place (and avoid the dl issue that Brian is mentioning)

avatar brianteeman
brianteeman - comment - 22 Aug 2025

This solution can be added currently with an override. However, added it to core would be useful for improving accessibility and seo.

how does adding it to the core instead of using an override improve accessibility or seo?

avatar Satish-Medar
Satish-Medar - comment - 24 Aug 2025

@chmst I’m happy to work on this issue. Could you please assign it to me?

Add a Comment

Login with GitHub to post a comment