Search
Other Conditional Content questions
Forum

use a password to show content

Serge Billon's Avatar Serge Billon
can we use conditionnal content to resctrict content to a password
for instance : you ave a text field, you have to enter a code, and only if it checks content is displaid ?

thanks
Peter van Westen's Avatar Peter van Westen ADMIN
No, Conditional Content doesn't have a built-in feature like that.

You could code your own password field, which stores the state (whether a user has entered it correctly) in the cookies or session or database. And then let Conditional Content check for that state via the PHP condition (which you would also need to write the appropriate PHP code for yourself).
Please post a rating at the Joomla! Extensions Directory
Serge Billon's Avatar Serge Billon
with conditionnal contents ?
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, sorry, I meant Conditional Content, not Content Templater.
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