pacman, rainbows, and roller s
Welcome to SamzyNet
SamzyNet Logo
time01:10 am15/05/2024
Xtgem Tutorials and References
Filelist
Add block » Advanced » Advanced » Filelist

A Simple File List; This function creates a list of links to the files in a named folder. There are settings for sort type, sort direction, folder and number of links per page.
x-plorer_java_v1.20.zip
wave_secure_mobile_security.jar
walkman_kd_player.jar
videoplayer.jar
videoday_video_streaming.jar
valentine_day_message.jar
uTweet_Me_v1.3.jar
to_do_manager.jar
time_laps_camera.jar
sun_mobile_dictionary_v4.5.jar

<xt:filelist sort_type="name" sort_dir="desc" folder="/my/folder" template="" per_page="10" />

Folders In The List
If your filelist folder contains sub-folders each sub-folder should also contain its own index page with a copy of your filelist code.
Advanced Filelist
Using html you can also set a custom output template and filter.
NOTE: the reserved characters in your template MUST be converted to the NAMED html entity equivalent
< = & lt;
> = & gt;
& = & amp;
" = & quot;

Forced Download
You can force a file to download instead of opening with a special "get" variable added to the file url ?xt_download=1
Filelist Template Variables
"parsed" option has underscores converted to spaces.
"base" option returns the file name without the extension.
.file_type. returns the name of the icon file (without .png extension) as used by the Xtgem filebrowser for that type of file.
.file_url.
.file_name.
.file_name_parsed.
.file_name_base.
.file_name_base_parsed.
.file_size. .file_size_kb. .file_size_mb.
.file_mime.
.file_type.
.file_date. .file_time. .file_datetime.


Filter
filter="...."
Enter your filter text, Use the query (?) to replace any one character, Use the asterisk (*) to replace any sequence or string of characters. If the first character in the filter is minus (-) the filter will become negative.
Looking For Something? Search below
More Pages
Translate

1 Online Guest(s) , Today: 1 views, Total: 7174 views
Last modified: 25-01-2018 9:57 am
Copyright © 2017 - 2024 SamzyNet
SamzyNet On Facebook SamzyNet On Twitter SamzyNet On Google + SamzyNet Rss Feed
Home | About Us | Contact Us | Promote | Advertise | Blog | Privacy Policy | F.A.Q
Powered By:  SamzyNet

 top