DenRaf's Blog

  • Contact

Contact
View Raf Nijskens's profile on LinkedIn
OpenSource
Linux
Powered by Drupal, an open source content management system
Get Firefox
Fosdem
Visit Inuits Technical home

Locations of visitors to this page

Tags in TagCloud

5 6 ADP1 Android apache automaticmenu caching cardreader cats Centos closed source cron Debian dell Dell R200 deploy Dream driver drupal drupalcron eclair Fosdem funambol mysql node_page O2Micro old openfire OpenID OSD otrs password trigger password_trigger plutado Ports presentation recover response header rpm script svn sync syncml tagadelic taxonomy terminal logging theme ubuntu update upgrade user filter user_import virt-manager wordpress wordpress 2.3 wp2drupal xmlsitemap zabbix zimbra Zimbra LDAP
more tags
Home » Blogs » DenRaf's blog

New module: Node Page Template

Submitted by DenRaf on Thu, 09/03/2009 - 20:44
  • [View]

Last Monday I released a first version of Node Page Template.
This little module makes it possible to configure a page template per content type and per node. It also makes a node template suggestions based upon that page template.

Default theme function makes an Node template suggestion per content type and per node, and this adds a Page template suggestion. When 'Default' is selected, there is no additional suggestion.

More information can be found at http://drupal.org/project/node_page

Happy theming.

  • DenRaf's blog
  • Add new comment
Tags:
  • drupal
  • drupal
  • module
  • node_page

14 reponses to "New module: Node Page Template"

1. its great thank you

Submitted by Anonymous (not verified) on Sat, 02/06/2010 - 13:42.

its great thank you

  • reply

2. I have not tested first

Submitted by Kate Hanley (not verified) on Wed, 02/03/2010 - 12:22.

I have not tested first version of Node Page Template myself. I have just visited the recommend post and looking to use it. Web Designers Dubai

  • reply

3. are these working for my blog

Submitted by onder (not verified) on Thu, 01/28/2010 - 23:03.

are these working for my blog on wordpress? please explain that thanks

  • reply

4. Sorry, this module is only

Submitted by DenRaf on Sun, 02/14/2010 - 13:15.

Sorry, this module is only for drupal.

  • reply

5. Very interesting and

Submitted by seo services pakistan (not verified) on Sun, 01/10/2010 - 21:08.

Very interesting and informative site! Good job done by you guys, Thanks

  • reply

6. Node page template

Submitted by Bishoyking (not verified) on Fri, 12/25/2009 - 20:06.

being the first is of a great importance, it's gonna be very useful for web designers, if ir works fine
the information you have provided is very good & enough to start with a project
Thanks again
webdesign

  • reply

7. ?

Submitted by Anonymous (not verified) on Thu, 09/10/2009 - 20:53.

Can you explain more about what this module does?

Can I use this to override the standard page.tpl.php so that for example, I can display only the node contents without the headers, sidebars, etc?

  • reply

8. Yes, you can. This module

Submitted by DenRaf on Thu, 09/10/2009 - 22:44.

Yes, you can. This module allows you to select an other page template for a node (type). In a page template you set your headers, sidebars, footer, ...

  • reply

9. I need some more

Submitted by Anonymous (not verified) on Fri, 09/11/2009 - 00:44.

I need some more clarification.

Without this module, theme developer shows these suggestions for .tpl files:

page-nodetype.tpl.php < page.tpl.php.

With the module enabled a new drop down box appears on the nodetype edit form to select either default or 'page' for the template, and the suggestions are now:

.tpl.php < page-nodetype.tpl.php < page.tpl.php

Does this module then allow the use of some arbitrarily named .tpl.php file? If so, do you just create it, put in the theme directory and then it shows up in the template select list?

  • reply

10. Yes, just put a

Submitted by DenRaf on Fri, 09/11/2009 - 17:21.

Yes, just put a page-something.tpl.php in your theme folder and you will be able to select it as your page template.

  • reply

11. Great! Before this module

Submitted by Anonymous (not verified) on Fri, 09/11/2009 - 00:09.

Great! Before this module how might I have accomplished this?

I have nodes with dozens of CCK fields but only want selected ones to show up in a page that opens in a lightbox, without headers, sidebars, etc., but with all the fields, a picture gallery, etc, custom styled.

Oddly, when you append the URL with 'lightbox', as in: ../content/node/1234/lightbox2, the sidebars disappear but the header remains.

This is very timely as I was just digging into how to get around this problem.

  • reply

12. You can make any page

Submitted by DenRaf on Fri, 09/11/2009 - 17:24.

You can make any page template suggestion by appending a value at $vars['template_files'] in the hook_preprocess_page or theme_preprocess_page

  • reply

13. i tried the

Submitted by hotmail email (not verified) on Thu, 11/05/2009 - 06:18.

i tried the hook_preprocess_page but, i doesnt work ?? can you explain it in details.

  • reply

14. I personally have embraced

Submitted by Web Design Dubai (not verified) on Thu, 01/28/2010 - 15:03.

I personally have embraced the new technologies, I think the new tools only make the web designs better. I am glad that new technologies are coming out in web design that make things easier, improved, and better looking for design.

  • reply

Guided search

Click a term to initiate a search.

Categories

  • drupal (26)
  • Linux (6)
  • SysAdmin (6)
  • Uncategorized (5)
  • Linux-tools (3)

Date authored

  • 2010 (5)
  • 2009 (10)
  • 2008 (27)
  • 2007 (11)

TagCloud

  • drupal (26)
  • Ports (7)
  • cron (6)
  • drupalcron (6)
  • 6 (3)
  • OSD (3)
  • zimbra (3)
  • cats (2)
  • Fosdem (2)
  • funambol (2)
  • more...

Recent blog posts

  • OSD2010: Day 2
  • OSD2010: Day 1
  • OSD2010: Pre notes
  • Howto: Android 2.1 on G1/ADP1/Dream
  • Updated look
  • Zimbra monitoring with zabbix
  • New module: Node Page Template
  • AutomaticMenu module for drupal 6
  • Drupal synchronisation
  • Imagefield_gallery module for drupal 6
more

Recent comments

  • Perfect! These additional
    5 days 15 hours ago
  • I have an ADP1 myself, and I
    1 week 6 days ago
  • Danger SPL will bring ADP1
    2 weeks 3 days ago
  • Thanks for the link...
    2 weeks 3 days ago
  • nice blog :)
    3 weeks 3 days ago
  • You can not install this as a
    3 weeks 3 days ago
  • Sorry, this module is only
    3 weeks 3 days ago
  • hi there im sory but im just
    3 weeks 3 days ago
  • its great thank you
    4 weeks 4 days ago
  • I have not tested first
    5 weeks 23 hours ago

Syndicate

Syndicate content
I love Smashing Magazine!
Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine.