Hello,

I have been using this module and Gallery2 since Feb.

The issue I have is that I have never had a Submit, or Save button anywhere on my Gallery.

So what I've been doing is just when I checkmark a field, I hit the Enter key and it reloads the page saving the changes, or when I create a new album, after typing in the album name, I just hit Enter and it saves it.

But now I've got an album where I need to rearrange my pictures, but hitting Enter on the page doesn't do anything. So there _must_ be some formal submit or save button somewhere but I've never seen one before.

My first thought was that I have some CSS hiding the field, but this is not the case.

Viewing the page source, I see a lot of doclick this and onclick that, but when I make changes and click away from the fields, the page never reloads or never saves any changes.

Also, it seems there are buttons but they are hidden by default?? really strange:

<div class="gbBlock gcBackground1">
<input type="hidden" id="riList" name="g2_form[list]" value=""/>
<input type="submit" class="inputTypeSubmit" onclick="save()"
name="g2_form[action][save]" value="Save"/>
<input type="submit" class="inputTypeSubmit"
name="g2_form[action][reset]" value="Reset"/>
</div>

Does the first hidden type mean that the other two inputs are hidden? And there is another onclick option but I don't have any clue what or where I should be clicking to get the changes to post.

Please help!!

Thanks
Mike

Comments

lvthunder’s picture

Is the button there in stand alone gallery?

BigMike’s picture

Status: Active » Closed (fixed)

WOAH. I just disabled my CSS and discovered there are indeed buttons @_@! I've seriously searched and didn't see any CSS blocking this -- I've been living this way for the past 6 months! Ok, sorry for the post, it is a CSS issue I'll have to sort out on my end.

Thanks
Mike

BigMike’s picture

lvthunder,

Thank you very much for the prompt reply. I've been getting really top quality support from Drupal.org lately, much appreciated seriously.

Not sure about the stand alone gallery. How do I access the gallery itself rather than through the Drupal module? I'd like to know this because I think it'd be easier to administrate it if I wasn't using it through my site. Thanks

Update on the CSS
On the "Rearrange Album" page, the buttons are located at:

div #gallery .gecko
form #itemAdminForm
table
tbody
tr
td
div #gsContent .gcBorder1
div .gbBlock gcBackground1
input .inputTypeSubmit

Gonna dig up my CSS and see what line has been owning me for so long LOL

BigMike’s picture

ok,

Figured it out finally. I have been hiding...

div#gallery div#gsContent div.gcBackground1

Because I don't want people to see all the EXIF photo information.

So the appropriate question is now: How can I disable the EXIF info instead of hiding that div?

Thanks

BigMike’s picture

Ok,

For the time being I am doing it this way:

div#gallery div#gsContent div.gcBackground1 { display: none; } /* Hides photo EXIF info */ 
div#gallery form#itemAdminForm div#gsContent div.gcBackground1 { display: block; }  /* Restores admin buttons */ 

So it will only show the field if it's an admin form :) Crude but it works. Glad I finally dropped my balls and took care of this mess!

lvthunder’s picture

If you installed G2 in the default location just point your browser to http://yoursite.com/gallery2.
To disable EXIF turn off the EXIF module in the Site Admin area in G2.

BigMike’s picture

Thank you for the reply and location for G2. I have deactivated the plugin as mentioned, thanks!!

Mike