Title in Content Type

Joined: 06/21/2009
User offline. Last seen 1 year 9 weeks ago.

Hey guys, once again... Very sorry if i am posting in the wrong section. I am really in dire need of help. I created a custom content-type called "static". I do not want to display the title in this static content type. This is because i am adding a header image which would already include the title in it. Hence i created a "static-node.tpl.php" which omitted out all title. However when i can still see the title. How do i do this?

Thank you very much for all help. =(

This is the content of my "static-node.tpl.php" file.

<div class="Post">
    <div class="Post-tl"></div>
    <div class="Post-tr"><div></div></div>
    <div class="Post-bl"><div></div></div>
    <div class="Post-br"><div></div></div>
    <div class="Post-tc"><div></div></div>
    <div class="Post-bc"><div></div></div>
    <div class="Post-cl"><div></div></div>
    <div class="Post-cr"><div></div></div>
    <div class="Post-cc"></div>
    <div class="Post-body">
<div class="Post-inner">
<h2 class="PostHeaderIcon-wrapper"></h2>
<div class="PostContent">
<div class="article"><?php echo $content;?>
<?php if (isset($node->links['node_read_more'])) { echo '<div class="read_more">'.get_html_link_output($node->links['node_read_more']).'</div>'; }?></div>
</div>
<div class="cleared"></div>

</div>

    </div>
</div>

-Xyber.

Joined: 04/25/2008
User offline. Last seen 37 weeks 1 day ago.
Did you empty your cache?

Did you empty your cache? Drupal 6 caches a lot of stuff, and it may not be recognizing your new file yet.

You can empty your cache by viewing the Administer > Site Building > Modules page. When you visit that drupal rescans your folder for new template files.

Another thing I like to do when I create a new template file is to start with just a blank page that says nothing but "Hello" in it (no markup or anything). If I don't see a "Hello" when I visit the page, I know that drupal hasn't recognized my file yet for some reason or another.

Joined: 06/21/2009
User offline. Last seen 1 year 9 weeks ago.
Well guys as it turned out, i

Well guys as it turned out, i was told i had it named wrong. It was supposed to be node-static.tpl.php

-Xyber.

Joined: 05/30/2009
User offline. Last seen 35 weeks 4 days ago.
Did you consider having your

Did you consider having your new content type print the title and then use image replacement in css to hide the title? Same effect and better for SEO.

Joined: 06/21/2009
User offline. Last seen 1 year 9 weeks ago.
Any pointers as to how i get

Any pointers as to how i get started on that? Thanks!

-Xyber.

Joined: 04/25/2008
User offline. Last seen 37 weeks 1 day ago.
Ah. I should have caught

Ah. I should have caught that.

Here's a screencast explaining how to do what Brent was talking about:

http://mustardseedmedia.com/po...

Have fun.