No Code Attached Yet
avatar korenevskiy
korenevskiy
1 Oct 2021
<field
	type="filelist"
	filter="^(theme_)[A-Za-z0-9]*(.css)"
name="stylefiles"
hide_default="true"
hide_none="true"
multiple="false"
default="default.css"
directory="modules/mod_select/css/"
exclude=""
stripext=""
label="Style">
</field>

Not working filter files
filter="^(theme_)[A-Za-z0-9]*(.css)"
filter="css"
filter="^(?!(theme_*)|(default.css)|(test.css)).*.css"
filter="^(?!(forAdmin.css)|(test.css)).*.css"
filter="^(?!forAdmin.css).*.css"

Display all files in directory

avatar korenevskiy korenevskiy - open - 1 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 1 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Oct 2021
avatar korenevskiy korenevskiy - change - 1 Oct 2021
The description was changed
avatar korenevskiy korenevskiy - edited - 1 Oct 2021
avatar Fedik
Fedik - comment - 1 Oct 2021

Please check for correct attribute name https://docs.joomla.org/Filelist_form_field_type

avatar richard67 richard67 - change - 1 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-01 20:19:21
Closed_By richard67
avatar richard67 richard67 - close - 1 Oct 2021
avatar richard67
richard67 - comment - 1 Oct 2021

The attribute is named fileFilter in Joomla 4, as stated in the docs. Closing as expected behavior.

avatar korenevskiy
korenevskiy - comment - 1 Oct 2021

@richard67
That's... wow.

We could, for old compatibility, enable support for both attributes.

Add a Comment

Login with GitHub to post a comment