I was wondering if anyone could tell me what to name the page-____???____.tpl.php file so that it would modify all the node edit pages. I like to remove the blocks and sidebar content from these pages, and although I can do it by adding node/*/edit to the exceptions line for every block, I'd rather just do it once and take the sidebar regions out of it.

Removing the sidebars is great cause it opens up the full width of the page for the node editing process, removes the clutter of all the unrequired blocks, and node edit pages are already very heavy when a lot of modules are installed and load and operate a lot faster with the other content removed.

I'm on Drupal 5.1

Does anyone know if there's a module for more fine grained control of block visibility. I'd love to be able to specify visibility based upon:

  • node type
  • view - urls are not neccesarily reliable with views (with calendar module I don't know how to seperate month views from week views or day views which are very different in block requirements, etc)
  • cck field value
  • taxonomy terms

Thanks...

Comments

bpocanada’s picture

HI,

The tpl of the content type would be:

node-content type.tpl

Regards,

--
Roshan Shah
T : 604-630-4292
Vancouver, Canada
Skype/GoogleTalk/Yahoo : bpocanada

OpenChimp’s picture

Yeah, I know about that, but that only allows for defining themes for specific node types. It isn't specific to the editing pages for all node types.

chellman’s picture

I was just trying to sort out how to do this, and it looks like this is what you want:

http://drupal.org/node/104316

OpenChimp’s picture

Is there a way to make the selection specific to certain views, like calendar views?