php - How to include 3rd party library in Joomla in the proper way? -
for particular reasons want utilize thirdparty php graph&chart library (phpchart) custom component i'm developing joomla 3.3 application.
for first effort including library seems fail causing next error when phone call custom component via main menu item:
what did:
(step 1) included phpchart library folder in /libraries of joomla root directory (e.g. /libraries/phpchart_lite/
(step 2) in default.php file of view of custom component in included line:
require_once(jpath_root.'/libraries/phpchart_lite/conf.php'); //pchart graph
(for line looked @ solution in how require_once in joomla2.5)
i think error in step 2, i'm not sure how solve it?
the error message appears fault in phpchart file (specifically server/clsconf.php) rather component. did update scriptpath before uploading?
php joomla
No comments:
Post a Comment