A new gallery manager : Album

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ProSam

Re: A new gallery manager : Album

Post by ProSam »

I got to work using DIV's instead of P's. Weird. Why did that work?

But I still can't find the template to alter that first page. Anyone?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: A new gallery manager : Album

Post by Dr.CSS »

P insted of Div LOL oh well whatever works... do it validate?... should...
which ver. of Album are you using?

  mark
ProSam

Re: A new gallery manager : Album

Post by ProSam »

I'm running the latest version. Just installed today.

I also figured out why that first page was updating. Had to go back into the pages section and update the template being used for that page. Took me only all day to figure that out.  :-\

Everything seems to be working correctly now.
gothikon
New Member
New Member
Posts: 7
Joined: Fri May 19, 2006 5:08 am

Re: A new gallery manager : Album

Post by gothikon »

Hi

I'm still fairly new to CMSMS but making some pretty good progress with it. Anyway, I've mucked around with a few gallery solutions and whilst ideally I'd like to see good frontend and back end integration with gallery2 Album is ideal for the majority of my users and much simpler. Having said that I do have a few minor niggles with Album, missing documentation in some places, a slightly unusual default tempalte etc and would really like to be able to contribute back to this project, how should I go about this? Will you be enabling SVN access?

Thanks!
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

gothikon wrote: Having said that I do have a few minor niggles with Album, missing documentation in some places, a slightly unusual default tempalte etc and would really like to be able to contribute back to this project, how should I go about this? Will you be enabling SVN access?
I think dam is planning to start having an SVN version sometime. See: http://forum.cmsmadesimple.org/index.ph ... l#msg24009

Even though there isn't SVN access, I've been posting patches to the latest version of Album here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse

Hopefully dam will get around to applying those patches someday.  :)
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. :)
Mesmer

Re: A new gallery manager : Album

Post by Mesmer »

three questions:
#1 is it possible to set a default Column and Row number under Properties?
#2 When I open an album it show some thumbs with under them the first picture in normal size. On the second page there is no normale size picture under the thumbs as on page one. is it possible to make it so the second page displays like the first? (I hope I've made myself clear ;) )
#3 On the home album page there is a link 'back' above the first album thumb. where does this come from and how can I remove it?
Last edited by Mesmer on Fri May 19, 2006 9:42 pm, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

Mesmer wrote: three questions:
#1 is it possible to set a default Column and Row number under Properties?
I just wrote a patch to allow the default number of rows and columns to be set.
See: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=727
It'll be cool if it makes it into the next Album version.

Mesmer wrote: #2 When I open an album it show some thumbs with under them the first picture in normal size. On the second page there is no normale size picture under the thumbs as on page one. is it possible to make it so the second page displays like the first? (I hope I've made myself clear ;) )
I got it sorta working by hacking the template, but I couldn't get the next and previous links to be correct. Do you really need a full size picture shown on page 2 of the thumbnails? To see the next full size picture just click the ">" link next to "picture 1/##".
Mesmer wrote: #3 On the home album page there is a link 'back' above the first album thumb. where does this come from and how can I remove it?
1. Click on the "Templates" tab.
2. Under "Templates" click on "default".
3. Delete this line:

Code: Select all

{if $returnlink}<br /><a href="{$returnlink}" >Back</a>{/if}
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. :)
Mesmer

Re: A new gallery manager : Album

Post by Mesmer »

Elijah Lofgren wrote:
Mesmer wrote: #3 On the home album page there is a link 'back' above the first album thumb. where does this come from and how can I remove it?
1. Click on the "Templates" tab.
2. Under "Templates" click on "default".
3. Delete this line:

Code: Select all

{if $returnlink}<br /><a href="{$returnlink}" >Back</a>{/if}
That's what I was thinking but it does not remove the 'back' textlink on the album index page
Check this page. I Want that 'back' textlink to be gone since it doesn't have any purpose. When I remove the line you suggested this back-link is still there but the back-link in the album is gone (which I don't want to happen). I also noticed the textstyle in the album index page is different from the style in the album. Could that be the same problem?
This is the default template.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

Mesmer wrote: That's what I was thinking but it does not remove the 'back' textlink on the album index page
Check this page. I Want that 'back' textlink to be gone since it doesn't have any purpose. When I remove the line you suggested this back-link is still there but the back-link in the album is gone (which I don't want to happen).
I don't know what's wrong.  :-\ It works fine for me. If I remove this line from the template:

Code: Select all

{if $returnlink}<br /><a href="{$returnlink}" >Back</a>{/if}
ALL the back links disappear from Album.

If I replace that line with this:

Code: Select all

{if $album AND $returnlink}<br /><a href="{$returnlink}" >Back</a>{/if}
then the back link is not shown on the album index page, but is still shown on the other pages.
Mesmer wrote: I also noticed the textstyle in the album index page is different from the style in the album. Could that be the same problem?
This is the default template.
It sounds as though you have two different templates, one for the Album index and one for the individual album. Are you sure there is only 1 template listed when you go to the "Templates" tab?
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. :)
Mesmer

Re: A new gallery manager : Album

Post by Mesmer »

yes, i have only one (the default) template.

I've put that second line of code in and that worked :D
The style difference on the albums index is weird. I'll try if the problem also occours on a fresh cmsms and album install.
sparky

Re: A new gallery manager : Album

Post by sparky »

Hi Dam,

I am about to publish a site with Katon's multiling version of CMSMS and your Album 0.2. Tests are fine so far.

Ist there any chance to make your gallery Album multiling? My customer has comments to each photo. Now I have to make two separate albums with identical pics, one with German and the other with English comments.

For better understanding you can see the current website in German http://www.zafrans.de Click in the left navigation on the second  link from top.
Last edited by sparky on Sun May 21, 2006 1:36 pm, edited 1 time in total.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: A new gallery manager : Album

Post by Greg »

Fantastic Module !!

Just a couple of problems CMSMS version .13, album - all files from svn - revision 10:

When adding pictures to an album if I go to the base folder uploads/images no problems. If I go to a subfolder such as uploads/images/housepics I get the following warnings:
Warning: Division by zero in D:\AAAWeb\cms\modules\Album\lib.browsepictures.php on line 96

Warning: Division by zero in D:\AAAWeb\cms\modules\Album\lib.browsepictures.php on line 97
Greg
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

Greg wrote: Fantastic Module !!
I agree. Dam did a great job creating Album!  :D
Greg wrote: Just a couple of problems CMSMS version .13, album - all files from svn - revision 10:

When adding pictures to an album if I go to the base folder uploads/images no problems. If I go to a subfolder such as uploads/images/housepics I get the following warnings:
Warning: Division by zero in D:\AAAWeb\cms\modules\Album\lib.browsepictures.php on line 96

Warning: Division by zero in D:\AAAWeb\cms\modules\Album\lib.browsepictures.php on line 97
Thank you for for bug report. This have been fixed in the SVN version of Album revision 12.

The error was caused by browsing folders that contained non-image files in them. In the latest SVN, Album no longer tries to calculate the dimensions of non-image files.

If you want you can just replace modules/Album/lib.browsepictures.php with the fixed version here: http://viewsvn.cmsmadesimple.org/viewsv ... root=album
Edit: Fixed url.
Last edited by Anonymous on Mon May 22, 2006 6:30 pm, edited 1 time in total.
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. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

gothikon wrote: Having said that I do have a few minor niggles with Album, missing documentation in some places, a slightly unusual default tempalte etc and would really like to be able to contribute back to this project, how should I go about this? Will you be enabling SVN access?
SVN access is now enabled (thanks to westis). You can access it here:
http://dev.cmsmadesimple.org/scm/?group_id=167

There are instructions for how to create patches here: http://forum.cmsmadesimple.org/index.ph ... 712.0.html

You can submit your patches to Album here: http://dev.cmsmadesimple.org/tracker/?a ... unc=browse

Thanks anyone who submits patches!  :)
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. :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: A new gallery manager : Album

Post by Greg »

Almost perfect now -- thanks Elijah.

When I first open an album it lists 1 more photo than there is in the album.
e.g. Click on an album to display and the links show >>
when there are actually only 3 photos in the album.
Clicking the >> link which has a tooltip of 'last' takes me back to my home page.

After clicking on any thumbnail the number changes to the correct number >>
and the >> link takes me to the last photo in the album.

This is with version 12 of album.
Greg
Post Reply

Return to “Modules/Add-Ons”