• 0

Selettore Tabs [pl_accordion] shortcode doesn't expand in Selettore Tabs

Question

Posted · Report post

Hi, I'm trying to add the pl_accordion shortcode to the selettore tabs section in DMS. The accordion appears, but it doesn't expand when clicked on. I disabled all my other plugins except selettore tabs, but that didn't fix it. This error occurs both when I put the link in the HTML in the default settings, as well as when I link to an actual page that has the shortcode. Please advise.

 

Link with selettore tabs section:

http://store.culturedfoodlife.com/donnas-cultures/

 

Tabs 1-3 link to a page, one of them being http://store.culturedfoodlife.com/donnas-kefir-grains/ so you can see on that actual page, the accordion works as intended. 

 

Tab 4 has the [pl_accordion] shortcode directly in the Content Settings. 

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

Posted · Report post

going into the section.php, I noticed that if I removed the follow div containers (and their closing divs) from the section_template:

 

 <div class="tab-wrapper" data-index="<?php echo $i ?>">
                        <div class="tab-label <?php echo $i == 0 ? 'current' : '' ?>">
 
If I remove these two lines (plus the closing divs at the bottom,) the selettore tabs go all screwy, but at least I can get the pl_accordion to work properly. So I'm thinking the issue has something to do with these two divs. Anyway, I hope this will save you some troubleshooting time. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

i will take a look and back to you.

 

Best,

Enrique

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi there,

 

The fix is ready, please update the 1.3.1 version.

 

The issue was the tab ID's, selettore clone the content to handle the mobile and the desk views and when the content was cloned the IDs was cloned too, creating the conflict, now when the content is cloned i add a suffix to the ids to keep then as unique ids, and that do the job.

 

Best,

Enrique. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Enrique, thank you very much! That fixed it and everything is working great. One thing I noticed though is that I had to manually update the section by deleting it and re-uploading the new one. It never showed up in my wp updates, and before the 1.3 version I had been using the 1.1 version for several month, and no automatic updates. 

 

I LOVE this section, you did a great job. I'm plan on converting a site to DMS, and one of the big reasons for doing so is so I can use this section throughout it. If the review system ever goes back online in the store, I'll leave you a good one. Thanks again!

 

 

Chris

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I am trying to open a pl_accordion from a link.

 

Idea is that footnotes are in accordion, when user clicks link denoting footnote page jumps to accordion and it opens, see below for code I am using.

 

Otherwise if user scrolls down page they come across accordion in closed state.

 

I have purchased the accordions section but am not using it, is way too convoluted, for this purpose. I have tried a number of other shortcode plugins, all of which I have come across are in conflict with DMS.

 

If there is no way to achieve this with pl_accordion could you recommend a shortcode plugin that wont break DMS?

 

Any help with is would be greatly appreciated.

 

Cheers!

 

<sup><a href="#footnote">[5]</a></sup>

 

[pl_accordion name="footnote"]

[pl_accordioncontent name="footnotes" number="1" heading="Footnotes" open="no"]

 
<ol>
</ol>
 
[/pl_accordioncontent]
[/pl_accordion]
 
Also, here is a site with the functionality I am trying to mimic - http://eex.gov.au/industry-sectors/transport/air-transport/#fn-4232-1

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hello faustus501

 

Please create you own forum topic for this issue. This topic is from November 2013 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now