Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
However, after a couple hours trying to achieve the same thing in Drupal 7, I've had no luck getting an option when creating a Page node to have a Layout drop-down to choose a template.
The "Node Page Template" or "Custom Node Template" module were extremely easy and useful to implement on Drupal 6 websites.
This would of been a nice Port to see in Drupal 7.
The attraction of this module was/is its simplicity. It doesn't require extraordinary configuration, to work, the bulk of whether or not it works is in the code, not in how you configure the module. That makes it easier to document, easier to back-up, and easier to fix when it breaks.
Configuration-based solutions (like using Context or Context Layout) are by contrast difficult to document, and difficult to debug when they go wrong, because of their many dependencies.
@DenRaf Any further luck/work on porting this to Drupal 7? I agree with @escoles. It's beauty was in its simplicity. Love the drop-down for selecting a "wide" template for small quantities of pages that do not need automation.
I'm sorry, please forgive me, I'm just a drupal enthusiasts, and therefore it is not clear how to share my work, I am also waiting for approval of another module , Context Node Template if there who can help, I would be very happy
Comments
Comment #1
mraichelson commentedsubscribing
Comment #2
thomas4019 commentedsubscribing
Comment #3
mraichelson commentedsubscribe
Comment #4
beezer75 commentedsubscribing
Comment #5
mraichelson commentedsubscribe
Comment #6
lucas.matias commentedsubscribe
Comment #7
Drupalnator commentedIs anyone working on this module..??
Comment #8
mraichelson commentedFWIW: It's possible to achieve most of what this module was used for in D7 using Context and context_layout.
Comment #9
ejohnson commentedFrom watching a video (http://www.youtube.com/watch?v=rzBpjZ_ZRfo) on the Context Layout module, this looks fairly simple to achieve in Drupal 6.
However, after a couple hours trying to achieve the same thing in Drupal 7, I've had no luck getting an option when creating a Page node to have a Layout drop-down to choose a template.
The "Node Page Template" or "Custom Node Template" module were extremely easy and useful to implement on Drupal 6 websites.
This would of been a nice Port to see in Drupal 7.
Comment #10
djmy commented+1
Comment #11
DenRaf commentedI will have a look at this
Comment #12
escoles commentedThe attraction of this module was/is its simplicity. It doesn't require extraordinary configuration, to work, the bulk of whether or not it works is in the code, not in how you configure the module. That makes it easier to document, easier to back-up, and easier to fix when it breaks.
Configuration-based solutions (like using Context or Context Layout) are by contrast difficult to document, and difficult to debug when they go wrong, because of their many dependencies.
Comment #13
davidstagg commented@DenRaf Any further luck/work on porting this to Drupal 7? I agree with @escoles. It's beauty was in its simplicity. Love the drop-down for selecting a "wide" template for small quantities of pages that do not need automation.
Comment #14
DenRaf commentedThank you for the good comments.
The port is almost done. The idea is to solve all bugs in meantime. Will setup a dev version so you all can test and comment.
Comment #15
liminu commentedWhen will be ready the dev version?
Comment #16
zhiqiang.qiu commentedI have upgrade the node page module for Drupal7 version
this is sandbox: http://drupal.org/sandbox/zhiqiang.qiu/1781818
I'm sorry, please forgive me, I'm just a drupal enthusiasts, and therefore it is not clear how to share my work, I am also waiting for approval of another module , Context Node Template if there who can help, I would be very happy