Submitted by Delaney on Fri, 03/23/2012 - 2:04pm

Hello,

I'm trying to do this on my site and have stripped the template down to only show title and content. (for simplicity's sake)

I created a new content type: homepage

I've named my template file in my templates directory: page--homepage.tpl.php

I added the preprocess_page function to my template.php file right above the process_page function. (I didn't have a preprocess function in my template.php file.)

Still, it doesn't seem to work.

Do I need to do anything else? Or have I done something wrong?

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

Plain text

  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.