Hi.

After I set up "Display on next visit" option from "no" to "yes", I have message "Your configuration has ben saved" but the configuration has not set up (I have checked in MySQL table prefix_variable in row with name "splash_when").

Furthermore I was using Splash module for a while, when suddenly it stops to work. I have no idea why, all settings in Splash module looks fine. The reason may be in my problem, which i described above or in modules I recently addes to my Drupal site but not sure which one reason caused this "not working"

Any ideas?

Comments

aimevp’s picture

Component: Miscellaneous » Code
Category: support » bug

I have the same issue...

Hope this gets solved.

j0rd’s picture

Same issue. Again, easily solved. Someone needs to roll a new stable release...this is silly.

seanr’s picture

Component: Code » User interface
Status: Active » Closed (works as designed)

This module was abandoned. I took it over and am looking into this stuff now.

This is actually working fine - I think you may be misunderstanding how it is supposed to work. What it does is change the name of the cookie so that even if you have the frequency set to once, if you reload the homepage you'll get the splash again. The radio button doesn't stay set to yes, because you'd only want it to reset once, not stay on permanently. If you want it on permanently, then change the frequency to always.

j0rd’s picture

After I set up "Display on next visit" option from "no" to "yes", I have message "Your configuration has ben saved" but the configuration has not set up (I have checked in MySQL table prefix_variable in row with name "splash_when").

For me "Display on next visit" for OFF should be to only ever display once. This should be done with a cookie which never expires. I noticed you bumped up the cookie time to 1 year, which works for me. I don't mind displaying it to the user again though if I change the Splash page...which is how this module already works, so I'm happy with that.

"Display on next visit" set to ON should have a cookie which expires when the browser is shut. This means that if the person visits my site multiple times with out closing their browser, they will only be displayed the splash once...but if they close the browser and the cookie is deleted, they will be shown it again.

The options select should be able to get set to ON or OFF and essentially all this should do is change the cookie expire time.

I've updated my own version to make this work as I would expect it to work.

seanr’s picture

Title: Cannot change "Display on next visit" option » When: "Once per session" option
Component: User interface » Code
Category: bug » feature
Status: Closed (works as designed) » Active

That's actually not really how that setting was meant to work. It's strictly an admin setting for testing purposes. What you really seem to be describing is a feature request for something like a "once per session" option in the when dropdown menu. I've updated the issue accordingly and will look into it.

seanr’s picture

Status: Active » Closed (works as designed)

I think this is actually how the always setting works currently. When you set it to always display the splash, the module will display it every time you load a page on the site unless the referring page was another page on the site. Thus, you'll only see the splash again if you leave the site and come back, effectively making it once per session.