Skip Navigation

[Resolved] View Loop output to be placed in tabs

This support ticket is created 3 years, 5 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 4 replies, has 2 voices.

Last updated by Alena 3 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#2456465

Hi there, I would like to have the loop output placed in tabs. I have no experiences with the legacy system but I saw it could be possible with the loop editor. Is it possible with the Toolset Blocks plugin?

Is there any documentation that you are following?
I saw an example of an accordion here: https://toolset.com/documentation/legacy-features/views-plugin/digging-into-view-outputs/

Is there a similar example that we can see?
This is the old website: hidden link
I would like to have "rozvrh hodin (timetable)" in tabs (now via acccordion). There will be 0-3 tabs/syllabus.

What is the link to your site?
This is a development website (no styling yet): hidden link

Thanks

#2456671

Shane
Supporter

Languages: English (English )

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

Hi Alena,

Thank you for getting in touch.

It is possible with the legacy output editor as you have finer control over the the html in the loop output. With the block editor its not possible to do since this finer control isn't possible.

Will the tabs have static titles ?

Please let me know.
Thanks,
Shane

#2456953

Ok. The tabs titles should be a custom text field Year of the custom post Timetable.

Thanks, Alena

#2457253

Shane
Supporter

Languages: English (English )

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

Hi Alena,

You will need to employ the use of the Bootstrap CSS in order to achieve this.

Here is a simple example of how the tabs work.
hidden link

Our Toolset plugin also includes bootstrap 4 and you can enable it by going to Toolset -> Settings -> Bootstrap Loading.

Please let me know if this helps.
Thanks,
Shane

#2458271

Hi Shane,

thank you for your support. I managed to create tabs without the Bootstrap, only with Javascript (hidden link).

Thanks, Alena