(2013-10-15, 07:54:04)jliwanag77 Wrote:(2013-10-15, 07:35:23)Kolyok Wrote: Btw something like this would also solve this:
PHP Code:$site_url = $SITEURL;
$plugin_folder = basename(GSPLUGINPATH);
$plugin_url = $site_url.$plugin_folder;
then in the plugin use the $plugin_url instead:
PHP Code:$style = '<link rel="stylesheet" type="text/css" href="'.$plugin_url.'/simple_contact/css/simple_contact.css"></link>';
$script = '<script type="text/javascript" src="'.$plugin_url.'/simple_contact/js/jquery.validate.min.js"></script>';
This way plugins folder name is taken directly from GSPLUGINPATH so no need for manual rewrite if changed.
Forgive my ignorance, would this be located in the nanoslider.php file?
Yes in nanoslider.php.
Im still trying to reproduce those errors but untill now only the already mentioned folder rename caused problem for me.
Edit: I just checked your site and it seems now its loaded but jquery isnt.
I see jquery its loaded in footer template. Try to move it to the header template so its loaded before anything else.