User tests: Successful: Unsuccessful:
Pull Request for Issue #13744.
On a fresh installation, when the plugin params didn't get saved, the default directory is empty. This PR handles this situation.
Only the subfolders of /images should be shown.
The whole directory of the Joomla installation is shown.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
I have tested this item
I would suggest making rather a change in /plugins/fields/gallery/params/gallery.xml (adding default & required attribs):
<field
name="directory"
type="text"
default="images"
required="true"
label="PLG_FIELDS_GALLERY_PARAMS_DIRECTORY_LABEL"
description="PLG_FIELDS_GALLERY_PARAMS_DIRECTORY_DESC"
/>
If the value in the field params arenemoty thennit should inherit from the plugin. That's why this shouldn't being defaulted.
Please set to RTC.
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-26 12:24:45 |
Closed_By | ⇒ | wilsonge |
I have tested this item✅ successfully on 93d41cb
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13761.