How can I disable watcher module for some specific pages?

Yuki - April 23, 2009 - 10:22
Project:Watcher
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

How can I disable watcher module for some specific pages? The link is showing in every page but I would like to disabke it for few pages.

#1

solipsist - April 23, 2009 - 10:52

Watcher works with nodes and doesn't care where you display those nodes. If your theme prints out the page's path as a class in the body tag, you can use CSS to hide the link on specific paths.

#2

Yuki - April 23, 2009 - 12:02

Whats the css code to hide the link? I ma using blumarine and watcher is coming below node mean below page, I want to hide it.

#3

solipsist - April 23, 2009 - 12:37

I don't think bluemarine theme adds meaningful classes to the body tag. You have to use a Zen based theme or edit template.php for this to work. With Zen you add this CSS to your theme:

body.front .watcher_node {
  display: none;
}

#4

solipsist - July 10, 2009 - 14:46
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.