[solved] Album - Templates works odd

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.
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

[solved] Album - Templates works odd

Post by osn »

I'm trying some of the other templates for Album (have mostly used "separate_thumbs"), but I have some problems with them. I think I have missed something during installation. I searched the forum but didn't found anything that seem to match my problems.

First
I get all thumbnails in a long vertical row.

Second
When I press one thumb the page starts to act crazy. Please have a look at the link below. Examples of templates where this is happening is greybox, lightbox and thickbox.

look here for seeing it. I use greybox here:
http://dartfrog.tk/cms/index.php?page=lehmanni

Anyone having any idea what is missing or wrong?


Dennis
Last edited by Anonymous on Sat May 12, 2007 8:02 pm, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Album - Templates works odd

Post by jans »

same strange thing happens here, dunno what's wrong, I did not use any special template just the default one.
Last edited by jans on Wed Jan 17, 2007 12:47 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Album - Templates works odd

Post by RonnyK »

Dennis,

what is the stylesheet you attached to the "Album" and what version are you running. In the latest version "Album default stylesheet" is installed, but also an old one was available, probably from an earlier install. If you have both stylesheets, try the other one. I had a problem recently bacause of the switch to the new stylesheet and had to add some entry in its stylesheet. So the one ending in the name with (default for ....) is the old one, "Album default stylesheet" is the new one.

Ronny
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: Album - Templates works odd

Post by jans »

thanks, changed to another template (pats ImageGallery) and now I get a popup windows which shows the phot you click on at 100% of it's size.

This is what i was looking for.

BTW, I was not able to find the new default template you are mentioning in the installated files, perhaps that was wrong with it ?
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Album - Templates works odd

Post by osn »

RonnyK wrote: Dennis,

what is the stylesheet you attached to the "Album" and what version are you running. In the latest version "Album default stylesheet" is installed, but also an old one was available, probably from an earlier install. If you have both stylesheets, try the other one. I had a problem recently bacause of the switch to the new stylesheet and had to add some entry in its stylesheet. So the one ending in the name with (default for ....) is the old one, "Album default stylesheet" is the new one.

Ronny
My default template for the whole photo album module is set to "seperate_thumbnails" since this is what I normally use in my albums but there is some albums that I want to use a diffrent template for.
I have found the diffrent stylesheets in the stylesheet-list but I can't find how to attatch the stylesheets to the right templates. Albums templates isn't listed with the CMSMS templates, and below "photo album -> file templates" I can only find "View Default Stylesheet".
How do I change the setting for what stylesheet I want to use?

Versions:
CMSMS 1.0.2 
album  0.8.2 (with the latest addons/patches from Elijha so that the "default_page template" is enabled and work perfect)
Dennis Nilsson, Sweden
www.dartfrog.tk
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Album - Templates works odd

Post by osn »

A small addon to the last post from me:

I still don't know how (or if it's necesary) to change "Default Stylesheet" for Album, but now I have added "Album (for default, ImageGallery, and Thickbox templates)" to the templates I use for showing my photo albums. This solved the problem with the thumbnail-viewing problem, or at least it tries to view the thumbnails diffrent, but when I'm clicking the thumbnails the page still acts like crazy. Also the thumbnails that has comments or copyright info is looking odd.

Have a look here for viewing an example with greybox:
http://dartfrog.tk/cms/index.php?page=lehmanni

Have a look here for viewing an example with Thickbox:
http://dartfrog.tk/cms/index.php?page=pumilio
Last edited by osn on Wed Jan 17, 2007 3:41 pm, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Album - Templates works odd

Post by RonnyK »

Dennis,

maybe you could try linking the "Album default stylesheet" and add the code from the following link in it. This way you'll run with the latest CSS belonging to the version you have of Album.

http://forum.cmsmadesimple.org/index.php/topic,9310.0.html

Ronny
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Album - Templates works odd

Post by Dr.CSS »

The one for Greybox is missing the CSS for it the CSS should have GB_something something in front of it, probably in the new style sheet...

The other one looks like you are trying to use a new feature he put in for someone that was looking for a way to put 2 diff. captions/descriptions in, try just using what would be the old style comments/captions/descriptions...
Dre

Re: Album - Templates works odd

Post by Dre »

When I look at the examples of Dennis, it seems likes he solved the problem. But I don't understand what he did.  ???

I've imported the thickbox-with-prev-next-links and assigned it to my album. When I click on a photo it is showed at the bottom of the page an acts weired.

Because I made a clean install of the album I don't have old stylesheets in my list and I also don't understand how I have to change that, just like Dennis is wondering.

here is an example: http://baptistenhuizen.nl/staging/index.php?page=fotoalbums
(site is still under construction so don't laugh please  ::))

Can you help me?


Versions:
CMSMS 1.0.4
album  0.8.2
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Album - Templates works odd

Post by osn »

Hi Dre!
Yes! My problems is solved now! It took me 3 weeks to get it solved but I had never been able to solve it without the people here in forum and in the chat.

First you have to add the "album stylesheet" to the template that you will insert the photo album in, otherwise Album dosn't know how to place the thumbnails or behave. Do like this:

templates -> click at the right side at the tiny yellow CSS icon of the template you want to add it for -> add the stylesheet: "Album stylesheet".



No laughs... my site had a big ugly sunflower for 1 month until I found out that the theme was not good enough and made everything from the beginning with help of this forum and looking at other peoples work + the original stylesheets. I didn't know much of templates and stylesheets back then and even less about scripts, but I have learned alot from all helpful people here!

The biggest problems I had where with builtin functions in greybox that wasn't looking the same in IE6 IE7 and Firefox + the listings of the thumbnails in IE6 + some modifications of the stylesheets.



/Dennis
Last edited by osn on Fri Feb 16, 2007 3:22 pm, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
Dre

Re: Album - Templates works odd

Post by Dre »

osn wrote: Hi Dre!
Yes! My problems is solved now! It took me 3 weeks to get it solved but I had never been able to solve it without the people here in forum and in the chat.

First you have to add the "album stylesheet" to the template that you will insert the photo album in, otherwise Album dosn't know how to place the thumbnails or behave. Do like this:

templates -> click at the right side at the tiny yellow CSS icon of the template you want to add it for -> add the stylesheet: "Album stylesheet".



No laughs... my site had a big ugly sunflower for 1 month until I found out that the theme was not good enough and made everything from the beginning with help of this forum and looking at other peoples work + the original stylesheets. I didn't know much of templates and stylesheets back then and even less about scripts, but I have learned alot from all helpful people here!

The biggest problems I had where with builtin functions in greybox that wasn't looking the same in IE6 IE7 and Firefox + the listings of the thumbnails in IE6 + some modifications of the stylesheets.



/Dennis
Thanks Dennis, that was exactly what I needed!

It's working now....
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Album - Templates works odd

Post by Elijah Lofgren »

Wow, sorry about all the Stylesheet trouble guys.

I've figured out a way to make Album automatically use the Stylesheet without need for attaching. I guess I should really try to get a new release out with that feature. Hopefully over Spring Break.. :)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Dre

Re: Album - Templates works odd

Post by Dre »

Elijah Lofgren wrote: Wow, sorry about all the Stylesheet trouble guys.

I've figured out a way to make Album automatically use the Stylesheet without need for attaching. I guess I should really try to get a new release out with that feature. Hopefully over Spring Break.. :)
No Problem, I'm very happy with the module. It's very nice. Keep up the good work.
Dre

Re: Album - Templates works odd

Post by Dre »

osn wrote: Hi Dre!
Yes! My problems is solved now! It took me 3 weeks to get it solved but I had never been able to solve it without the people here in forum and in the chat.

First you have to add the "album stylesheet" to the template that you will insert the photo album in, otherwise Album dosn't know how to place the thumbnails or behave. Do like this:

templates -> click at the right side at the tiny yellow CSS icon of the template you want to add it for -> add the stylesheet: "Album stylesheet".



No laughs... my site had a big ugly sunflower for 1 month until I found out that the theme was not good enough and made everything from the beginning with help of this forum and looking at other peoples work + the original stylesheets. I didn't know much of templates and stylesheets back then and even less about scripts, but I have learned alot from all helpful people here!

The biggest problems I had where with builtin functions in greybox that wasn't looking the same in IE6 IE7 and Firefox + the listings of the thumbnails in IE6 + some modifications of the stylesheets.



/Dennis
Dennis; another question for you: You have a very nice template.
Did you customize the lightbox stylesheet or did you get it form something else?
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Album - Templates works odd

Post by osn »

Dre wrote:
Dennis; another question for you: You have a very nice template.
Did you customize the lightbox stylesheet or did you get it form something else?

It's a lightly customized greybox, not lightbox.


Dennis
Dennis Nilsson, Sweden
www.dartfrog.tk
Post Reply

Return to “CMSMS Core”