Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Gallery Module: Centering, Etc.


Go to End
Reply

9 Posts   2220 Views

Avatar
effectwebdesign

20 February 2009 at 9:45am (Last edited: 6 March 2009 9:59am), Community Member, 16 Posts

Anyone know why the gallery module layer isn't centering

Is it's positioning based off of a default theme or something?

Also I've left the options for displaying the title, size and dimensions unchecked yet they show.

Any ideas? Thanks.

Avatar
effectwebdesign

21 February 2009 at 3:41am Community Member, 16 Posts

found answer buried in another thread....

http://www.silverstripe.org/all-other-modules/show/251101

(if that thread is gone...)

hey,

I'm new in the forum and in the silverstripe framework! i just added the gallery module and get position failure on the popup!
i solved this by compare the lightwindow.js from the module with the original js-file.

Here the code-snippet that corupt my display:

if (!this.windowActive) {
// Position the window
$('lightwindow_container').setStyle({
left: this.dimensions.container.width/2 +'px',
top: -(this.dimensions.container.height/2)+'px'
});
}

here's the correct code:

if (!this.windowActive) {
// Position the window
$('lightwindow_container').setStyle({
left: -(this.dimensions.container.width/2)+'px',
top: -(this.dimensions.container.height/2)+'px'
});
}

Avatar
mschiefmaker

22 February 2009 at 9:33pm Community Member, 187 Posts

What version of this are you runnig. I can't get the lightbox to work in IE but yours seems to work fine. Did you have any trouble getting it working?

thanks

MM

Avatar
UncleCheese

23 February 2009 at 5:32am 4085 Posts

FYI... The gallery module is no longer supported. Try the new version in the "all other modules" section.

Avatar
effectwebdesign

27 February 2009 at 3:32am Community Member, 16 Posts

Ah, so what other gallery module IS supported? The Flickr one is pretty bad with no lightbox type overlay.

I don't see and "All other modules" link, just "Unsupported" in which I see no other gallery solution.

Thanks for any direct link to an alternative.

Avatar
Fuzz10

27 February 2009 at 4:08am Community Member, 787 Posts

He means this one :

http://www.silverstripe.org/all-other-modules/show/250910

Avatar
effectwebdesign

27 February 2009 at 4:46am (Last edited: 27 February 2009 4:47am), Community Member, 16 Posts

dumb question. is the link to a new module or just 11 pages of thread you have to comb through to snag code tweaks to the existing unsupported gallery module???!!!

if there is a new module with all the incorporated tweaks could someone post that? that would be sweet.

Avatar
UncleCheese

27 February 2009 at 5:33am 4085 Posts

Yeah, that thread is becoming quite immense. Basically, you just need to check out the following modules from SVN:

svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/dataobject_manager
svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/swfupload

Run a /dev/build

svn co http://carlinowebdesign.svn.beanstalkapp.com/modules/trunk/image_gallery

If you don't have, or are not familiar with SVN, I'll be publishing a ZIP file soon.

Go to Top