CMS MADE SIMPLE FORGE

ShareItPop

 

[#8058] The code generated does not respect if the CMS is installed in a sub-directory

avatar
Created By: David Dennis (d4creative)
Date Submitted: Thu Jun 21 04:12:18 -0400 2012

Assigned To:
Version: 0.1.1
CMSMS Version: 1.10.3
Severity: Major
Resolution: None
State: Open
Summary:
The code generated does not respect if the CMS is installed in a sub-directory
Detailed Description:
The code below, which is inserted by the plugin, assumes that the CMS is in the
root directory:

<link rel="stylesheet" type="text/css" href="/modules/ShareItPop/sharestyle.css"
/><a href="javascript:void(0);" onclick="popup_toggle();"><img
src="/modules/ShareItPop/images/share.gif" id="share_button" style="border: 0
none;"/></a><script type="text/javascript"
src="modules/ShareItPop/lib/socialbubble.js"></script>

It needs to read the config file to get the install directory of the CMS.

Example:
$config['root_url'] = 'http://www.mydomain.com/cms';


History