Can it be implemented with CCK fields? Is there a user interface to implement it? The idea would be a checkbox to use the suggest Database

thanks for an answer

Comments

toemaz’s picture

Title: Utility » Integration with CCK fields

For the moment, this module does not offer any user interface but this project is open for patches.

A checkbox wont be enough because you also need to indicate for what type a suggestion has to be made: e.g. /music/artist returns suggestions for artist names only. So a check box + a text field (or select field) would do it. In order to work, there should also be an implementation for hook_form_alter.

Anyway, don't hesitate to submit patches.

Roulion’s picture

unfortunately, i'm not sure to be able to do so.
by the way, for my project, i need such a thing. A have a field which can be a node link or not. Today I use the freelinking module to make the link if necessary and just the text if not. Thatsuppose the contributor knows what is the title of the node.

The idea would be to implement an auto-completion field with the available node-list (threre is a specific nodetype for it, and the suggestion would be the list of titles of this node-type). The problem is that i don't want to hardcode cck (assuming that i would be able to).

That'swhy i would like to know what this module is supposed to do before installing it...

thank you foryour answer...

toemaz’s picture

This module is integrating with the Freebase api via a jquery plugin. What you need is something totally different and this module is for sure not the answer.

Roulion’s picture

Status: Active » Closed (fixed)

ok thank you... I thought i could configure the auto-completion list of terms

ica’s picture

Good and sensible suggestion this module can be developed into a more useful Drupal-Freebase webapp builder with a CCK integration as a freebasefield.module
- to open the door to whole http://www.freebase.com/explore content
-with the options of site developer determined of variables/parameters 'foo' of CCK field settings
$('#edit-foo').freebaseSuggest( {ac_param:{type:'/foo/foo'}} );

- I am not a php/module developer -though I had a quick plunge to build a/this module with the Drupal Book page instructions below. To my surprise :) I was not successful.
-better to leave it to a proper coder who might be interested

This is the Book page on "A Sample CCK Field Module"
http://drupal.org/node/191796#191796-fields
for who might be interested