-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.0] Note Custom Field Plugin #45233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
administrator/components/com_admin/sql/updates/mysql/6.0.0-2024-08-11.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/6.0.0-2024-08-11.sql
Outdated
Show resolved
Hide resolved
Co-authored-by: Brian Teeman <[email protected]>
Co-authored-by: Brian Teeman <[email protected]>
Co-authored-by: Quy Ton <[email protected]>
|
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: Wondering if the default should be "true" instead of empty to show the possibility. |
I was expecting it to look like this without the close button. |
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? |
I have tested this item ✅ successfully on 84c1b7c (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. |
Hi Emmanuel, With User Accounts area do you mean the website front-end? |
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). |
@exlemor you are comparing apples and pears |
@exlemor like brian said that is totally different from what this is and does. So then the answer is no not with this PR. |
added plg_fields_note in right alphabetical order and updated the ordering of the plg_fields to match
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: 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. |
I have tested this item ✅ successfully on 4133982 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45233. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45233. |
Back to pending. The update SQL scripts need to be renamed to something newer than 6.0.0-2025-08-02.sql. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45233. |
@TLWebdesign Could you rename the update SQL scripts to something newer than "6.0.0-2025-08-02.sql", e.g. "6.0.0-2025-08-16.sql? Thanks in advance. |
P.S. If the name of the new update SQL script is not newer than the latest present one when compared with PHP version compare, it will not run when updating e.g. from 6.0.0-alpha3. |
administrator/components/com_admin/sql/updates/mysql/6.0.0-2025-03-27.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/6.0.0-2025-03-27.sql
Outdated
Show resolved
Hide resolved
…0-2025-03-27.sql Co-authored-by: Richard Fath <[email protected]>
administrator/components/com_admin/sql/updates/mysql/6.0.0-2025-08-16.sql
Outdated
Show resolved
Hide resolved
Co-authored-by: Richard Fath <[email protected]>
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45233. |
Thanks @TLWebdesign and thanks @muhme & @exlemor for testing |
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 visible in the backend article edit page.
Set option Display Front-end to yes. Then check that the option is also displayed in the front-end article view.
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