I apologize for reposting this message, it’s been on the general section for a while and no responses so far. I thought maybe more advanced module developers could help.

We have been trying to resolve some problems for a couple of days, but we are not having much progress.

Based on Taxonomy and CKK modules we added two custom fields to the blog entries, so that when a new blog entry is created, a numeric value and a category name is assigned to the topic in addition to filling in the title and body fields. In other words, we have four fields to put content in, instead of the default two - title and body.

The problem we are facing is moving up the numeric value on the top of the post and placing the title below it: the CKK custom numeric field we added always appears under the blog title, no matter in what order the input fields are arranged in the admin panel. And the second problem is to hide the CKK label for the numeric field – the label is appearing on the web page together with the numeric value.

Any help is much appreciated.

Comments

notarealperson’s picture

You want to do some custom templating for this content type.

There are two ways to accomplish this:

1) via your node.tpl.php file - you can make custom node-contenttype.tpl.php files

2) with the Contemplate module

In terms of hiding the CCK label for the field, under the content type, look at the settings under Display Fields and you should be able to fix this.

Hope that helps.

Anonymous’s picture

Changing the weights in admin/content/types/blog/fields doesn't change the order that they are displayed for you? That's really strange. You can take over the display of the blog edit form by creating a theme function for it. Take a look at this: http://drupal.org/node/98253.

You could try the Contemplate module http://drupal.org/project/contemplate to change the way the blog posts are displayed.

Doug Gough

ImageX Media