function wysiwyg_get_path


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)
cle7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)
elmsmedia7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)
icor7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)
meedjum_blog7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)
mooc7 wysiwyg.module wysiwyg_get_path($library, $base_path = FALSE)

Helper function to build paths to libraries.


$library: The external library name to return the path for.

$base_path: Whether to prefix the resulting path with base_path().

Return value

The path to the specified library.

Related topics

8 calls to wysiwyg_get_path()
video_filter_dashboard_page in sites/all/modules/ulmus/video_filter/video_filter.module
Creates the dashboard.
wysiwyg_get_all_editors in sites/all/modules/ulmus/wysiwyg/wysiwyg.module
Compile a list holding all supported editors including installed editor version information.
wysiwyg_jwysiwyg_editor in sites/all/modules/ulmus/wysiwyg/editors/
Plugin implementation of hook_editor().
wysiwyg_markitup_editor in sites/all/modules/ulmus/wysiwyg/editors/
Plugin implementation of hook_editor().
wysiwyg_openwysiwyg_editor in sites/all/modules/ulmus/wysiwyg/editors/
Plugin implementation of hook_editor().

... See full list


sites/all/modules/ulmus/wysiwyg/wysiwyg.module, line 980
Integrates client-side editors with Drupal.


function wysiwyg_get_path($library, $base_path = FALSE) {
  static $libraries;

  if (!isset($libraries)) {
    $libraries = wysiwyg_get_libraries();
  if (!isset($libraries[$library])) {
    // Most often, external libraries can be shared across multiple sites.
    return 'sites/all/libraries/' . $library;

  $path = ($base_path ? base_path() : '');
  $path .= $libraries[$library];

  return $path;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.