cMotion in Album with title and comments

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

cMotion in Album with title and comments

Post by Dr.CSS »

I've been going crazy because I like the cMotion gallery and used it on an older site and it had the title for the image and was I going to port it over to work with Album then I saw one of the Available templates was cMotion, coool, then I tried it and it worked real quick, some kind of AJAX thing for large image but no way to add a title or comment to the large image...

Well after beating my head against the keyboard for a while the lump on my head helped me figure it out, but it is a little slower than the original in Album, I think titles and comments mess with the AJAX thingy... ;)

Here is a link to an Album page with all three, I ended up converting my old ver. over in hopes of getting the title and comments which I worked out...


http://multiintech.com/cmsms1.1/album.html
ChristianM

Re: cMotion in Album with title and comments

Post by ChristianM »

Looks quite interesting  ;)
Could you possibly post your tpl/css-file for adding title and comment features?
Thnx for your good work, ChristianM
Caspar

Re: cMotion in Album with title and comments

Post by Caspar »

mark wrote: some kind of AJAX thing for large image but no way to add a title or comment to the large image...
Hi Mark and Christian,

I guess, that's my fault: I submitted the cMotion template for Album. Obviously, I left some code in there I had played around with, but not used in the end.  :-X In short: I don't think the Ajax-JS is needed at all. If you have a test install, maybe try just removing the Ajax-script link, and everything should be all right.

Meanwhile, I've tried to improve the template and JS. There was a bug with the img attributes not being changed when you click on a new image.  I'll post the code asap, just need to go grocery-shopping right now. ;)

Regards,
Caspar
Caspar

Re: cMotion in Album with title and comments

Post by Caspar »

Wrote a new post: Album: CMotion template revision (edited)
Last edited by Caspar on Tue Sep 18, 2007 5:38 am, edited 1 time in total.
Caspar

Re: cMotion in Album with title and comments

Post by Caspar »

Sorry. Copy-pasted the wrong link. Here's the right one:
Album: CMotion template revision

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

Re: cMotion in Album with title and comments

Post by Dr.CSS »

OK that looks good, quicker than the one I hacked together...
Caspar

Re: cMotion in Album with title and comments

Post by Caspar »

mark wrote: OK that looks good, quicker than the one I hacked together...
Glad you like it. If it's worth improving my Karma, that'll make my day!  ;D
Post Reply

Return to “Tips and Tricks”