Search
Other Conditional Content questions
Forum

Generelle Frage

Manuela Babilon's Avatar Manuela Babilon
Hallo,
kann man Conditional Content und Snippets kombinieren, und zwar als if else Abfrage.
Peter van Westen's Avatar Peter van Westen ADMIN
Please keep the forum in English...
Please post a rating at the Joomla! Extensions Directory
Manuela Babilon's Avatar Manuela Babilon
Hello,
you can combine conditional content and snippets as an if else query.
Peter van Westen's Avatar Peter van Westen ADMIN
You can use the Snippets or anything else as content surrounded by Conditional Content tags.
You can also use the Conditional Content tags inside the Snippets.

Did you try?

Depending on how you use them, you might need change the ordering of the system plugins.
See: regularlabs.com/blog/242-plugin-order-is-important
Please post a rating at the Joomla! Extensions Directory
Manuela Babilon's Avatar Manuela Babilon
Ok understood but what would a query with elements look like.
Unfortunately I can't find an example on your site.
Could you please create a small example for me.
Peter van Westen's Avatar Peter van Westen ADMIN
What do you mean with a query?
Please post a rating at the Joomla! Extensions Directory
Manuela Babilon's Avatar Manuela Babilon
By query I mean an if query
So if the value in the snippets is 10 then show e.g. Text1 otherwise Text2.
So a combination of snippets and conditional content including PHP
Peter van Westen's Avatar Peter van Westen ADMIN
That would be pretty difficult to achieve.
But I don't really understand why you would want to do something like that.
Can you give the use-case. Explain what you are actually trying to do (end goal)?
Please post a rating at the Joomla! Extensions Directory
Manuela Babilon's Avatar Manuela Babilon
Hello,
OK. I try to explain what I want to achieve.

So I create a process bar which I count up the snippets.
The value goes 5-100%

Under the process bar I have a button where the user comes to an order form.

This button should be active as long as the process bar is not at 100%.
If the process bar has reached the value 100, the button should be deactivated automatically or via show and hide.

That's the idea.
Peter van Westen's Avatar Peter van Westen ADMIN
I still don't understand why and how you would want to use Snippets in this mix.
What do the snippets (or their value) have to do with the progress in an order form?
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription