Hi,

I've installed the Cookie Control 1.5 module, but there's no sign of the Cookie Control icon or pop-up.

The only time I see it is when I'm creating or editing content, at which time the pop-up appears (and disappears when I'm done).

Any idea?

Thanks,
Valerie

Comments

budda’s picture

Status: Active » Postponed (maintainer needs more info)

Check your page via view source and look to see if the javascript is included at the end of the HTML.
Might be a bug in your Drupal theme. What are you using?

davidmac’s picture

Check the order of the markup in your html.tpl.php file within your theme and look for the line <?php print $page_bottom; ?> . This variable injects the closing markup of modules which alter the page (such as cookie control) and should always be output last, even after a <?php print $scripts; ?> line, which might have been inserted last in some cases. Your closing markup should look something like this (some themes place the scripts line higher up the page):

<body ....>
...
  <?php print $page_top; ?>
  <?php print $page; ?>
  <?php print $scripts; ?>
  <?php print $page_bottom; ?> /** Here is the line in question **/ 
</body>
</html>

The reason it shows up under the admin/configuration pages is that the markup of the admin theme is unaltered.