Page 12 of 22

Re: A new photo album manager : Gallery

Posted: Wed Oct 20, 2010 9:25 am
by requish
yhmm  8)

I have some like that:

Code: Select all

<div>Top Website</div>
<div id="left_column">{content}</div>
<div id="right_column">{bannery category=""}</div>
<div>Footer Website</div>
yes, a I have {Gallery} into {content}. And {$fields.categoryformodule.value} tag doesn't work in my template putted in bannery module.

And this code below should work fine, but he didn't  :-\

Code: Select all

<div>Top Website</div>
<div id="left_column">{content} [{gallery}]</div>
<div id="right_column">{bannery category=$fields.categoryformodule.value }</div>
<div>Footer Website</div>
Ive tried make some like below, without results:

Code: Select all

<div>Top Website</div>
<div id="left_column">{content} [{gallery}]</div>
<div id="right_column">
{capture assign=categoryfor}{$fields.categoryformodule.value}{/capture}
{Banery category=$categoryfor numbers='0'}
</div>
<div>Footer Website</div>
Im really dont know what to do  :-[
Its looks like {$fields.categoryformodule.value} dont see active at page the Gallery module, and he dont know what do with this code...

------------------------

Because I cant do as I wished. I decided half the code from the template type in the template Gallery. That way everything works, it is true I had to create additional template for the general and additional pages. However, problem solved.

Thanks You for trying help me! I appreciate it

Re: A new photo album manager : Gallery

Posted: Wed Oct 20, 2010 6:08 pm
by nicmare
Jos, do you have an idea how to implement a poll/voting button for each picture?
the visitor should rate the pictures in a gallery. any clue of that?

Re: A new photo album manager : Gallery

Posted: Wed Oct 20, 2010 7:06 pm
by Jos
I would recommend to use the Ajax Star Rating Bar module for this. http://dev.cmsmadesimple.org/projects/ajaxrating
I demonstrated this at the Geekmoot 2010 in Amsterdam.  8)

Just install the module and put

Code: Select all

{cms_module module='AJAXStarRatingBar' group='gallery' vote_id=$image->fileid}


in the gallery template in the same div the image is in. Simple as that  :)

Default gives you 10 stars, I would opt for 5 stars, you can set it in the Ajax Star Rating Bar module admin.

Re: A new photo album manager : Gallery

Posted: Fri Oct 29, 2010 8:05 am
by requish
My question. Why at change in options alias 'gallery' to some else (ex. 'shows') the search module results still see 'gallery' alias? should it is seen domain.com/shows/album/1.html ::)

Thanks

Re: A new photo album manager : Gallery

Posted: Fri Oct 29, 2010 9:13 am
by MikeTroop74
I am using the Gallery module on our Troop website (www.troop74.net). I'd like to to allow interested parties to upload photos of campouts and such for inclussion in our current galleries without making them sign in or register. It would be nice to have a dropdown list dynamically generated from the list of existing galleries so that users may choose which gallery the photos should be posted in. Also, the ability to select more than one file during the upload process. Is this a possibility for future versions? Or is this something that can be accomplished now with some modification to the template(s)?

BTW - Great Module!

Re: A new photo album manager : Gallery

Posted: Fri Oct 29, 2010 1:03 pm
by requish
How to erase from gallery links in pretty urls this param 1-4- ?
Now I have duplicate content from all urls

/1-4-20.html
/20.html

>:(

...however sill I think the Gallery module is best of all  8)

Re: A new photo album manager : Gallery

Posted: Sat Oct 30, 2010 11:07 am
by Jos
requish wrote: My question. Why at change in options alias 'gallery' to some else (ex. 'shows') the search module results still see 'gallery' alias? should it is seen domain.com/shows/album/1.html ::)
You can considder this a bug... :-\  this will be fixed with a next release

MikeTroop74 wrote: I'd like to to allow interested parties to upload photos of campouts and such for inclussion in our current galleries without making them sign in or register. It would be nice to have a dropdown list dynamically generated from the list of existing galleries so that users may choose which gallery the photos should be posted in. Also, the ability to select more than one file during the upload process. Is this a possibility for future versions? Or is this something that can be accomplished now with some modification to the template(s)?
You can use the Uploads module, but it will be hard to create a dynamically generated list of galleries to upload to, if not impossible. But it's a nice feature request I can look into if I have some time and am in the mood for it
requish wrote: How to erase from gallery links in pretty urls this param 1-4- ?
Now I have duplicate content from all urls
Didn't you already start a topic on that issue.. Thought it was solved?? http://forum.cmsmadesimple.org/index.ph ... 492.0.html

Re: A new photo album manager : Gallery

Posted: Sat Oct 30, 2010 6:00 pm
by requish
Jos wrote: Didn't you already start a topic on that issue.. Thought it was solved?? http://forum.cmsmadesimple.org/index.ph ... 492.0.html
It's no solved. I dont know how to hide in urls this 1-4- .  ???

Ive tried modify command in Gallery.module.php, but no results. Urls with 1-4- stop work, but still been shown at page.

Re: A new photo album manager : Gallery

Posted: Sat Oct 30, 2010 6:15 pm
by Jos
I tested it now and it turns out that you'll only get the shortest urls if you don't limit the number of images per page.

Re: A new photo album manager : Gallery

Posted: Wed Nov 03, 2010 5:51 pm
by requish
Jos wrote: I tested it now and it turns out that you'll only get the shortest urls if you don't limit the number of images per page.
I thought that this can be bypass, and Ill could have set number of images per pages and shortest URLs at one.

Its will be possible in future?

Re: A new photo album manager : Gallery

Posted: Wed Nov 03, 2010 6:03 pm
by Jos
This is just the way CMSms works now. I don't expect this will be changed in future

Re: A new photo album manager : Gallery

Posted: Wed Nov 03, 2010 8:37 pm
by MikeTroop74
You can use the Uploads module, but it will be hard to create a dynamically generated list of galleries to upload to, if not impossible. But it's a nice feature request I can look into if I have some time and am in the mood for it
Unfortunately the Uploads module has an issue with the dropdown menus not working. The list for the dropdown shows up on the backend but not on the frontend.

Re: A new photo album manager : Gallery

Posted: Thu Nov 04, 2010 2:43 am
by Dr.CSS
If you knew how to do ajax, or jQuery, you might be able to give each category it's own form then have a select for them, showing one then select another and it just shows up instead of the first one/category...

Re: A new photo album manager : Gallery

Posted: Sat Nov 06, 2010 11:23 pm
by MikeTroop74
Is it possible to upload .bmp files? I tried adding the bmp extension under the Options tab and when I try to upload a bitmap image I get a resizing error.

Re: A new photo album manager : Gallery

Posted: Sun Nov 07, 2010 7:59 am
by Jos
No, Gallery does not work with bitmaps