Feature Language Change PR-5.2-dev PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar TLWebdesign
TLWebdesign
24 Aug 2024

I'm trying to create a new custom fields plugin for the standard Joomla Form Field Number. We have it for Integer and i'd like to have the same for the number field. That way w'll also gain ability to use floats.

I'm not there yet and i need help! Thats why i created this Draft PR. Hoping smarter people like here will be willing to guide me as to whats missing still.

I'm having the issue where the view of the custom field in an e.g. article is generating a list field. How and where do i fix this? It should generate a numbers field.

I know i still need to add the sql but i first like to get the main code working correctly.

Summary of Changes

Extra plugin added

Testing Instructions

You can discover the extension and then use it in custom fields. It's called numbers.

Actual result BEFORE applying this Pull Request

No numbers custom field available.

Expected result AFTER applying this Pull Request

Numbers custom field available and working.

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 - 24 Aug 2024
avatar TLWebdesign TLWebdesign - change - 24 Aug 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2024
Category Administration Language & Strings Front End Plugins
avatar TLWebdesign TLWebdesign - change - 24 Aug 2024
Labels Added: Language Change PR-5.2-dev
avatar TLWebdesign
TLWebdesign - comment - 24 Aug 2024

@brianteeman Thanks for reviewing and fixing my mistakes.

avatar TLWebdesign TLWebdesign - change - 25 Aug 2024
Labels Added: Feature
avatar TLWebdesign
TLWebdesign - comment - 25 Aug 2024

So the wall i'm hitting now is that i can't figure out how the display of the custom field in an "article edit view" is set or adjusted. Looking at for instance the integer custom field it sort of automagically seems to work. Because i can't seem to find a reference anywhere in the plugin folder itself.

Could someone point me in the right direction here?

avatar sandewt
sandewt - comment - 27 Aug 2024

I'm not there yet and i need help!

There is still some work to be done regarding the databases and the installation, see e.g.:

https://github.com/TLWebdesign/joomla-cms/blob/f9dec464683f19d5efe9699ee8745d703cea7250/installation/sql/mysql/base.sql#L296

A nice example of another plugin can be found here:
https://github.com/joomla/joomla-cms/pull/42777/files

avatar HLeithner
HLeithner - comment - 2 Sep 2024

This pull request has been automatically rebased to 5.3-dev.

avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2024
Category Administration Language & Strings Front End Plugins Administration Language & Strings SQL Installation Postgresql Front End Plugins
avatar TLWebdesign TLWebdesign - change - 2 Sep 2024
Labels Added: PR-5.3-dev

Add a Comment

Login with GitHub to post a comment