Closed (fixed)
Project:
Jquery Freebase
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 04:16 UTC
Updated:
28 May 2009 at 11:20 UTC
This is a beginner question. Can you explain how to add the sample code you provide in the readme file that uses the drupal_add_js? I tried to add this in my theme's template.php file but it didn't work. Any help would be greatly appreciated.
Comments
Comment #1
arcane commentedI'd like to use this in the profile fields. I think I can do a hook form alter and add the code that way..
Comment #2
arcane commentedI performed a hook form alter in my module and added the following code:
In my custom.js file I have:
When I debug the page in firebug and go to the javascript console I get the error:
I am not sure why I am getting the above error. I see in my source listing that /sites/all/modules/jquery_freebase/jquery.freebase.suggest/dist/freebase.suggest.js?a is being included
Can you provide any advice I might try?
Comment #3
arcane commentedActually the above code is working. I checked on a different computer and it seems to work fine now.
Comment #4
toemaz commentedCan I presume this issue is fixed? If so, feel free to put the issue Status on closed or fixed.
Comment #5
toemaz commented