Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-01-23 10:43:09

willir
Member
Registered: 2013-05-11
Posts: 5

Feedback form has photo as background

Not sure how I did this but when the envelope icon is clicked to display the feedback form it's displayed with the first photo in the gallery as the background rather than the plain gray background in your demo. Also, instead of the tile being "Submit Feedback" it's the filename of the photo in the background.

Offline

#2 2015-01-23 11:21:11

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Feedback form has photo as background

that doesn't affect the feedback form at all.
For me, the image that shows is the last one I added feedback to.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-01-23 11:51:19

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Feedback form has photo as background

The incorrect title sounds like a bug.  Can you give us a link to a gallery where we can see this?  If the link is private, please send it via PM or email.

Offline

#4 2015-01-23 12:02:07

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Feedback form has photo as background

Ben,

this happens for me too. I happens after adding feedback to an image (checking an option or adding comments), saving the feedback, and then clicking on the envelope.

http://ce4.barbeephoto.com/galleries/ce … ng/bailey/
woof@wag.com
p/w : woof

But it doesn't affect what gets sent in the email


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-01-23 12:35:55

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Feedback form has photo as background

Thanks, I can see the cause of the problem.  The selector used for populating the title is too broad.  So clicking on an image's feedback populates the title of both the feedback form and the submission form.  I'll make a silent update shortly.

If you're keen to experiment, the change is in line 225 of ttg-be/crg/lib/js/jquery.ttgcrg-ce4.js. 

From:

$('.popup-title p').html($(img).attr('title'));

To:

$('#crg-modal .popup-title p').html($(img).attr('title'));

Offline

#6 2015-01-23 13:56:11

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Feedback form has photo as background

I have made a silent update to CRG.  Only very minor changes to a single file: crg/lib/js/jquery.ttgcrg-ce4.js

The changes:

1. Fixed the image title being picked up on the feedback submission

2. Removed the background image upon closing the feedback window so that it won't appear in the feedback submission and logout windows

3. Added a fallback for the image title, so that the image name (without .jpg extension) is displayed in the feedback panel in the even that the Metadata title field has not been set.

Offline

#7 2015-01-23 14:45:54

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Feedback form has photo as background

works great!


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB