Album help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
amygdela

Album help

Post by amygdela »

Hello,

my client wants to select 3 photos in the Album module that then display on his homepage, and I'm kinda stuck on how to accomplish this. Can anybody help me with this?

I'm maybe thinking about a checkbox next to each image and if selected it will appear on the homepage with a cmsms tag? But I have no clue where to start...  Thanks for any assistence!

Jasper
amygdela

Re: Album help

Post by amygdela »

OK, ofcourse no one will help me :) This is just asking somebody to work for me, and I understand that.

so with my little PHP knowledge, I figured all I needed to do is add another table to the database that saves the currently selected images by adding the photo-id and select-state to the database of each photo.
Then after that read out that table to find the images that are selected by the admin, and parse that in the template or contents in a small loop.

So far so good, I think I can accomplish that. But I have very limited (no) experience in coding anything into smarty, so how do I 'tell' CMSMS where to find these results and how to parse them on the homepage? Any pointers?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Album help

Post by Dr.CSS »

You want it to appear in the home page where?...

You can use Album by making a new template then make an album and tell it to use that template and the put the album call on the home page, maybe in a content box called album, {content block='album'} which gives a fully editable content box with the toolbar but then they could just use the image insert button there and not have to use album...
amygdela

Re: Album help

Post by amygdela »

Explain thát to your client :) That ain't gonna cut it with him.

I just manually added a page where all thumbnails are printed on, then added checkboxes who give a boolean value to a row in the dbase and on the website I read out the images that have boolean value 1 and it works, without hassle for my client :)(
Locked

Return to “Modules/Add-Ons”