Hi,

I needed to include libchart in a module I've written and though it would be a good idea to put it in sites/all/libraries and use the libraries module. Its my fist time to use the libraries module so I read the README :-) .... and its wasn't clear how to get going.

Anyway what I did in the custom module was as follows:

$file=libraries_get_path('libchart/classes/libchart.php');
  //dsm($file);
  if (is_file($file)) {
    require_once $file;
  } else {
    drupal_set_message('Could not load $file');
  }

If this is the right thing for such use cases, maybe add it to the README?

Comments

tstoeckler’s picture

Status: Active » Closed (won't fix)

I added a link to http://drupal.org/node/735160 on the project page, which explains how to use the 1.x branch in your module.

I don't think we need anything in README.txt