progressionsp VIP
Total posts: 89
03 May 2018 06:44

I am setting up a site that will have three groups of subscriptions- each group with multiple plans... has anyone displayed their plans in tabs or accordion?

I cant figure out how to do this.

thanks!

Last Modified: 16 May 2018


pepperstreet VIP
Total posts: 3,837
03 May 2018 16:50

Hello progressionsp, there are 2 templates for plan groups:
table/list displays in vertical orientation.
default displays horizontally in bootstrap columns.

Both display all infos at once. If you need tabs or accordion style you have to copy and modify the respective template.
Depending on your main Joomla template, this could be achieved with Bootstrap framework features. Requires some coding skills.
Or with shortcodes from a 3rd-party extension like the ones from RegularLabs.nl or Joomlashack.com


@Sergey
Actually a good idea. Maybe worth to consider it as a group parameter or template variation in a future release.


progressionsp VIP
Total posts: 89
03 May 2018 18:26

@pepperstreet - Thanks for your advice! I will look into doing this (not sure I have adequate knowledge to get it done). @Sergey, that would be SO appreciated as a feature!!!


progressionsp VIP
Total posts: 89
03 May 2018 23:44

I have JU Tabs installed and have edited override for emlist/tmpl/default.php

I got the accordion to show up (for the correct number of tabs "2") but the title and the plans aren't showing up. Could you take a look and help me out with this please?emerald-accordion-broken1 emerald-broken-code

Thanks!


progressionsp VIP
Total posts: 89
04 May 2018 21:11

any ideas?****


progressionsp VIP
Total posts: 89
04 May 2018 21:14

Have the tab titles displaying but no plans loading in them: emerald-jutabs-1 emerald-jutabs-code


pepperstreet VIP
Total posts: 3,837
08 May 2018 00:32

Sorry, I have no free time, no any clue about the JU TABS plugin and how it should work inside a regular PHP/HTML template. I can't find any docs. Somehow it looks strange to me, to split up and mix the plugin Syntax with ECHO ... isn't it a System plugin, which simply replaces the Shortcodes? Then you would simply add the bare syntax with out any php!


May I ask you what type of Joomla template you have? Do you load and use the core "Bootstrap2" CSS? Any other special template/css framework?


Sergey
Total posts: 13,748
08 May 2018 09:49

You have some issues in the code. If you close [/tab] right before endforeach then you have to open it right after foreach.

Right now you close tabs once per group of plans and open tab once per plan.

If you would copy\pacte the code I could show correct version. To type everything back from screenshot is too long.


progressionsp VIP
Total posts: 89
15 May 2018 14:46

Thanks @Sergey - I hired a developer to fix it for me. I appreciate your reply.

Powered by Cobalt