Customizing a specific node in Drupal

Customize a page with Drupal
Here is a quick tutorial about customizing a single node in Drupal. There are many reasons you want to customize a node, could be a sponsors page, a product you are promoting, a splash page, just a few examples. You can see a working example of a node already customized here.

Our goal here is to remove the top part of the page, the left and side parts of the page. You can also remove bottom part of the page if you like. The node can be fully customized. At the end, you are left with just the page content.

I used the fusion theme in this example, you can achieve the same thing with any other theme.

1 - First create a page/story, or if you have one already, find its node ID(node/NODENUMBER)
2 - Open the file page.tpl.php
3 - Save It As page-node-NODENUMBER.tpl.php
4 - Remove the header Divs/header content
4 - Remove the left and right sidebars, in the Zen theme, they are called sidebar_first, sidebar_second. Remove the footer if you like.

Once you have modified the node, upload it to your current active theme. Then go to Site Configuration > Performance. Clear the cache.

Now go to the customized node. Just the content of the node shold be displayed. If it looks messed up - things are out of place, that means you have removed too much. Undo the changes, re-upload it. Keep modifying the template until you are happy with the results.

The Zen theme is easier to work with, I recommend it.


What an ugly site, how do you offer a webdesign when you don`t even have a clue about design.

Have you ever considered about including a little bit
more than just your articles? I mean, what you say is fundamental and all.
But think about if you added some great pictures or video clips to give your
posts more, "pop"! Your content is excellent
but with images and video clips, this site could definitely be one of the most beneficial
in its field. Terrific blog!

Much like the social games one poking the
hot new game every 10 minutes for the neighborhood. Irrespective of whether one
fancies doing battle with their parents. One might wonder why we need to be someone or
something to be at the dawn of the playing cricket.

I every time used to study piece of writing in news
papers but now as I am a user of internet thus from
now I am using net for content, thanks to web.

My brother recommended I might like this website.

He was entirely right. This post truly made my day. You can not imagine
just how much time I had spent for this information! Thanks!

I do not even know how I ended up here, but I thought this post
was great. I do not know who you are but definitely
you're going to a famous blogger if you are not already ;)

Howdy! I could have sworn I've been to this blog before
but after browsing through some of the post I realized it's new to me.
Anyhow, I'm definitely happy I found it and I'll
be book-marking and checking back often!

Add new comment

The content of this field is kept private and will not be shown publicly.