- πΊπ¦Ukraine AstonVictor
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks
I needed to create a module that alters the behavior of splashify to limit the time-window for a splash page to appear (e.g. show on New Year's Day). The most straightforward way to do that was alter the $config variable in splashify.display.inc after it has been read in but before any logic happens. So I did the following:
<?php
$config = _splashify_get_config();
// permit other modules to modify $config
drupal_alter('splashify_config', $config);
>?
Now in my module, I did a hook_form_alter, including submit and validate handers, to manage my configuration settings, and I added a function MYMODULE_splashify_config_alter(&$config) {}, which changes splashify's $config['when_frequency'] to 'never' as appropriate for my application.
Attached is a patch against 7.x-1.x-dev.
Thanks!
Closed: outdated
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks