cck

Drupal Content Construction Kit (CCK) related entries

Theming Drupal RSS feeds

After finishing my content type alterations I thought all was well, until I took a look at my rss feed. The extra fields I had added were designed to be used by my custom node tpl for display and not in RSS.

So I began searching for how to theme or control my RSS output.

Alterations to the See Also field

I like how the see also box is working / looking but want more choices when writing something.

I've added a single line text field to allow for the header text which before was hard coded into the tpl file to 'See Also' , and added a full text field to display below the links  within the same div to allow for a short text blurb and perhaps any external links which aren't possible in the node reference field. ( I might add one above or perhaps some sort of flag to choose where the text appears, either above or below the links)

Creating a quick tips block and page view

I often have a lot of small bits of info I'd like recorded but can't write anything worthy of full entry for.

I considered creating a module to create a small entry type that is displayed randomly in a block with a link to a full page listing of these short entries.

Instead of doing this I created a content type (quick_tips) and set its workflow settings uncheck published as I do not want these entries considered as full pages.

Adding a See Also to a content type

While taxonomy and views can be used prived a list of related entries, it lacks the ability for the author to select individual related entries. Such as writing a short series over time and wanting each in the series to display links to the others.

For this purpose I added a new field Node reference to allow the author to add as many references to existing nodes as needed.

Content Type Field Alterations

After getting my must have modules installed I usually create or edit one of the default content types. Drupal lacks a meta description field which I feal is a must have for seo purposes. I'm not super worried about seo but it seems to me a that field is absolutely needed. (I skip the keywords field as its pretty much useless as far as I'm concerned)

The problem is after adding a meta description field through cck is that it will display it as a part of the entry instead of showing it in the proper header location (and telling fckeditor to exclude this field).

Syndicate content