By jpmoriarty on
I've tried following the advice at http://drupal.org/node/62468#comment-132118 but I just can't get CCK to work. It does all my custom content type nicely, but then when I upload my new node-content-property.tpl.php file to modules/cck/theme nothing changes - it just displays the new content type as it always has before.
Anyone have any ideas where I could be going wrong?
Comments
Everything in its right place?
Could be:
1.) If you content type is called 'news' then your template file is called 'node-content-news.tpl.php', correct?
2.) If you are modifying the default bluecurve theme, then the template file goes here '/themes/bluecurve/node-content-news.tpl.php', or, if you're doing a custom theme, here '/themes/yourcustomthemename/node-content-news.tpl.php'
Can't see what's wrong
lets check;
1) Content type is called property. I'm using the chameleon theme.
2) My CCK module is installed at /public_html/drupal/modules/cck. I've now restored this to a clean installation.
3) I have a file called node-content-property.tpl.php which I had installed in /public_html/drupal/modules/cck/theme, but I've now deleted that and installed it at /public_html/drupal/themes/chameleon.
4) My node-content-property.tpl.php contains the following:
5) Still nothing - it just displays each field heading, and then the value of each field.
See my response at
See my response at http://drupal.org/node/62468#comment-132276.
Oooh yeah
Look like chameleon uses a theming engine other than PHPTemplate (pure php, they say?) so the themeing is done differently. Karen's post above seems to explain this.