1

I am using a field for filelist where I want to bring only png files

    <field name="menu_icon"
        type="filelist"
        default=""
        hide_default="true"
        required="true"
        label="JSM_CUSTOM_MENYV_SELECT_ICON"
        description="JSM_CUSTOM_MENYV_SELECT_ICON_DESC"
        directory="media/com_jeemasmsmobile/menuicons"
        filter="*.png" exclude="" stripext="" />

What filter should I apply???

4

Use filter="png" instead of filter="*.png" (remove *.)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.