I
I
Ivan Semenov2014-10-14 05:58:24
Drupal
Ivan Semenov, 2014-10-14 05:58:24

How to disable colorbox on maintenance-page?

Good morning!
I had a problem, when the colorbox module is enabled, when the site is loaded when it is in maintenance mode, colorbox tries to open something on the maintenance page and the result is this picture:
602af6ed211d4871b8be0e9c0c705aef.jpg
Please tell me how can I fix this?
maintenance-page.tpl.php - a template that generates a site maintenance page, connected from the theme that I use and not the standard one. Here is the template code:
61418433aaa14ed0bb64b17536886f6e.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drupby, 2014-10-14
@kokman_semenov

as the easiest option to remove a line from the template <?php print $scripts; ?>
, but if other scripts are needed, you can use hook_js_alter() to remove only the colorbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question