Closed (fixed)
Project:
Charts and Graphs
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
9 Oct 2010 at 00:55 UTC
Updated:
25 Nov 2010 at 12:10 UTC
hi,
does anybody know how to active amcharts licence?
I got from them someting like this:
so.addVariable("key", "SOME_CODE");
You should add this line to your HTML code, above the so.write("flashcontent") line.
This will remove the link to amcharts.com (only if you use it on sslinvest.com domain or its subdomains).
but this being triggered with SWFTools, I have no idea how or where to add the code.
Comments
Comment #1
rsevero commentedAs I don't have a license I need you to test.
Please include the following code on line 234 of charts_graphs/apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc:
With the new code in place, please test setting "$canvas->key" to your license code and report back.
Comment #2
websites-development.com commentedyes, I figured it out myself. That's the way to do it. Thanks.
Comment #3
rsevero commentedImplemented with http://drupal.org/cvs?commit=445418.
Comment #4
nabeelanwer commentedthis line didnt work for me ... please help :(
so.addVariable("key", "Some_Code");
how much the code should be??? I have amline_data.xml, amline_settings.xml, swfobjects.js and amline.html
Let me know what to do ?
Comment #5
nabeelanwer commentedAs I don't have a license I need you to test.
Please include the following code on line 234 of charts_graphs/apis/charts_graphs_amcharts/charts_graphs_amcharts.class.inc:
if (isset($this->key) && !empty($this->key)) {
$flashvars['key'] = $this->key;
}
With the new code in place, please test setting "$canvas->key" to your license code and report back.
________________________________________________________________________________________________________
i dont have this file any other alternative
Comment #6
rsevero commentedPlease take a look at Advanced Help pages provided by Charts and Graphs for amCharts for details on how to set your license key.
If you still have problems please open an specific issue as this one is already closed.