Closed (fixed)
Project:
Jquery Freebase
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2008 at 09:49 UTC
Updated:
19 Nov 2008 at 10:30 UTC
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
Comment #1
toemaz commentedFor 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.
Comment #2
Roulion commentedunfortunately, 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...
Comment #3
toemaz commentedThis 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.
Comment #4
Roulion commentedok thank you... I thought i could configure the auto-completion list of terms
Comment #5
ica commentedGood 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