Hide files and folders
Hiding a file or folder from the Wimpy playlist.
Wimpy MP3 Player:
Use the customizer tool and select "Generate config file" for the final question. The Customizer tool will output a wimpyConfigs.xml file. Open that file in a text editor, such as notepad, and add the folder names you want to hide to the <hide_folders> directive. Files can be hidden by adding the file names to the <hide_files> directive.
Example:
<hide_folders>folderName, anotherFolderName,goodies,getid3,etc...</hide_folders>
Then upload the wimpyConfigs.xml file to your wimpy folder.
Hiding Files and Folders
How to hide files and folders (directories) so that they do not display
in the playlist.
1. Open wimpy.php/asp/cfm
Open the file in your favorite text editor (e.g.. note
pad, simple text, dreamweaver, editplus,
etc.)
2. Find the "hide folders" variable.
Inside the wimpy.php file you will see a couple of "sections."
Scroll down to the section that is labeled "DIRECTORY CONFIGURATION"preference
has a short description, example and an identifiable name. Here is an
example of what you can expect to see:
///////////////////////////////////////////////////////////////////////
//
//
// DIRECTORY CONFIGURATION
//
//
//
// Use this to prevent specific folders //
// from displaying within Wimpy.
//
//
//
///////////////////////////////////////////////////////////////////////
//
// Hide folders:
// Folders to hide: separate each folder name with a comma
$hide_folders = "_private,_private,_vti_bin,_vti_cnf,_vti_pvt,_vti_txt,cgi-bin";
//
// Hide files:
// Folders to hide: separate each folder name with a comma
$hide_files = "skin.xml,wimpy.swf";
//
//
FYI: You will notice that most of the lines have two slashes at the
beginning. Lines that have two slashes in front of them allow programmers
(like me : ) to insert helpful information into the code.
( NOTE: colors were added to the above example for explanation purposes
only :)
3. Edit the list.
By default there are some folders already listed in the "hide
folders" variable. Each folder name should be separated by a comma.
Note that there is not a space after the comma. You can add additional
folders to the front or back of the existing list.
Be sure to keep everything "between,the,quotes"
4. Save the file and upload
After editing the folder list, save the file, then FTP wimpy.php to
your server again. You should simply overwrite the existing wimpy.php
file on your server.
5. Test your changes.
It's always a good idea to make sure that "everything is cool."
Access wimpy.php on your web server with your web browser to make sure
that the changes have been applied.
|