Jump to content

Archived

This topic is now archived and is closed to further replies.

MrFent

[pl_accordion] shortcode doesn't expand in Selettore Tabs

Recommended Posts

MrFent+    28
MrFent

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
MrFent+    28
MrFent

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
tmeister+    38
tmeister

Hi,

 

i will take a look and back to you.

 

Best,

Enrique


Enrique Chavez - Premium DMS Themes, Sections and Plugins.

http://enriquechavez.co

Share this post


Link to post
Share on other sites
tmeister+    38
tmeister

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. 


Enrique Chavez - Premium DMS Themes, Sections and Plugins.

http://enriquechavez.co

Share this post


Link to post
Share on other sites
MrFent+    28
MrFent

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
faustus501    0
faustus501

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
greenfly    230
greenfly

Hello faustus501

 

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


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • wendygordon
      By wendygordon+
      Wondering if it is possible to use posts or custom post types instead of pages.
      thanks so much.
    • JawDesigns
      By JawDesigns
      Hi,
       
      Thanks for providing this section. It looks great. However, I was hoping there could be a fix for the following annoying issue:
       
      1) On a smaller screen (mobile) please navigate to the following website: http://tslandscapes.co.uk/services/
      2) The 'Design' tab should already be displayed and open
      3) Scroll down to the 'Construct' tab
      4) Click on the 'Construct' tab ***issue*** Browser starts scrolling weirdly and you loose your place on the website
      5) Scroll down to the 'Maintain' tab
      6) Click on the 'Maintain' tab ***issue*** Browser starts scrolling weirdly and you loose your place on the website
       
      Can and is there a way to fix this please? It makes the tabs very hard to use on mobile phones as I keep looking where I am on the web page.
       
      Kind regards,
       
      James Wilson
       
    • wendygordon
      By wendygordon+
      I have noticed that when I use this product on Sub Menu items, if i change the tabs on 1 submenu item, it changes for all of the pages in that submenu.  I want each page in the submenu to have the different tabs. is this possible?
    • jDub
      By jDub
      Hi there,
       
      When I'm using pages for the content of my Selettore tabs, no images will show up on the page.  Instead it's just a big white space.   http://vendettaminingcorp.com/main/our-projects/  (please see Geology tab)
       
      Images will work fine when I use them in the custom layout text space, however if I don't want to use the "sub title" or "media" space, when left blank the default text and image appears. http://vendettaminingcorp.com/main/our-projects/   (please see Location tab)
       
      I've search through the php in the plugin and can not find where to resolve this.  Furthermore, I can not fine the css class where I can edit the custom layout styles on the header (it's to big and I don't want it centred.)
       
      These problems are apparent through out all browsers.
       
      Thank you in advance.
    • davidcosgrove
      By davidcosgrove
      I am using the Sellatore Tabs on a website in development. 
       
      Two screenshots attached - one from the dashboard showing the page and the image embedded (001.png).  The other (002.jpg) shows the page with Sellatore tabs and the image does not appear.  No matter what image I insert into the page, it doesn't show up on the front end.
       
      Please help - thank you!
×