We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG File Manager: Getting absolute paths?

Development and Programming

james Brown's avatar
james Brown
492 posts
16 years ago
james Brown's avatar james Brown

I am having trouble getting an absolute path inserted using the LG File Manager. All of the paths come in as relative path.

I tried looking in the actual php setting files for the filemanager, config.php, but didn’t see any setting for setting the path to absolute (like there is for a tinyMCE config).

Anyone know how to accomplish this?

       
james Brown's avatar
james Brown
492 posts
16 years ago
james Brown's avatar james Brown

the LG File Manager doesn’t use the tinymce config files. i already have it in there and it works fine for text areas with tinymce applied to it. i am talking about the stand alone file browser field use in the LG File Manager extension.

       
james Brown's avatar
james Brown
492 posts
16 years ago
james Brown's avatar james Brown

anyone?

       
timkelty's avatar
timkelty
177 posts
16 years ago
timkelty's avatar timkelty

You should be able to look in ext.lg_file_manager.php and remove:

{remove_script_host:true}

(around line 304)

Or put whatever other options you want in there per: MCFileManager://JS options

       
james Brown's avatar
james Brown
492 posts
16 years ago
james Brown's avatar james Brown

Thanks Tim! I had previously edited that line to include:

relative_urls:false

but i didn’t take out:

remove_script_host:true

to be honest i don’t know what that setting does.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.