If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Templates / LightAlert plug-in as a one-time splash screen?

LightAlert plug-in as a one-time splash screen?

Started by d0ugparker on 28 Jul 2017, 8:23 PM · Views: 5,561

Results 1 to 3 of 3
28 Jul 2017, 8:23 PM
#1
d0ugparker avatar

d0ugparker

Zen Follower

Join Date:
May 2008
Location:
Near the water, somewhere...
Posts:
129
Plugin Contributions:
0

Post #1 by d0ugparker

Can the plug-in

LightAlert

be plugged in and can I then use it to manually cause a message to splash on the screen only on the first occurrence of the main page's being displayed? 2nd and subsequent returns to the main screen would not fire off the manually generated message.

If the user closes their browser window and returns later, however, they would receive the splash message on the main page's display the first time, but not the 2nd and subsequent times.

A simple counter, a test for zero, the counter gets increased every time the main page is refreshed, but the message is only generated when the counter is zero.

What's the php line to fire off a manual message?

The goal is to have every user receive a "clear your browser cache" every time they first land on the site.

Simple Popup

is in the plug in list, but it's only 1.3.9 rated. Too bad. :-(

Is there some other plug in I'm missing that would do what I want?

Thanks.

28 Jul 2017, 9:20 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #2 by lat9

It sounds more like you'd want to stash a cookie in the customer's browser to indicate that the popup has been previously displayed.