-
- 241 Posts
I’m trying to integrate jbgallery component with easy2gallery.
The issue is that thumb grid inside [+easy2:content+] defaults to <div class="e2g"... and i can’t figure out how to change it to ul, which is what jbgallery is expecting. There’s a setting to change "e2g" class but i can’t seem to find a way to change div to ul.
Any ideas would be greatly appreciated.
-
- 241 Posts
I was unable to find an elegant way to change div to ul so resorted to brute force.
Changing ’div’ to ’ul’ in modules/easy2/includes/models/e2g.snippet.class.php on line 358 solved the problem.
I’d like to suggest adding another parameter to viewer settings in order to make grid container configuration more flexible.
hmm... that’s a new gallery.
I’d use the slideshow option by creating the new one.
But you’re right.
I think I must find out how to have all the html tags out of the core.
I’ll see what I can do.
thx.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 241 Posts
jbgallery didn’t work very well, so i settled on TN3 Gallery. But it also needed a <ul> element inside the grid container.
I think the simplest solution is to pull all wrapper divs out of [+easy2:content+] and into the gallery template.
please remind my by putting the request on my
Github’s issue.
thx.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.