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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Vin

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

Post 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.
Last edited by Vin on Fri Apr 06, 2007 10:02 am, edited 1 time in total.
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

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

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

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

Post by Jos »

User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

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

Post 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
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

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

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
User avatar
klendino
Forum Members
Forum Members
Posts: 67
Joined: Wed Oct 19, 2005 8:22 pm

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

Post by klendino »

Hi Mark

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

Greetz

K
Locked

Return to “CMSMS Core”