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.

Comments

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 ;)
Cheers!

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!

I think that everything published made a ton of sense. However, what about this?
suppose you typed a catchier post title? I ain't suggesting your information is not solid., but what if you added something that makes people desire more?

I mean Customizing a specific node in Drupal | Hectorplus is kinda plain. You
should glance at Yahoo's home page and see how they create post headlines to get viewers to click.
You might try adding a video or a related pic or two to get people interested about everything've written. In my opinion, it might
bring your blog a little livelier.

Hello mates, how is the whole thing, and what you wish for to say
about this paragraph, in my view its genuinely
remarkable in support of me.

Nice post. I learn something totally new and challenging on sitees I stumbleupon everyday.It's always
interesting to read content from other authors and
practice a little something from their web sites.

I was curious if you ever considered changing
the page layout of your website? Its very well written; I
love what youve got to say. But maybe you could a little more in the way of content so people
could connect with it better. Youve got an awful lot of text for only having 1 or two pictures.
Maybe you could space it out better?

Add new comment

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