function filedepot_libraryfix_message in filedepot 7
Return a message stating how to fix the missing library issue
1 call to filedepot_libraryfix_message()
- filedepot_main in ./
filedepot.module - Implementation of hook_main().
File
- ./
filedepot.module, line 634 - filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated Organic Group, Role and User permissions to secure folders, automated…
Code
function filedepot_libraryfix_message() {
return <<<MSG
<p>Error loading Filedepot (missing library files jquery.blockui and html_encoder).</p>
To fix this issue, assuming your libraries folder is located at sites/all/libraries, <b>create the following directories</b>:
<ul style="margin-bottom:10px;">
<li style="margin-left:20px;">sites/all/libraries/html_encoder</li>
<li style="margin-left:20px;">sites/all/libraries/jquery.blockui</li>
</ul>
The following javascript files need to be retrieved and saved to their respective folders under sites/all/libraries.
<ul>
<li style="margin-left:20px;">http://www.strictly-software.com/scripts/downloads/encoder.js - SAVE FILE as: <b>sites/all/libraries/html_encoder/html_encoder.js</b></li>
<li style="margin-left:20px;">http://malsup.github.com/jquery.blockUI.js - SAVE FILE as <b>sites/all/libraries/jquery.blockui/jquery.blockui.js</b></li>
</ul>
MSG;
}