Adding Condition Module and not setting condition will never allow $splash = TRUE;

j0rd - May 21, 2009 - 09:56
Project:Splash
Version:6.x-2.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I think with no condition and set to "Always Validate" or "Never Validate" one of these should at least allow $splash being set to true by default.

To get around this I've added a PHP condition which always returns true.

<?php
return true;
?>

#1

pjek - May 21, 2009 - 17:10

Oh yes, this truly is the solution for the splash page not appearing. Finally got my splash page working on my website www.bodynsoulpartypix.com. Thank you so much. Thinking of it it seems so obvious in hind sight.

#2

j0rd - May 24, 2009 - 11:35

Ya, but you would expect it to work "out of the box", which is why I submitted this request. I'm sure Splash module has lost lots of people because they can't figure this out, including me...a pretty technical user.

#3

seanr - June 5, 2009 - 20:29

I've never used the conditions module, so I'm a little confused here. Why would you set that up but not add a condition?

#4

j0rd - June 6, 2009 - 14:09

A user for instance might have this condition module installed for another reason besides splash....but then splash won't work by default. It's a simple fix to just enabling it by default if there's no condition set, instead of "always off"

 
 

Drupal is a registered trademark of Dries Buytaert.