Samystick Olumide 1. FILELIST :
Filelist function is used for listing files that you want to set for download. The files are contained in a partiular folder.
2. To add filelist through xtgem building tool,
+ Click Add block on the page you are working on,
+ Scroll down under Advanced, click Advanced
+ Click Filelist
3. To add filelist through html code, write it like this:
Basic Filelist Functions : Sort Files by:
+ Last modified date
+ Name
+ Type
+Size Sort Direction:
your sort direction could be,
+ Ascending or
+ Descending Folder:
Select the folder containing the files you want to list Per Page:
Select the number of files you want to display in a page before going to the next page.
Samystick Olumide This is how to use filelist:
1. In your root folder, create a folder named Filestest,
2. Upload files in that folder. The files could be photos, songs, games, apps, etc just about six files.
3. Create a page in ur root folder named TestCode for testing.
4. Open the TestCode page and copy this code and paste it there,
After you finish, check if it looked like what i hav in this page, then reply to me.
Here's the page http://samystick.xtgem.com/Test
We'll talk about the template="" later when u understand the basic part.
Samystick Olumide Nice. Owk Copy the filelist and the download page code below, replace the ones in
capital letters, create a file named 'download' direct in ur file browser ..and paste the download page code in it..replace the div class names in the download page with ur own div class names:
Samystick Olumide I hav already thought u about d filelist and i hope u understand? Now i'm to teach u about the things inside " " as in template=" " okay,
1. Template is used to arrange how the files in ur folder will view using html code. Instead of listing the files, you use template to manipulate them into divs or table etc.
2. There are some characters used, they are < - which means less than (< ) >- means greater than ( > ) .file_name_parsed. - this show the name of d file with underscores ( _ ) converted to spaces, .file_size. - this shows size of file .file_mime. - this returns file mime of the file e.g: image/png
So what i created inside the template is a table which u beautify using ur div classes. The table allows u to put a constant image at the left column and a little information about the file with the download link in the right column.
3. In the Download Now link, there is a code looks like this:
This means that when u click the red "Download Now" link, it will lead you to the download page u created directly in you file browser and the code u pasted in the download page will collect the informations about the file and also provide the actual download link for the file.
Samystick Olumide ok, there is some things we should be arranging in that page.
1. You know that page looks like ur homepage meaning that the css ur using will make things different. tell me if u want to change d css of the page.
2. The two links in orange color there i.e
When i click *Itumo by lil kesh - YAGI* is opens an empty page,
And when i clicked *Wizkid, wine like this.* it shows error page. So from my observation,
1. The css in d page will make things look different
2. I think you did Not place the filelist code properly,
So make sure the name of d folder u placed the files to list match the name u used in, folder="/FOLDER" e.g if u have a folder named Musics and inside it u hav another folder name Hip-Hop which contains hip - hop songs u want to list, then that code will be like this folder="/Musics/Hip-Hop/" as in
And make sure the files have their extensions (.mp3) etc.
The files in ur folder should list out exactly as it listed out HERE, if not u know dat d code hav mistakes.
And its in the template attribute u will place how the content will view.
Maybe u should check out http://weezywap.xtgem.com/Wapmasta/Css1/css_menu.php for the css stylesheet you like and then tell me the name.