Accordions not detected in articles if bolded

Search
Other Bug Reports questions
Forum

Accordions not detected in articles if bolded - Can't install Regular Labs plugins in Joomla 6 test site

noel adams's Avatar noel adams
Issue 1:
I have been editing articles to Accordion format by adding {accordion title=" to start of article headings and "} to the end. In many cases the resultant accordions were not detected. If you setup a simple accordion and then bold it, it will not work. Eg. Code: <p><b>{accordion title="How to hide Description Text from Public"}</b></p> . Remove the <b> </b> and all OK.
Issue 2:
I have been testing Joomla 6 on our test site. The Tabs & Accordions installation script throws an error because the version is ‎6.0.0-alpha1-dev. Could you please modify the installation script to work for Joomla 6.
Thank you,
Noel Adams.
Peter van Westen's Avatar Peter van Westen ADMIN
1) Solution: don't wrap the plugin tags in bold/strong tags.
2) I have not tested anything at all yet on Joomla 6 pre-alpha. So I can't make it installable on there before I know it doesn't break things.

You are free to strip out any Joomla 4/5 checks from the code and force-install it on a Joomla 6 setup, of course.
Please post a rating at the Joomla! Extensions Directory
noel adams's Avatar noel adams
Thank you for the speedy response. Before we tried to use Tabs and Accordions, our articles had headings in bold. We edited to make our headings accordions and as a consequence, the entire accordion was bold. It looked correct. When it failed we worked out what was causing the problem and used your solution to fix. As this situation is likely to occur for other new users, perhaps a warning in the documentation would help.
Best wishes,
Noel.
PS: This format string: <div><span style="font-family: arial, helvetica, sans-serif; font-size: 14pt;">{accordion title= ... also makes the accordion fail.
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases

This should deal with most of these issues.
However, best is to keep plugin tags like this as clean as possible. And to NOT place the opening tags in one div (or other block element) and close it in another.

Also see: docs4.regularlabs.com/tabsaccordions/faq...rkup-on-the-tab-tags
Please post a rating at the Joomla! Extensions Directory
noel adams's Avatar noel adams
Hi Peter,
Thank you for the reply. I have tested the dev. version and it is a great improvement in our case. Incidentally, I got the plugin installed in our Joomla 6 test site and it works perfectly.
Cheers,
Noel.
You can only post on this forum if you log in