Hi everyone,
is there a plug-in to add a pop-up window after loading the homepage?
I would like to add something like “check this or that publication” to highlight or add important news messages, maybe showing a static page into a pop-up box in the middle of the screen.
If there are not plug-in, do you have any suggestion on how to do it?
Our current version: 3.2.1.3
I don’t know off-hand of such a plugin, but other community members may be aware of something.
But if you were interested in development a plugin, as a starting point, you may wish to check out our plugin development guide: Plugin Guide - Language Selection
I looked for a pop-up banner to inform users about a service outage due to scheduled maintenance. Then I used the official PKP’s Custom Header Plugin and I added the following code (freely inspired by this webpage, found on google).
Basically it adds a gray background and a centered box with your message. Both are not visible as long as the title-page contains a pipe (i.e. “Submissions | Journal Title”). For my experience, this condition should make it pop-up just in the journal homepage.
If you are not an expert user, you can paste the whole text in the plugin settings replacing only “This is an alert about my journal”. Otherwise you can customize it with css and html instructions.
It’s just a unsophisticated solution, so any suggestion is welcome!
I’m happy you find my solution useful! Honestly I can’t reply to your second answer. In the first post you asked generically for a pop-up box for textual messages. The cookie management is more complex.
Personally, I use a free third part javascript for this feature: Cookie-bar.eu
I’m not affiliated in any way to that site, so read their page and value by yourself. To me, they works.