Submitted_by: Submission line by content type

Last modified: March 20, 2009 - 18:28

The Submitted_by module is a simple little bit of code that allows the admin to change the "Submitted by..." line for nodes and comments by content type. Each content type gets its own pattern for this line. Using the Token module, there is a wide variety of data available to fill in the pattern. The Real Name module places nicely with this one and even provides more tokens.

Installation

Normal module installation applies to this module.

Settings

Submitted by node edit fieldset
The settings are found on the content type administration form, in a fieldset titled "Appearance." There is a similar fieldset inside the Comment settings for changing the "Submitted by..." line in the comments. Within each of those fieldsets is another fieldset that, when expanded, shows all the available tokens that you may use.

For example, on one content type that is often user-submitted, we use: Contributed on [month]  [d], [yyyy] by [realname-link].

Menus

There are no exposed menu items for this module.

Permissions

There are no extra permissions for this module.

Blocks

There are no blocks for this module.

Submitted by - another example

Maine - November 7, 2009 - 01:01

In case you want to format Submitted by as something like:

Nov 1, 2009 by AuthorName in ArticleCategory (Last updated: Nov 7, 2009)

where AuthorName and ArticleCategory are links, you can try the following 'Submitted by...' text:
[mon] [date], [yyyy] by [author-link] in <a href="/drupal/[termalias]">[term]</a> (Last updated: [last-edit-mon] [last-edit-date], [last-edit-yyyy])

 
 

Drupal is a registered trademark of Dries Buytaert.