Page 1 of 1

Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Thu Apr 05, 2007 7:34 pm
by Vin
I've searched the forum thouroghly, I swear :'( ;)

My problem is, that if I add more albums and connect it with (just) one page, the template works properly EXCEPT the 'big picture' display. No matter what type of content (Content/Album), no matter what browser. Works with one album attached per page.

[edit] I've found out that the links to the scripts (script src) didn't have the slash / at the beginning. Hence the problem, I used pretty urls with hierarchy, so the resultant relative url was wrong.

I'll post the bug and patch in the forge.

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 12:59 pm
by klendino
Hi

How did you fix this issue?
I looked for it in the forge, but couldn't find anything.
I installed the album module with pretty URL and hierarchy and face the same problem you have. Maybe you can post the fix here as well.

Thank you

K

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 1:50 pm
by Jos

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 2:25 pm
by klendino
Thanks Jos

Did as described in the help file already and have {metadata} between the tags, but still, album is not working properly.
You can see the result here: http://www.ilovemyislanddog.org/home/ph ... lbum-19/97

Again thanks for any suggestions.

K

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 4:31 pm
by Jos
In that case I guess the javascript works allright, but the stylesheet is not included. Try this http://forum.cmsmadesimple.org/index.ph ... 769.0.html

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 6:12 pm
by Dr.CSS
In Album there is a check box in Options tab...

Auto Link Stylesheet: Check this box to automatically insert the link to the Album stylesheet in head of your page. This should usually be left enabled.:

View Default Stylesheet (this is a link)

Most times I click the view stylesheet link then copy and paste it into a new style sheet and attach that to the template or put a link to it in the page meatadata box, but you will have to adjust the lightbox prev/next image links/paths...

{stylesheet name='album'} Is how I call it in metadata box...

Re: Problem with Album - javascript for popup doesn't work[SOLVED]

Posted: Tue Nov 09, 2010 8:47 pm
by klendino
Hi Mark

Great, linked the album stylesheet to the template and now it works!

Greetz

K