close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Power Gallery & Flash Nav Menus

Thread began 11/30/2009 3:13 pm by andy.schofield283961 | Last modified 12/05/2009 2:53 pm by andy.schofield283961 | 2565 views | 8 replies |

andy.schofield283961

Power Gallery & Flash Nav Menus

Hi,

I have added a flash nav menu to my power gallery site and I have two issues which I need help with:

1) When selecting a gallery to edit on the 'choosegallery.php' page. The menu showing the available options 'Add Images', 'Manage Images', etc doesnt display. If I reload the page then the menu appears as should. ??

2) When any popup screen appears, the page background dims and is no longer selectable (as expected) however the FlashNav menu stays available. During long processes a user can select the FlashNav menu and navigate away from the page.

Can anyone help me with either of these issues?

Thanks

Andy

Sign in to reply to this post

Justin Nemeth

For #1, does it select the first gallery by default? If you had no galleries defined, then it makes sense for that menu to be hidden until you add at least one gallery.

For #2, you'll have to adjust the z-index properties. Give you flash menu a lower z-index or increase it for the overlay elements in the admin css file.

-justin

Sign in to reply to this post

andy.schofield283961

One down one to go!

#2 solution works great, so thanks for the quick turnaround on that.

#1 - no this occurs even with galleries defined.

when first loading only 'choose gallery' is shown, if i reload still only first option but this makes sense if no gallery is chosen.

1st step is to choose the gallery, this should then display the other options. but it doesnt. If I reload the page after selecting a gallery all items appear as should be.

Hope this additional info helps identify where the problem might be.

Thanks

Andy

Sign in to reply to this post

Justin Nemeth

Have you customized the database or admin login page at all? When you login to the admin, it basically autoselects your first gallery. It seems that is not happening in your case for some reason. In the admin/index.php line 47-54 is what sets the default gallery, so you could do some debugging in that area to see if its returning the correct database record.

php:
var_dump($_SESSION['gallery']); die()

Assuming that looks like it has the correct info, you could try adding session_write_close() just before each header call a few lines below.

-justin

Sign in to reply to this post

andy.schofield283961

Justin,

Yes I have amended the login to allow multiple logins with SecurityAssist and partial re-write of core pages. And yes it doesnt select a default gallery by default due to this, but functionally that doesnt bother me.

But when i do select a gallery it still doesnt work. I will look at your suggestions, but with this additional info do you think the problem could be elsewhere now?

Sign in to reply to this post

Justin Nemeth

Its hard to say since there have been modifications. The code works out of the box, so it is something with the updates you've made. If you search in the code for $_SESSION['gallery'] =, that should give you all the places where the gallery info is set. It seems like that session variable is never getting set or is getting overwritten. The admin keys off of that variable to get all of the gallery variables.

You might want to start with the admin/js/choosegallery.js file, my guess is the javascript is not firing correctly. I would use firebug on your page and see if there are any JS errors preventing the events from working.

-justin

Sign in to reply to this post

andy.schofield283961

Justin,

Its not 100% but it was the session variable as you thought. Need to fully debug but its a lot better shape now.

Unfortunatly I cant say the same for the z-index on the flash menu.

This works if I set the z-index as you previously recommended. However it now falls behind the cssmenu.

I have tried applying a div around the cssmenu and giving it a lower z-index but no better.

Can you help

Sign in to reply to this post

Justin Nemeth

Its hard to say w/o seeing the code, but it still seems like its a z-index issue to me. Did the code change from when you first made this fix and it was working?

-justin

Sign in to reply to this post

andy.schofield283961

Justin,

The fix never worked, it only appeared to work since i simply checked that the menu fell behind the overlay of the uploading photo.

As soon as I tried to access the menu it was clear that the fix broke the cssmenu.

If seeing the code will help please let me know what files you need and I'll send, and / or upload to a website for you to see for youself.

Thanks for the help.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...