Show Total Count of Files in a Directory

In this tutorial I will show you how to add total count of files in a directory of\\in your wapka file manager..

After this tutorial you will be able to show how much files are there is a direcory.. i.e. How much in games directory etc. Lets do it.


  1. Login to your wapka account
  2. Goto Admin Mode
  3. Get your DIR ID's by going to ES > FILE MANAGER, in our case 1 for games and 2 for applications.. It will be different for yours..
  4. In homepage.. Add wml code via ES > WML/xHTML code
  5. Change ID with the Directory ID which we get in step 3.
  6. If you wanted to count files for multiple ID's use the following code instead of above

    Change ID1, ID2, ID3 with the directory ID's, you can add more directories just seperate new one with a space.
  7. Here are some examples, you can use..
    1. Only Total files in games directory
    2. Total Files in games and application directory
The main usage of this code is to count total files in a directory or several directories from FILE MANAGER, for example you wanted to show total files before the link to games directory :) Comment if you like this tutorial..
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam aliquam massa quis mauris sollicitudin commodo venenatis ligula commodo.

Related Posts

0 comments:

Post a Comment