At the moment the WebDirectory plugin WDir is available only at my website as Download. The webdirectory plugin will be continously enhanced. It is an advantage to take a look what's new time by time.
Download the zip-file from Download and unzip it into the folder .cmsimpleplugins. Take care to check the "use folder names" option while unzipping. After unzip you should have the following structure:
+-plugins
| +-wdir
| +-config
| +-css
| +-help
| +-images
| +-languages
After
this you can start CMSimple and login into the Admin area. Now you
should see the Plugin WDir in the list of all plugins. If you don't see it,
something is wrong (check the folder structure).
Plug the guestbook in your CMSimple-page by adding the line
#CMSimple $output.= wd_list("PathOnServer");#
into your text. You can copy the text line directly from the description here. But please take care to control the HTML-code directly and delete, if necessary, the < FONT >-tags.
WDir supports the use of multiple languages. There are no specific commands necessary. WDir detects automatically which laguange is currently used and shows the texts in the actual language. The setting of the actual choosen language is taken from CMSimple.
The plugin WDir can be adapted by some settings. These settings can be used for changing the layout and behavior of WDir.
The following settings are available:
show path: | |
show colheader: | |
show summary: | |
show size: | |
show changed: | |
show attributes: | |
show creator: | |
debug: | |
show hidden: | |
open mode: |
show path: These option defines, if the path should be shown as header above the the file list.
show colheader: With this option the display of the column header (name, size, changed at) can be switched on and off. The translation for the texts are accessible and modifyable at the admin area.
show summary: If you switch on this option the plugin displays at the end a summary of total number of files and the summarized file size.
show size: This option allows to show or hide the size of the files.
show changed: This option allows to show or hide the date of the last modification.
show attributes: If you like to display all the attributes (read, write, execute) of the files, you must switch on this option. Under normal conditions this option is not necessary.
show creator: This option shows/hides the hint for the manufacturer.
debug: This option switches on the display of several debug information. This can be helpful when you have trouble with the plugin. In normal use this option is not necessary.
show hidden: Under Unix / Linux files starting with a dot are not displayed. An example of such a file is .htaccess. With this option you can define wether those files should be displayed or not.
open mode: This option defines, how the files should be opened. The following options are available:
_blank Opens the file in a new window _self Opens the file in the actual window or frame _parent Opens the file in the frame above (if you are using frames) _top Ignores all frames and opens the file in the actual window without any frames (if you're using frames) -empty- The same as _self