Top Ten on index
Hi, So like I said I will start making a few mods for Gazelle.
Ok so to keep it simple Ive created a single function file where most of my code will be added now and in the future, you are welcome to move it where you like. The reason why I've done it like this is 1) It makes it very easy for installation and save a lot of time and hair pulling explaining where and how it must be added. http://gfxpeers.net/Untitled-1.jpg So here go's.. 1) Ok first create a file called firefly_functions.php in /classes/ and copy this in. Please note! depending on where your cat icons are you will need to edit /static/image/cat/ in cat_switch() function and point it to where your cat icons are. Code:
In my config.php my categories are as follows.. Quote:
Open/Edit script_start.php and add Code:
require(SERVER_ROOT.'/classes/firefly_functions.php'); Code:
Edit: Code:
/sections/index/private.php Code:
print top_index(7,10,"Topten Tv Series"); Code:
This is what you need to input. Code:
top_index(7,10,"Topten Tv Series") 5) Now add some CSS /static/styles/{Theme name} and add. Code:
|
thanks for this, maybe i will try it. :)
It would be nice if you can help with this, on torrent page where are names of torrent, under where are tags add who post torrent (name) and in what category Godzilla (2014) Posted by Reitak (clickable name -> profil) in Movies (clickable category) :drink: |
All times are GMT +2. The time now is 19:13. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.