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   2283 Views

Avatar
effectwebdesign

Community Member, 16 Posts

20 February 2009 at 9:45am

Edited: 06/03/2009 9:59am

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

Community Member, 16 Posts

21 February 2009 at 3:41am

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

Community Member, 187 Posts

22 February 2009 at 9:33pm

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

Forum Moderator, 4094 Posts

23 February 2009 at 5:32am

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

Avatar
effectwebdesign

Community Member, 16 Posts

27 February 2009 at 3:32am

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

Community Member, 787 Posts

27 February 2009 at 4:08am

He means this one :

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

Avatar
effectwebdesign

Community Member, 16 Posts

27 February 2009 at 4:46am

Edited: 27/02/2009 4:47am

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

Forum Moderator, 4094 Posts

27 February 2009 at 5:33am

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