A new photo album manager : Gallery

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

Re: A new photo album manager : Gallery

Post by volcanoboy »

volcanoboy wrote: Hi,

looking forward to trying out Gallery but when I install the module and call it on a page I get a page with no css and this error message: ERROR: Table 'xxx_.cms_module_gallery' doesn't exist. I read that it had something to do with permissions but both my modules and uploads folders are 777.

On this site i'm running CMSMS 1.6.8
ok, I deleted the module i had uploaded with ftp and installed trough the module manager which seems to have fixed my problem.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: A new photo album manager : Gallery

Post by nicmare »

how can i display just the albums from 2010? i mean the date input field.
i have some in 2009 and on one page i want to show all galleries which are from 2010! and the rest (2009-2008) i want to display in the archive (content page)
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

This can be done by putting them in separate subgalleries. You can use the move-function which is built-in in Gallery.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: A new photo album manager : Gallery

Post by nicmare »

sure, this is easy but maybe i can use the date field to have it more automatically via smarty code?  ;D
kjoett
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 04, 2010 10:02 am

Re: A new photo album manager : Gallery

Post by kjoett »

I'm running Gallery 1.4.1 on CMSMS 1.6.8 (due to PHP-version).
But when I upload the images, the file-permission is set to 600 to the full size images, and 644 to the thumbnails.
How can I resolve this?

Edit: This happens only when i upload with Gallery, not with filemanager.
Last edited by kjoett on Mon Oct 04, 2010 11:17 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: A new photo album manager : Gallery

Post by Dr.CSS »

Either you need to change the unmask or the permissions on the folder you are uploading to so it's files will get the right permissions...
kjoett
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 04, 2010 10:02 am

Re: A new photo album manager : Gallery

Post by kjoett »

I tried to change the unmask, but it only affects the thumbnails created by Gallery, not the full sized images.
And the permission on the folder is set to 755 (also tried 777), but to no effect.
Any good ideas?
vzw klemtoon
Forum Members
Forum Members
Posts: 92
Joined: Mon May 14, 2007 11:31 am

Re: A new photo album manager : Gallery

Post by vzw klemtoon »

maybe you could consider an upgrade from the base pacage. see what that does to the coorpodration between cmsms and the gallery module?
kjoett
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 04, 2010 10:02 am

Re: A new photo album manager : Gallery

Post by kjoett »

I'm not entirely sure what you mean.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: A new photo album manager : Gallery

Post by Dr.CSS »

We only support the latest 2 releases of CMS Made Simple, 1.8.1 and 1.8.2 at this time, unless you can't get your host to upgrade PHP then we support 1.6.8...
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: A new photo album manager : Gallery

Post by requish »

Hi

Please help me. How to create another field to add some text and display it on front-end? Some like comment at album, but I want to use smarty tags in this new field.

Some like this ex. {$fields.googlemaps.googlemaps} desnt work :( I cand see it on front-end. In back-end I can see some field and place some text and thats it.

However, how to add smarty and use it in comment of album field?

Cheers
Last edited by requish on Sun Oct 10, 2010 5:35 pm, edited 1 time in total.
CMS Made Simple! Best CMS! :)
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

If you created a custom field for a gallery and called it "googlemaps", you can call it in your templates with

Code: Select all

{$fields.googlemaps.value}
To parse the smarty code that you've entered in the field. you can call it in your template with

Code: Select all

{eval var=$fields.googlemaps.value}
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: A new photo album manager : Gallery

Post by requish »

Thanks for reply.

Its doesnt work for me. I can see some errors "string(43) "Smarty error: eval: missing 'var' parameter" ". Everything Ive place in my gallery template.

I'm trying to display some text on frontend entering in backend fields. Should works exactly like {$image->comment}.  Soo I combined to use for this gallery album comment field to display my text in before summary of gallery. And than everything i need different text. I've made:

{foreach from=$images item=entry }{$image->comment}{/foreach}

but I see my comment double. Ex. My commentMy comment

Whats goin' on ???

huh, its complicated,
thanks
Last edited by requish on Sun Oct 10, 2010 8:21 pm, edited 1 time in total.
CMS Made Simple! Best CMS! :)
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: A new photo album manager : Gallery

Post by Jos »

If you need an extra custom field for each image, you should mark it as such when you create it.

If you created a custom field for an image and called it "googlemaps", you can call it in your templates inside the foreach loop for images with

Code: Select all

{$image->fields.googlemaps.value}
To parse the smarty code that you've entered in the field. you can call it in your template inside the foreach loop for images with

Code: Select all

{eval var=$image->fields.googlemaps.value}
User avatar
requish
Forum Members
Forum Members
Posts: 183
Joined: Sat Jan 24, 2009 3:12 pm

Re: A new photo album manager : Gallery

Post by requish »

yupi  :D its works

Ive made this, using Yours suggestions:

{foreach from=$images->fields.googlemaps. item=entry }{$image->comment}{/foreach}

However I cant see text from googlemaps flield, but accomplished what I wanted :) .
Works fine! Thank you very much!!!
CMS Made Simple! Best CMS! :)
Locked

Return to “Modules/Add-Ons”