Feature Language Change PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar TLWebdesign
TLWebdesign
27 Mar 2025

I've created a Note Custom Field. Based on the Joomla's default Note Form Field Type. This allows users for example to place notes in between custom fields to guide users.

This note only displays in the backend of the website just like the default Note Form Field. It could be made available in front-end if people would desire this.

Summary of Changes

Notes Custom Field added

Testing Instructions

You can discover the extension and then use it in custom fields. It's called note.
Discover it, publish the extension.
Then go to Article -> Custom Fields. Create a new Field of type "Note"

Check that the note is visisble in the backend article edit page.

Actual result BEFORE applying this Pull Request

No Note Custom Field available.

Expected result AFTER applying this Pull Request

Note Custom Field available.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar TLWebdesign TLWebdesign - open - 27 Mar 2025
avatar TLWebdesign TLWebdesign - change - 27 Mar 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Mar 2025
Category SQL Administration com_admin Postgresql Language & Strings Installation Front End Plugins
avatar TLWebdesign TLWebdesign - change - 27 Mar 2025
Labels Added: Language Change PR-6.0-dev
avatar QuyTon
QuyTon - comment - 4 Apr 2025

Required and Default Value are not applicable so this will cause confusion.
For Show Close Button, I expect the button to not display if set to false.

avatar TLWebdesign TLWebdesign - change - 10 Apr 2025
Labels Added: Feature
avatar TLWebdesign
TLWebdesign - comment - 10 Apr 2025

Required and Default Value are not applicable so this will cause confusion. For Show Close Button, I expect the button to not display if set to false.

Hi,

i'm not exactly sure what you mean with "required". I've removed the empty default value on the close form field xml.

The documentation says this about the close button:
close (optional) a value of 'true' (for alerts) or the value for the data-dismiss of the Bootstrap close icon

Wondering if the default should be "true" instead of empty to show the possibility.

avatar QuyTon
QuyTon - comment - 11 Apr 2025

i'm not exactly sure what you mean with "required". I've removed the empty default value on the close form field xml.

45233

The documentation says this about the close button: close (optional) a value of 'true' (for alerts) or the value for the data-dismiss of the Bootstrap close icon

I was expecting it to look like this without the close button.

45233-alert

avatar TLWebdesign
TLWebdesign - comment - 17 Apr 2025

i'm not exactly sure what you mean with "required". I've removed the empty default value on the close form field xml.

45233

The documentation says this about the close button: close (optional) a value of 'true' (for alerts) or the value for the data-dismiss of the Bootstrap close icon

I was expecting it to look like this without the close button.

45233-alert

Those settings are not added by the plugin. Do you know of a custom field that has these settings removed so i could check that?

avatar exlemor exlemor - test_item - 1 Jun 2025 - Tested successfully
avatar exlemor
exlemor - comment - 1 Jun 2025

I have tested this item ✅ successfully on 84c1b7c

Hi Tom, I have successfully tested this.

(1 question, why can't we have this for the User Accounts area as well? :) )


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45233.

avatar TLWebdesign
TLWebdesign - comment - 2 Jun 2025

(1 question, why can't we have this for the User Accounts area as well? :) )

Hi Emmanuel,

With User Accounts area do you mean the website front-end?
Technically there is no reason why we could not allow this. I've created and tested this already but it's not in the PR because it is not a "plain" implementation of the note form field. If maintainers would want this to also be available in front-end of the website then i could add that.

avatar exlemor
exlemor - comment - 2 Jun 2025

(1 question, why can't we have this for the User Accounts area as well? :) )

Hi Emmanuel,

With User Accounts area do you mean the website front-end? Technically there is no reason why we could not allow this. I've created and tested this already but it's not in the PR because it is not a "plain" implementation of the note form field. If maintainers would want this to also be available in front-end of the website then i could add that.

Hi Tom, no I meant backend actually... I know the backend has Users --> User Notes area but that is not referenced in the user's profile itself which is not so convenient, that's why I liked the idea of this being available in the custom fields for Users that would one could have a notes field inside the user's profile... (vs having to go back and forth between a user's profile and the User Notes area).

avatar brianteeman
brianteeman - comment - 2 Jun 2025

@exlemor you are comparing apples and pears

avatar TLWebdesign
TLWebdesign - comment - 2 Jun 2025

@exlemor like brian said that is totally different from what this is and does. So then the answer is no not with this PR.

avatar muhme
muhme - comment - 6 Jun 2025

I started testing (and I'm not familar with custom fields). I created a Note custom field with 'notes field description' and 'notes field heading', you see the representation in the screenshots. As mentioned before, some settings like 'Default Value' is unused. 'Automatic Display' is also not used, as there is no content? 'Editable In' works as 'Shown In'. But what hurts me, if I set 'Required' in the custom field, the article is no longer saveable in administrator backend or site frontend, see error message:

screen
Backend-View with error

frontend-edit
Frontend edit view

Shouldn't we disable the options that can't be used and rename ‘Editable In’ to ‘Display In’? And maybe a use case would be helpful. If this is just a header for the following custom field, couldn't this be ¿easier? implemented with CSS in the following custom field? I would like to continue to support testing, thx.

Add a Comment

Login with GitHub to post a comment