What subscription do I need to purchase to know...

Search
Other Pre-Sale questions
Forum

What subscription do I need to purchase to know how to update Tabs & Accordion tags?

Antonio The Ant's Avatar Antonio The Ant
Hi, I am upgrading a Joomla 3 site to version 4 and I obviously need to upgrade to Tabs & Accordion as well.
Basically all the sliders (in about 300 articles) are set like this:

{slider=Title 1|closed}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{slider=Title 2}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{slider=Title 3}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{sliders}

In DB Replacer (free) it is simple to replace |closed} with " open="false"} and {slider= with {slider title="

what I can't replace is all the other } with "} because there are so many other tags that use }, not just for sliders. For example {mp3}nigro{/mp3}, {youtube}nigro{/youtube}

The free versions are enough for my needs but I see that you no longer offer the option to subscribe just for support, not for the Pro versions. I would buy the subscription to get support just for this issue, but I don't understand if I should buy it for DB Replacer Pro or for Tabs & Accordion Pro.
Thanks
Peter van Westen's Avatar Peter van Westen ADMIN
You would have to use Regular Expressions for a smart replacement like that.
You will need DB Replacer Pro to be able to use Regular Expressions searches.
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
I don't know Regular Expressions, in case would you help me with that?
Peter van Westen's Avatar Peter van Westen ADMIN
I can give some some help on that part, yes.
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
Hi, I just bought DB Replacer Pro subscription.
I'm working on a localhost stage clone to test the upgrade before to proceed on the production site.

Please, let me know what to do. Have I to open another thread?
As said, all sliders are something like this:

{slider=John Smith|closed}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{slider=Title example Rome}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{slider=This is my bio}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
{sliders}

Thanks
Peter van Westen's Avatar Peter van Westen ADMIN
For tags with the 'closed' keyword, you can do:
\{slider=([^\|\}]*)\|closed\}
Replace with:
{slider title="\1" open="false"}

For the rest:
\{slider=([^\}]*)\}
Replace with:
{slider title="\1"}
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
Uhmmm
using your suggestion I see in preview that it remove all titles:

https://ibb.co/vXH8KMC

https://ibb.co/3YVPYwz

https://ibb.co/kxZPnRf

maybe I'm doing something wrong?
Antonio The Ant's Avatar Antonio The Ant
For example, one of the slider is:

{slider=L'introduzione di Claudia Massi|closed}
Claudia Massi, Pescia canta popolare. Un progetto durato tre anni...
{slider=Il CD Giuditta Scorcelletti, Da voce a voce}
Rispetti e Stornelli...
{slider=Fotogallery}
{gallery}photo-gallery{/gallery}
{/slider}
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry, I corrected the Regular Expressions searches in the previous reply.
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
Perfect. Thanks.
You can only post on this forum if you log in