Customizations Articles RSS Feed
Translating Web File Share
Viewed 18497 times since Wed, Mar 5, 2014
Editing a translation Select a language by clicking on its name. The translation is split in several parts which refer to particular sections or features of Web File Share. Click the section you wish to edit and you will see a list of words and... Read More
The API
Viewed 2720 times since Wed, Nov 22, 2017
Quick start for PHP developers Read the Authorization section bellow to understand the requirements. Follow “a new client application” Download and use the Web File Share PHP API Client library: https://github.com/WebFileShare/api... Read More
Running custom scripts when users perform various actions
Viewed 1699 times since Thu, Mar 6, 2014
Custom PHP scripts can be automatically executed when the users perform one of the 57 monitored actions (E-mail_notification_system#Actions_keynames). For example, to automatically run custom PHP code whenever a file is uploaded, you can simply place... Read More
Counting file downloads
Viewed 1224 times since Thu, Mar 6, 2014
Applies to Web File Share version (260213) To keep track of the files' download count, please follow these steps: Login as superuser and open the Control Panel Select "System configuration  » Metadata  » Fieldsets" and click "Add" Set the ... Read More
File reference
Viewed 1161 times since Tue, Jun 10, 2014
DEV Files This is a list of most customized Web File Share files and folders: /css/style.css The CSS file that needs to be edited for changing the background for the login page. /customizables/include.html It can be used to include HTML... Read More
Adding custom functionality
Viewed 1118 times since Thu, Mar 6, 2014
Custom Modules This page provides some details on how to add a custom PHP script to Web File Share's framework. The benefits are that the page can be protected by Web File Share's authentication system and that your script can use Web File... Read More
Custom file actions
Viewed 1111 times since Wed, Mar 5, 2014
You can easily add custom options inside the "Open with.." file contextual menu. Here is a step by step guide: Make a copy of "/path-to-WebFileShare/customizables/custom_actions/_example" inside the same folder and rename it to "my-action" (you are... Read More
Calculating MD5 Checksums
Viewed 1100 times since Thu, Mar 6, 2014
Hash Files To automatically calculate and store the files' MD5 checksum values, so you can verify their integrity, please follow these steps: Go to "Control Panel » System configuration » Metadata » Fieldsets » Create new" Set the ... Read More
Custom even scripts
Viewed 996 times since Wed, Nov 22, 2017
Custom PHP scripts can be automatically executed when the users perform one of the monitored actions (Actions_keynames). For example, to automatically run custom PHP code after a file is uploaded, you can simply place a PHP file named “upload... Read More
Adding links to the menu
Viewed 982 times since Thu, Mar 6, 2014
Applies to Web File Share version (291210) The menus are defined inside the file "/path-to-WebFileShare/js/fileman/toolbars_and_menus.js". To add a link on the main toolbar (next to the "Upload" and "File" options), you open the file in a text editor... Read More
Hiding options from the "Open with..." menu
Viewed 937 times since Thu, Mar 6, 2014
The options that are displayed in the "Open with..." menu are called "custom actions". Each custom action has a folder inside "/path-to-WebFileShare/customizables/custom_actions/". If you want to disable a particular option, you can do that by... Read More
Forcing certain file types to download
Viewed 931 times since Thu, Mar 6, 2014
When accessing files via WebLinks, if possible, the browser will try to open the file itself, instead of asking the user to save the file. Common file types, like images or text files will automatically open in the browser. You can force the browser... Read More
External Login Form
Viewed 818 times since Wed, Nov 22, 2017
The following is a PHP code snippet that displays a login form which provides feedback without showing the Web File Share login screen. This can be used if you would like to have a custom login form integrated into your website and bypass the Web... Read More
Automatic Login
Viewed 796 times since Wed, Nov 22, 2017
If you wish to automatically login visitors to WebFileShare without asking them to fill in the login form, there are two ways: Using a custom link http://YOUR-SITE.COM/WebFileShare/?page=login&action=login&nonajax=1&username=USERNAME&... Read More
Custom "Open with" actions
Viewed 792 times since Wed, Nov 22, 2017
Creating a custom “Open with..” file contextual menu option: The plugin folder structure Create a new empty folder inside “customizables/custom_actions/”. For this example we'll name it “hello”. Create a file ... Read More
Custom CSS
Viewed 667 times since Wed, Nov 22, 2017
As software updates are replacing Web File Share's files regardless of the fact that they have been customized, there is a way to make CSS modification which will be preserved between software updates. You can specify the URL of an external CSS... Read More