Feature PR-5.0-dev ? Pending

User tests: Successful: Unsuccessful:

avatar korenevskiy
korenevskiy
17 Aug 2021

I periodically encounter the problem of adding my own unique tags for the module.
But now you can add tags in the new module: LI , and others. For cases of non-standard situations.

<fieldset>
  <legend>Title</legend>
 Module content
</fieldset>

Example testing

<field
	name="header_tag"
	type="headertag"
	label="COM_MODULES_FIELD_HEADER_TAG_LABEL"
	default="h5" >
                    <option value="figcaption">&lt;figcaption></option> 
                    <option value="legend">&lt;legend></option>
                    <option value="label">&lt;label></option> 
                    <option value="summary">&lt;summary></option>   
</field>
<field 
	name="module_tag" 
	type="moduletag" 
	label="COM_MODULES_FIELD_MODULE_TAG_LABEL"
	default="div" >
                    <option value="figure">&lt;figure></option> 
                    <option value="fieldset">&lt;fieldset></option>
                    <option value="li">&lt;li></option> 
                    <option value="details">&lt;details></option>  
</field>
avatar korenevskiy korenevskiy - open - 17 Aug 2021
avatar korenevskiy korenevskiy - change - 17 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Aug 2021
Category Libraries
avatar korenevskiy korenevskiy - change - 17 Aug 2021
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2021
avatar korenevskiy korenevskiy - change - 17 Aug 2021
The description was changed
avatar korenevskiy korenevskiy - edited - 17 Aug 2021
avatar korenevskiy
korenevskiy - comment - 17 Aug 2021

checking the tests showed an error. I don't understand the reason for the error. What could be the error?

avatar richard67
richard67 - comment - 17 Aug 2021

checking the tests showed an error. I don't understand the reason for the error. What could be the error?

@korenevskiy Tests are currently failing for all PRs ti the 4.0-dev branch. It's a known issue and will be fixed soon, but maybe not tonight. For the meantime just be patient and ignore it.

avatar chmst chmst - change - 31 Jan 2022
Labels Added: ?
avatar korenevskiy korenevskiy - change - 11 Mar 2022
Labels Added: ?
Removed: ?
avatar HLeithner
HLeithner - comment - 27 Jun 2022

This pull request has automatically rebased to 4.2-dev.

avatar joomla-bot
joomla-bot - comment - 27 Jun 2022

This pull requests has been automatically converted to the PSR-12 coding standard.

avatar korenevskiy korenevskiy - change - 30 Jun 2022
Labels Added: ?
avatar korenevskiy korenevskiy - change - 1 Jul 2022
Labels Added: ?
Removed: ?
avatar drmenzelit
drmenzelit - comment - 21 Oct 2022

@korenevskiy could you please provide testing instructions for this PR?

avatar rdeutz
rdeutz - comment - 21 Oct 2022

Please provide an example how this makes sense.

avatar korenevskiy
korenevskiy - comment - 24 Oct 2022

@korenevskiy could you please provide testing instructions for this PR?

@rdeutz @drmenzelit
Sorry.

<field
	name="header_tag"
	type="headertag"
	label="COM_MODULES_FIELD_HEADER_TAG_LABEL"
	default="h5" >
                    <option value="figcaption">&lt;figcaption></option> 
                    <option value="legend">&lt;legend></option>
                    <option value="label">&lt;label></option> 
                    <option value="summary">&lt;summary></option>   
</field>
<field 
	name="module_tag" 
	type="moduletag" 
	label="COM_MODULES_FIELD_MODULE_TAG_LABEL"
	default="div" >
                    <option value="figure">&lt;figure></option> 
                    <option value="fieldset">&lt;fieldset></option>
                    <option value="li">&lt;li></option> 
                    <option value="details">&lt;details></option>  
</field>
avatar korenevskiy korenevskiy - change - 24 Oct 2022
The description was changed
avatar korenevskiy korenevskiy - edited - 24 Oct 2022
avatar korenevskiy korenevskiy - change - 24 Oct 2022
Labels Removed: ?
avatar Hackwar Hackwar - change - 21 Feb 2023
Labels Added: Conflicting Files
avatar HLeithner
HLeithner - comment - 2 May 2023

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

avatar obuisard obuisard - change - 9 Jun 2023
Title
[J4] Modification fields header tag, module tag  add custom options in XML
[5.0] Modification fields header tag, module tag  add custom options in XML
avatar obuisard obuisard - edited - 9 Jun 2023
avatar wilsonge wilsonge - change - 22 Nov 2023
Labels Added: Feature PR-5.0-dev ?
Removed: Conflicting Files ?
avatar wilsonge wilsonge - test_item - 22 Nov 2023 - Tested successfully
avatar wilsonge
wilsonge - comment - 22 Nov 2023

I have tested this item ✅ successfully on 5518ac3

Works as described. Can't see the issue with giving people the choice to do custom things.


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

avatar HLeithner HLeithner - change - 23 Nov 2023
Title
[5.0] Modification fields header tag, module tag  add custom options in XML
[5.1] Modification fields header tag, module tag  add custom options in XML
avatar HLeithner HLeithner - edited - 23 Nov 2023
avatar nielsnuebel nielsnuebel - test_item - 24 Feb 2024 - Tested unsuccessfully
avatar nielsnuebel
nielsnuebel - comment - 24 Feb 2024

I have tested this item ? unsuccessfully on 5518ac3

@wilsonge I think he wants to use the PR to add options, but this does not work with the PR as desired.

My test failed because the advances.xml overwrites the settings from the config of the module


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

avatar korenevskiy
korenevskiy - comment - 27 Feb 2024

@nielsnuebel
Thanks for the support. Where did you find this file? There is no such file in joomla. Perhaps a third-party extension makes a similar correction, which is what this PR does. Can you give me the address of this file in more detail

avatar HLeithner
HLeithner - comment - 24 Apr 2024

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

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.1] Modification fields header tag, module tag  add custom options in XML
[5.2] Modification fields header tag, module tag  add custom options in XML
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar HLeithner
HLeithner - comment - 2 Sep 2024

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

avatar HLeithner HLeithner - change - 2 Sep 2024
Title
[5.2] Modification fields header tag, module tag  add custom options in XML
[5.3] Modification fields header tag, module tag  add custom options in XML
avatar HLeithner HLeithner - edited - 2 Sep 2024

Add a Comment

Login with GitHub to post a comment