I installed the Message module on my site. I want to set up ads for certain roles. I want to create messages and select the roles that can see the message.
How to limit messages to a role? I don't want to limit the type of message, I want to limit only the message.
To be able to use County and jQuery Countdown plugins download them to libraries/county and libraries/jquery.countdown. This module supports jQuery Countdown 2.1.0.
Enable the module using admin module page or drush."
I followed the steps for D8. Downloaded the libraries as well. Enabled the module (extends > module > enable) Did not use drush.
I'm very new to custom modules and was wondering if it's possible to create a module that basically runs a quick script.
Basically - I want to check if the URL the user is on contains certain things and if so, check for a token (or cookie or something), and if that exists grant access to the page. But if the token doesn't exist send them to a login page where they simply enter a password, and if the password is correct, add the token and grant them access.