Skip Navigation

[Resolved] Improve repeating fields for accordions

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to know if sorting the RFG values on the backend will affect their sorting on the frontend

Solution:

Unfortunately no this is not possible. This is because the sorting of the RFG's on the frontend will always be controlled by your sort settings in the view that is used to display this.

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Thomas Garric 5 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1199252

In august 2018 I was helped by Shane to set up repeating fields for accordions : https://toolset.com/forums/topic/repeating-fields-for-accordion/

Today, I just need to know if it's possible to reorder the accordions on the frontend when the accordions are dragged&dropped in the backend?

Thanks,

Thomas

#1199306

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

Thank you for getting in touch.

Could you provide a little more context, are you referring to the accordion I assisted with previously in views ? Or are you referring to an accordion built on the backend ?

But I mean based on the logic of it, if the accordion is re-arranged on the backend, this change should be reflected on the frontend.

Thanks,
Shane

#1199307

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

Thank you for getting in touch.

Could you provide a little more context, are you referring to the accordion I assisted with previously in views ? Or are you referring to an accordion built on the backend ?

But I mean based on the logic of it, if the accordion is re-arranged on the backend, this change should be reflected on the frontend.

Thanks,
Shane

#1199341

Hi Shane,

Yes I'm referring to this accordion built in Views. My client would like to be able to reorder the accordions in the backend but the changes are not actually reflected on the frontend, even though the drag&drop tool is working in the backend.

Thanks

#1199403

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

That is strange.

Would you mind allowing me to have admin access to the site as well as a link to the page on the frontend to see the issue ?

Thanks,
Shane

#1199449

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

I see the issue now.

This is that your items are sorted on the backend is the order of the field. This order is completely separate and apart from how the accordion.

So the ordering here wouldn't affect the ordering of the sorting on the frontend. I tried changing the ordering of the accordion to use the menu order, however i'm not sure where to find the accordion on the frontend.

Thanks,
Shane

#1199477

Hi Shane,

You can try this post: hidden link

Corresponding to this on the frontend: hidden link

Thanks

#1199479

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Thomas,

Yes i'm able to see it now.

But as mentioned previously since this is pretty much manual accordion that was built, changing the order on the post itself wont affect the frontend results.

Remember we are using a view to display the repeatable field groups so the ordering of how they appear is essentially controlled by the view ordering setting.

Thanks,
Shane

#1199959

No worries. Thanks Shane for your time