Danny.Domb
👽 Chevereto Freak
Require Very Simple Plugin System
This is a simple mod to retrieve informations about the images directory.
Installation Instructions
Download : http://www.mediafire.com/?7tvzkv20b1o0as8
Upload it in content/mods/
How to use
Go to : content\themes\XXX
Where xxx means your default theme.
Open the file where you want theses information to be shown, in this case, the footer is the best place (footer.php)
Here is an example of how it can be use in the footer :
Find
add after
Information given by this add-ons:
Suggestions
You can also add in every languages files 2 new variables, so you may translate the text Directory size and # of uploaded images .
Known Issues
None.
If you like this add-ons thumbs me up!
This is a simple mod to retrieve informations about the images directory.
- The total size of the directory[/*]
- The number of files[/*]
Installation Instructions
Download : http://www.mediafire.com/?7tvzkv20b1o0as8
Upload it in content/mods/
How to use
Go to : content\themes\XXX
Where xxx means your default theme.
Open the file where you want theses information to be shown, in this case, the footer is the best place (footer.php)
Here is an example of how it can be use in the footer :
Find
HTML:
<p>(C) 2011 Chevereto</p>
add after
PHP:
<p>Directory Size : <?php print(__MOD__DIR_INFO__SIZE__); ?></p>
<p># of uploaded files : <?php print(__MOD__DIR_INFO__COUNT__); ?></p>
Information given by this add-ons:
Code:
__MOD__DIR_INFO__SIZE__ // constant - the size of the directory
__MOD__DIR_INFO__COUNT__ // constant - the number of images in the directory
Suggestions
You can also add in every languages files 2 new variables, so you may translate the text Directory size and # of uploaded images .
Known Issues
None.
If you like this add-ons thumbs me up!