Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is my scenario.
I have a home page (front page) which everyone is allowed to see.
For other pages, I would like User to accept the disclaimer.
When Javascript is enabled on the browser, it works fine. But when it is disabled, user can freely view the other pages.
That is my problem. I understand the disclaimer can only be shown when Javascript is enabled. This is fine with me.
But if Javascript is disabled, I would like to treat User as if he has not accepted the disclaimer.
Is it possible? Or am I missing something to configure?
Comments
Comment #1
chibichan CreditAttribution: chibichan commentedComment #2
chibichan CreditAttribution: chibichan commentedComment #3
mogtofu33 CreditAttribution: mogtofu33 commentedSorry but i don't plan to add a non-javascript version of this disclaimer.
If you need to control access of your site, perhaps you should use drupal account feature.
Regards.
Mog.