Page 1 of 1
Album Module: image comments don't work [solved]
Posted: Tue Dec 26, 2006 2:01 pm
by amygdela
Hello,
I've got a strange problem. I use the Album module on 2 websites. On one website the comments option works fine, I can add comments to every image, like shown on the screenshot:
// Links removed, problem solved.
But on another website, on the same server wich is a copy of the installation of CMSMS like in the screenshot above, I cannot add comments???
// Links removed, problem solved.
What can be wrong? Thanks for any help!
Oh and yes, I'm crazy... I work during christmas

Re: Album Module: image comments don't work
Posted: Tue Dec 26, 2006 6:09 pm
by Dr.CSS
Are there any images in that album?...
The first shot shows a thumbnail the second shows no thumb and a link back to somewhere, I can't read it, but the first shows no link back to ? so it looks like no thumbs...
If it is an exact copy did you load the images in to the corresponding folder, doing a backup or move you generally have to move the image folder by FTP...
Re: Album Module: image comments don't work
Posted: Wed Dec 27, 2006 3:51 am
by Elijah Lofgren
Please try with the latest SVN of Album.
Let me know if you still have problems and I'll be glad to work with you to get Album working.
Merry Christmas,
Elijah
Edit: removed link to old version of Album.
Re: Album Module: image comments don't work
Posted: Wed Dec 27, 2006 5:15 am
by amygdela
mark wrote:
Are there any images in that album?...
Yes there are. 9 to be exact, all jpg and all different sizes.
The first shot shows a thumbnail the second shows no thumb and a link back to somewhere, I can't read it, but the first shows no link back to ? so it looks like no thumbs...
There are thumbs created by Album, that's working fine. You can find a thumbnail
here
If it is an exact copy did you load the images in to the corresponding folder, doing a backup or move you generally have to move the image folder by FTP...
It's only an exact copy of the basic install of CMSMS, pre-packed with the most used modules by us. The images were added using the built-in upload function in Album. That all worked fine. I see thumbs, I see photos, but I just don't see comments.
The second screenshot shows the result of clicking the 'add comment' icon below a thumbnail in the Album admin. So there's just no action at all? While in the first screenshot I did the same, and then I got a thumbnail and a comment form.
I will try that, thank you. MC to you to, although it's a bit late now
I'll get back about this.
//EDIT
That solved my problem. Comments now work again, ahhh what a relief! You're the greatest, thanks a LOT!
Re: Album Module: image comments don't work
Posted: Fri Dec 29, 2006 5:19 am
by amygdela
Hi Elijah,
I do have a question/feature request tough, perhaps it's not difficult to implement. Is it possible to have 2 comment fields per picture in Album, that can be called separately in a template?
Re: Album Module: image comments don't work
Posted: Fri Dec 29, 2006 5:30 am
by Elijah Lofgren
amygdela wrote:
Hi Elijah,
I do have a question/feature request tough, perhaps it's not difficult to implement. Is it possible to have 2 comment fields per picture in Album, that can be called separately in a template?
I'm guessing you want two title fields also?
Are you wanting to use this for multi-lang?
Maybe I should just go ahead and make Album work with multi-lang. I wonder how hard it would be.
Re: Album Module: image comments don't work
Posted: Fri Dec 29, 2006 9:59 pm
by amygdela
I'm using the Album as product gallery, and I have thumbnails with a small description below them, and when clicked on the thumbnails you see a bigger image with a longer description. Therefore it would be useful to have multiple comment sections for each image, or selectable for either thumbnail or big image. Would that be possible? I've tried looking through the PHP files but noticed the smarty stuff was quite difficult... Any help would be much appreciated!
Re: Album Module: image comments don't work
Posted: Fri Dec 29, 2006 11:37 pm
by Elijah Lofgren
amygdela wrote:
I'm using the Album as product gallery, and I have thumbnails with a small description below them, and when clicked on the thumbnails you see a bigger image with a longer description. Therefore it would be useful to have multiple comment sections for each image, or selectable for either thumbnail or big image. Would that be possible? I've tried looking through the PHP files but noticed the smarty stuff was quite difficult... Any help would be much appreciated!
Ah, so you just want two of the "Comment:" textareas and not another "Title" one also. I'll look into adding it. It shouldn't be really hard. Hopefully I won't get distracted (way too likely)

Re: Album Module: image comments don't work
Posted: Sat Dec 30, 2006 3:24 am
by Elijah Lofgren
amygdela wrote:
I'm using the Album as product gallery, and I have thumbnails with a small description below them, and when clicked on the thumbnails you see a bigger image with a longer description. Therefore it would be useful to have multiple comment sections for each image, or selectable for either thumbnail or big image. Would that be possible? I've tried looking through the PHP files but noticed the smarty stuff was quite difficult... Any help would be much appreciated!
Feature added in latest SVN:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Just add {$comment2} to your template where you want the second comment to appear.
Let me know if you have any problems.
Enjoy,
Elijah
Edit: removed link to old version of Album.
Re: Album Module: image comments don't work
Posted: Sat Dec 30, 2006 3:34 am
by amygdela
This is pure CMSMS community power! Brilliant, I will try it out right now!! Thanks a LOT for your efforts!!
Re: Album Module: image comments don't work
Posted: Sat Dec 30, 2006 3:50 am
by amygdela
Here is the result. It needs some more styling, but the basics are there!
http://www.brevehoutbewerking.nl/producten/tuinhout2/
Below the thumbnails a small descriptive title, and when clicked on a thumbnail you see a bigger image with comment2 next to it. Brilliant, thanks again!
Re: Album Module: image comments don't work
Posted: Sat Dec 30, 2006 3:33 pm
by amygdela
Elijah, pardon me for beeing a jerk, but I just spoke to the client about this website and he wants to add one more comment field for an extended description below each big image... So I actually need another comment field... Sorry for not bringing this up earlier, but is this possible?? Thanks for any help.... I'm just too afraid I wreck the script when I make such changes myself...
Re: Album Module: image comments don't work
Posted: Sat Dec 30, 2006 7:41 pm
by Elijah Lofgren
amygdela wrote:
Elijah, pardon me for beeing a jerk, but I just spoke to the client about this website and he wants to add one more comment field for an extended description below each big image... So I actually need another comment field... Sorry for not bringing this up earlier, but is this possible?? Thanks for any help.... I'm just too afraid I wreck the script when I make such changes myself...
You're not a jerk.

It's possible.

Don't worry about wrecking the script. If you have problems ask in #cms and usually someone can help.
I've added it in SVN:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Download here:
http://www.elijahlofgren.com/uploads/mo ... .2-svn.xml
Enjoy,
Elijah
Re: Album Module: image comments don't work [solved]
Posted: Sun Dec 31, 2006 2:47 am
by amygdela
Thank you for your assistence. It was really helpful, thanks a lot!!!