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-08-14 01:20:06

lemojf
Member
Registered: 2015-05-30
Posts: 23

Clear selection after sent

After my client clicks to send his selection to me, he receive the "successfully sent" message, and leaves the gallery.
When he returns, his previously selected photos are still checked...
There are any way to clear the selections when he successfully send?

It's a great feature to remain checked while he did not sent yet, then he can leave and continue later... but after he already sent, the fact to keep checked becomes a problem, because, if he need to make a different selection for another purpose, I'll receive all the previously selection, plus the new ones...

Thanks!!

Offline

#2 2015-08-14 02:48:08

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

Re: Clear selection after sent

you might try changing the Post Submission Actions setting under Feedback Submission, right at the top of the CRG settings page in ttg-be.


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-08-14 04:08:57

lemojf
Member
Registered: 2015-05-30
Posts: 23

Re: Clear selection after sent

Hi Rod!

It's "Clear Feedback in Browser" already.. but I think it's not working...

Offline

#4 2015-08-14 04:22:44

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

Re: Clear selection after sent

I'm seeing the same thing. Something for Ben to look at.


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-08-14 07:11:20

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

Re: Clear selection after sent

For managed galleries, 'clearing' just means that after submission the client is redirected to the list of assigned albums.  Is that not happening?

A given client for a managed gallery can only submit once.  Therefore any time they navigate back to that same gallery after submission, they will see the selections previously made.

Offline

#6 2015-08-26 00:44:33

lemojf
Member
Registered: 2015-05-30
Posts: 23

Re: Clear selection after sent

Hi Ben and Rod!!

But my clients need to make some distinct selections.. For example, if they will choose pics for multiple different albums, as for the parents, for the friends, for the e-session, for the wedding day...
For this it's imperative the gallery get clean after each submission.

And, therefore, I don't see any point to keep the choices checked after it was submitted...

Do you think could plan any change in this feature?

Thanks!!

Last edited by lemojf (2015-08-26 00:45:06)

Offline

#7 2015-08-26 00:53:02

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

Re: Clear selection after sent

The gallery is design on the assumption that a single client will be making the reviews and choices and will therefore want to be able to see the choices made.
And as Ben stated, a given client can only submit once.
Your best solution is probably to create multiple clients and assign them the same gallery. That way, each "client" starts off with a clean slate.

But if you only want to create one client and the checkboxes need to be cleared, include a "Select None" link on the page, as described in the 6.1.0 change log: http://ce4.theturninggate.net/docs/doku … _changelog


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

Offline

#8 2015-08-26 07:55:37

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

Re: Clear selection after sent

Since they're acting the part of many players, then create those players (i.e. Clients in client management) and give the email and password pairs to the one person.
I'm the case of Gmail, addresses in the form of name+something@gmail.com and name+somethingelse@gmail.com will both reach the email address name@gmail.com, while being distinct within CRG client management.

Offline

#9 2015-09-04 04:28:02

lemojf
Member
Registered: 2015-05-30
Posts: 23

Re: Clear selection after sent

Hello!

As a palliative solution, I'm trying to implement the "Select All / Select None" links. Then my clients can start over for each selection.
I'm inserting in the bottom of the Page Copy (Content / Description) text:

<CENTER>
##### <a href=# class=“select-none”>MARCAR TODAS</a> | <a href=# class=“select-all”>DESMARCAR TODAS</a>
</CENTER>

But after I update the template and reload the gallery, those links aren't working... Clicking on them simply get me to the top of the page.

PS: All my plugins are updated.

Thanks!!

Offline

#10 2015-09-04 05:10:19

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

Re: Clear selection after sent

Your code is a bit messed up and the Markdown (the #####) won't affect the html

It looks like you might have written it in a word processor (the slanted quote marks)? Use only plain text editors. You also need quotes around the urls: "#"

for the basic code:

<a href="#" class="select-none">MARCAR TODAS</a> | <a href="#" class="select-all">DESMARCAR TODAS</a>

If you need the text larger, you can add in-line styling:

<a href="#" class="select-none" style="font-size:16px;">MARCAR TODAS</a> | <a href="#" class="select-all" style="font-size:16px;">DESMARCAR TODAS</a>

or use custom css


and don't use <CENTER>, that's depreciated html

Instead, if you want the links centered, put them in a div and use text-align: center;

<div style="text-align:center;"><a href="#" class="select-none" style="font-size:16px;">MARCAR TODAS</a> | <a href="#" class="select-all" style="font-size:16px;">DESMARCAR TODAS</a></div>

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

Offline

#11 2015-09-04 07:11:01

lemojf
Member
Registered: 2015-05-30
Posts: 23

Re: Clear selection after sent

Now it's working!
Thanks for all the tips, I used them all... wink

If you decide to implement the "clear selections after submission" feature some day, let me know..

All the best!

Offline

#12 2015-09-04 07:33:26

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

Re: Clear selection after sent

that will be up to the developers. Just keep an eye on the blog and subscribe to the newsletter


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