Download & Extend

creating another page.tpl.php

Project:BlueMasters
Version:7.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:timdavison
Status:closed (fixed)
Issue tags:bluemasters, Bluemasters theme

Issue Summary

D-7 I want one particular page to have one column. I tried creating a specific template for it. page-node-12.tpl.php but it is not being seen. I clear the cache each time I make a change. Am I forgetting something?

thanks.

Comments

#1

Assigned to:Anonymous» timdavison

Are you using the correct syntax?

I think it should be:

page--node--12.tpl.php

#2

No, I wasn't. That was it. Thank you. Why the double dashes now?

Thank you!

#3

Hi

I think it is to prevent confusion between compound names and template suggestions. So names
like "maintenance-page.tpl.php" have a single dash but template suggestions like page--front.tpl.php
have double dashes.

Tim

#4

Version:7.x-1.0» 7.x-1.2
Status:active» fixed

I changed the status of this issue to "fixed" based on the discussion of yogarenzi and timdavison.
Thank you timdavison for your responses.

Thanks
/George

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here