No Code Attached Yet
avatar thomaslanger
thomaslanger
16 May 2025

Steps to reproduce the issue

Test 1
Create Form XML and add two "Accessiblemedia Form Fields" or two "Media Form Fields"
set the directory attribut to two different folders from /images/

Test 2
Create a new folder in documentroot with sub folders and images.
E.G.
/myimages/
/myimages/folder1/
/myimages/folder2/
Add this folder (myimages) with filesystem plugin to the mediamanager.
Change directory attributs of the fields to /myimages/folder1/ and in the second field to /myimages/folder2/

Expected result

Test 1
First field opens first directory in mediamanager popup
Second field opens second directory in mediamanager popup

Test 2
First field opens first directory in mediamanager popup
Second field opens second directory in mediamanager popup

Actual result

Test 1
First field opens first directory in mediamanager popup
Second field opens second directory in mediamanager popup

Test 2
First field opens first directory in mediamanager popup
Second field opens first directory in mediamanager popup

If directory attributs not point to images folder, so all Accessiblemedia or Media Fields open the same folder in mediamanager.

System information (as much as possible)

Joomla Version 5.3.0, PHP 8.1

Additional comments

avatar thomaslanger thomaslanger - open - 16 May 2025
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 May 2025
avatar thomaslanger
thomaslanger - comment - 16 May 2025

avatar thomaslanger
thomaslanger - comment - 16 May 2025

avatar dgrammatiko
dgrammatiko - comment - 19 May 2025

This is by design: the last visited folder in the media manager is the one that opens up in any field picker

Add a Comment

Login with GitHub to post a comment