[Pro] Conflict between PHP Feedback Form and Showcase Gallery

I have on this site “ely.imhasly.com” the showcase gallery and the php feedback form running. But the feedback form doesn’t work properly. One can not use the spacebar while typing text. Looks like the spacebar is caught by jquery and just stops the slide show.

the php form doesn’t do the sanity and completeness check on the form fields before submitting. I used this form on other sites without having problems with this. Could this also be part of the showcase gallery conflict?

Has anybody else run into this problem? Any suggestions for how I can solve it?

Thanks a lot,
Helga


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes, had the same problem on my website and changed the slideshow on that specific page with the show hide layer action and the sequence timer.

I don’t have a solution yet. Maybe in next release this will be solved?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you for your reply.
I’ve tried that too, but i still got the problem.

Anybody else?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just for the record.

I handled it by exchanging the showcase gallery with a jquery cycle gallery and i added some jquery and java script code in the html markup to validate and submit the php feedback form.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is, as suspected, because the spacebar keypress is captured by the javascript code and used to play/pause the showcase gallery.

There was a similar problem with another jquery based gallery which can be solved by commenting out the relevant line of code in the js.

Unfortunately the js produced by the showcase action is a bit more difficult to get at - but doable.

The code for the Showcase.fwaction is contained quite deeply within the FW application package within the Contents>SharedSupport>Actions>FAST>Showcase.fwactionb

And then you need to open that package too until you drill down Contents>Resources>Actions>Showcase.fwaction

Once you can get inside Showcase.fwaction you will be able to find the following section.

					// track key presses
					$(document).keydown(function(e){
							// Hide everything when the escape key is pressed
							if(e.which == 27 && !el[id].s.slideshow)
								hideAll();
							// Play/pause the slideshow when the spacebar is pressed
							else if(e.which == 32) // Spacebar
								return playPause();
							// Go to the prev/next image when the left/right arrows are pressed
							else if(e.which == 37) // Left arrow
								return prevImage();
							else if(e.which == 39) // Right arrow
								return nextImage();
						});
				}

WARNING! None of this is for the faint hearted and you should always copy/backup these sort of files before you mess with them!

So if you keep a copy of Showcase.fwaction you will be able to put it back if it goes belly up.

Try commenting out the line(s)

else if(e.which == 32) // Spacebar
       return playPause();

To my mind this should be doable as an option added to the Showcase Configuration Palette ie to enable/disable the spacebar - but I will leave that to those far more experienced than I.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you David, I’ll try that aswell!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I removed the lines from the action, but it still has the same behavior. Restarted Freeway couple of times, force to republish the page, but still no luck.

Any other ideas?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I removed the lines from the action, but it still has the same behavior. Restarted Freeway couple of times, force to republish the page, but still no luck.

You may well have to remove the action - republish - reapply and publish again.

Firstly try it on a new blank document then there will be no legacy code floating about.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

OK - I think that this will have to be left to those who know what they are doing.

The Showcase.fwaction is not behaving with these mods and I am afraid that my js and action writing knowledge is not up to the task to sort it.

Back to the drawing board and hope for some ‘offishul’ support from SP Towers.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave,
We’ve a bug logged against this issue and hope to resolve the spacebar problem in an upcoming version of the Action soon. Until then I’ve added a simple patch to the Showcase Extras Action - ActionsForge - The Complete Repository of Freeway Actions - that will prevent the spacebar from doing anything to the current slideshow. It means that you should be able to use Showcase slideshows and galleries on the same page as forms and other items that require the spacebar.

Incidentally your earlier fix was almost spot on although within the Action file there are two blocks of code (compressed and uncompressed versions) and you just needed to make the change to the compressed one.
Regards,
Tim.

On 20 Jun 2011, at 23:25, DeltaDave wrote:

OK - I think that this will have to be left to those who know what they are doing.

The Showcase.fwaction is not behaving with these mods and I am afraid that my js and action writing knowledge is not up to the task to sort it.

Back to the drawing board and hope for some ‘offishul’ support from SP Towers.


Tim Plumb
Creative Director
Softpress Systems

Follow us on Twitter: http://www.softpress.com/tny/064
Join us on Facebook: Redirecting...
Looking for a webhost? We love these guys: Softpress » Web Hosting Partners


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

within the Action file there are two blocks of code (compressed and uncompressed versions) and you just needed to make the change to the compressed one.

I thought that might be the case but just not familiar with the compressed stuff.

Thanks for the fix.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options