Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Front end editing media field incorrectly rendered

Featured Lock Resolved Bug
An issue with the rendering of the media field where the select link href is incorrect.
The following patch seems to fix this, but would appreciate your review.


diff --git a/plugins/system/helixultimate/html/layouts/form/field/media.php b/plugins/system/helixultimate/html/layouts/form/field/media.php
index 8f8cf36..c9096cf 100644
--- a/plugins/system/helixultimate/html/layouts/form/field/media.php
+++ b/plugins/system/helixultimate/html/layouts/form/field/media.php
@@ -141,7 +141,7 @@ echo ' <input type="text" name="' . $name . '" id="' . $id . '" value="'
$modalLink .= 'index.php?option=com_media&view=images&tmpl=component&asset=' . $asset . '&author=' . $authorField;
}

- $modalLink .= '&fieldid=' . $id . '&folder=' . $folder;
+ $modalLink .= $link . '&fieldid=' . $id . '&folder=' . $folder;
}
?>

1 Answers

Please login to view replies.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 163
Sifat

Sifat

Total Accepted Answers: 152
Toufiq

Toufiq

Total Accepted Answers: 63
S

Shana

Total Accepted Answers: 3
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us