Page 1 of 1

[solved] Album - problem with templates

Posted: Fri Oct 26, 2007 4:41 am
by Stringfellow
Hello

I's using lightbox as both default and choosen for this page, even so I can't find were to edit the template that shows the picture.

http://www.kullavikdesign.se/pearl-design/nattplagg/

If you look at a image you'll se "Image X of X" below the picture, where does that code come from? It does'nt matter what I do in lightbox-template. I managed to edit the css using the modules/Album/css/stylesheet.css

I also did change the "close"-button to my language.

Regards, Jakob

Re: Album - problem with templates

Posted: Fri Oct 26, 2007 5:10 am
by Dr.CSS
Did you use the lag="***" in the tag not sure what lang so I *** but 'us eng' is en_US?...

Re: Album - problem with templates

Posted: Fri Oct 26, 2007 5:39 am
by Stringfellow
No change.

Even so, you should be able to hard-code it, but where???

I also don't have any stylesheet named "album" in CMSMS.

Re: Album - problem with templates

Posted: Fri Oct 26, 2007 6:29 am
by Stringfellow
secoif wrote: argh, i misread what you wanted to do.
hold on

you'll find it in:
httpdocs/modules/Album/templates/db/lightbox/js/lightbox.js
on line number: 454

Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length);

There you go.
Great! Thankt a lot!

Any idea how to get the prev/next-links to?

Edit: Solved it, the urls where wrong in the css:

#prevLink:hover, #prevLink:visited:hover