You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
Hi
I used "yii2-gallery-widget" in a page several times.
that is create many id="blueimp-gallery" div (renderTemplate function ran several time) That was conflict in gallery show.
I added this code in first of renderTemplate function (in /src/Gallery.php) and problem solved: static $isRendered = false; if ($isRendered) { return ''; }
please solve this issue (by this way or better way).
The text was updated successfully, but these errors were encountered:
The problem is about hardcoded ID & Class #gallery so its impossible to make two galeires e.g. for 2 image categories together. Its overwritten and make this effect of 2 times transparency layer.
Please can anyone implement dynamic generation?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I used "yii2-gallery-widget" in a page several times.
that is create many
id="blueimp-gallery"
div (renderTemplate function ran several time) That was conflict in gallery show.I added this code in first of renderTemplate function (in /src/Gallery.php) and problem solved:
static $isRendered = false;
if ($isRendered) {
return '';
}
please solve this issue (by this way or better way).
The text was updated successfully, but these errors were encountered: