According to documentation http://drupal.org/node/342186 there are options to change CCK formatter but there is no example yet. Is this functioning already? If so, how is it supposed to be used?

Comments

pepe roni’s picture

Assigned: Unassigned » pepe roni
Status: Active » Fixed

Added missing example

radj’s picture

Thanks. I stumbled upon this formatter options while experimenting and got it to work. I forgot all about this request! And yeah, I got the formatter name by exploring the HTML source code through Firebug. :)

Just a follow-up question. When I placed an incorrect formatter and saved the node, a VERY long list of possible formatters were listed in a Drupal message. Is it possible to come up with this list in the filter tips? But I guess that could differ based on the field type and may be complicated. For example, there are different formatters for image, file, text, etc. We can list them all down, can we? Just a thought.

pepe roni’s picture

This is an enhancement request and you should open another issue for that to keep the issue queue clean.

Sorry for that answer, but I can only answer document questions as I am not the developer of this module :(

But Roi Danton may help you in an enhancement request.

Roi Danton’s picture

Title: How to use CCK formatter options? » Add available CCK formatters to filter tips
Assigned: pepe roni » Unassigned
Category: support » feature
Status: Fixed » Needs work
StatusFileSize
new1.08 KB

The attached patch adds a list with the available field formatters to filter/tips. Filter/tips needs to be updated nevertheless since it includes deprecated options. We can use this issue for discussion/patches because when filter/tips is updated this question shouldn't occur anymore.

Roi Danton’s picture

Status: Needs work » Fixed

I've reworked filter tips and shortened most of the descriptions to make it easier for newcomers to understand. The following has been added:

  • usage of joker
  • short syntax
  • list of available options
  • list of formatters as requested here
  • examples for various options

Committed. Further suggestions are welcome as always.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.