Search
Other Conditional Content questions
Forum

Exclude Conditions Changed Syntax

Federico Dantoni's Avatar Federico Dantoni
The Exclude syntax has changed.
For Example on Joomla 3 the exclude condition was something like

{show accesslevels!="Level 01"}{CONTENT}{/show}

That would mean if you have access Level 01 you wouldn't be able to see that content.

But now, the syntax has chaged to:

{show accesslevels="!Level 01"}{CONTENT}{/show}

Instead of having the Exclamation (!)at the end of access levels, {show accesslevels!="Level 01"}
Now it goes on the beginning of the level {show accesslevels="!Level 01"}

Question is:
How can I get around that, without having to rewrite all of the conditions?

Thanks!
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases

That should add back the foo!="bar" syntax for negative comparisons.

Alternatively you can update your syntax using DB Replacer.
Just replace:
!="
With:
="!
Please post a rating at the Joomla! Extensions Directory
Federico Dantoni's Avatar Federico Dantoni
Awesomeness! The development pro version 4.2.1 works fine.

Thank you!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription