1. Category Tree

Category Tree

  |   49
Category Tree

Fixed For Dle 9.8 and DLE 10.0
Features:
- Categories disclosed without reloading the page.
- All data are taken from DLE Database so you don?t need to add anything manually.
- You can specify icons for categories.
- Support for an infinite number of categories of dynamic menus.
Install:
Install
1. Upload all file
2. Open file index.php

Find
$tpl->set ( '{speedbar}', $tpl->result['speedbar'] );

BELOW add:
$tpl->set ( '{catlist}', $catlist );

3. Open file engine/init.php

find
?>

ABOVE add:
require_once ROOT_DIR . '/engine/modules/category.php';

4. Open file main.tpl of current template

Find:
</head>

ABOVE add:
<link rel="StyleSheet" href="{THEME}/style/dtree.css" type="text/css" />
<script type="text/javascript" src="{THEME}/js/dtree.js"></script>

In Same File:

Add below code wherever you want to show:
<script type="text/javascript">
d = new dTree('d', '{THEME}/images/category/');
d.add(0,-1, 'Site Categories');
{catlist}
document.write(d);
</script>
OR
<div class="dtree">
<script type="text/javascript">
d = new dTree('d','{THEME}/images/category/');
d.add(0,-1,'Site Categories');
{catlist}
document.write(d);
</script><center><a href="javascript: d.openAll();">Open All | <a href="javascript: d.closeAll();">Close All</a></center>
</div>

Finish
Note: Tested on Dle 9.8 and working fine
Live Demo:max-warez.net
How to install included in Archive as well
Archive Replaced with fixed version
Login Required!Only registered users can download files. Please register or Login

Fixed conflict by DLEStarter Team


If you install treemenu above in DLE 9.5 and newer versions, you will get issue and problem when you visit the pages that use the same function to query DLE category list like: search, addnews etc...to fix this problem, please follow the steps below.
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Details

0

Comments 49

Admindan
Admindan
Members
Commented By Admindan on April 5, 2013 (3:10 am)
Nope not showing up n my site

http://full4dl.cu.cc/

Admindan,

I'm sorry it worked . Great ! Thank you team.
N/A 7Forum topics : 1Forum replies : 2Forum likes : 0
dendi86
dendi86
Members
Commented By dendi86 on June 26, 2013 (3:28 am)
hi it dont work :(
i follow all the passage but it doesnt change anything!

that does it mean

Add below code wherever you want to show:

<script type="text/javascript">
d = new dTree('d', '{THEME}/images/category/');
d.add(0,-1, 'Site Categories');
{catlist}
document.write(d);
</script>

where do I add this?
N/A 4Forum topics : 3Forum replies : 3Forum likes : 0
Quarantine
Quarantine
Moderators
Commented By Quarantine on June 26, 2013 (4:40 pm)
Quote: dendi86
hi it dont work :(
i follow all the passage but it doesnt change anything!

that does it mean

Add below code wherever you want to show:

<script type="text/javascript">
d = new dTree('d', '{THEME}/images/category/');
d.add(0,-1, 'Site Categories');
{catlist}
document.write(d);
</script>

where do I add this?

In Main.tpl
32 27Forum topics : 21Forum replies : 163Forum likes : 15

sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on June 28, 2013 (3:38 am)
Add below code wherever you want to show:

This word means, you have to add the code in your theme file where you want it to display...

Another word, let say you are using theme name "Default", this theme has additional theme name "sidebar.tpl" the file contains the html code and tags for your theme sidebar and if you want the tree menu to be shown in sidebar then open this file and add the code to the location you want the tree menu to display...if you use different theme then open the .tpl that contains the location you want the tree menu to display like main.tpl or whatever the file that you want the tree menu to show up. so ultimately it's all about theme file.
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
dendi86
dendi86
Members
Commented By dendi86 on June 28, 2013 (6:26 am)
Please mate, add me on skype for support .. im a newbie
--> skype contact -> michael7fp
N/A 4Forum topics : 3Forum replies : 3Forum likes : 0
sawanbanna
sawanbanna
DLE TEAM
Commented By sawanbanna on June 28, 2013 (8:44 pm)
This site has comment system and forum system to provide supports, how many more method you want us to provide supports? we can careless about your skype id to get personal supports
31 409Forum topics : 23Forum replies : 979Forum likes : 150

« Live as if you were to die tomorrow. Learn as if you were to live forever! »
upl4you
upl4you
Members
Commented By upl4you on July 14, 2013 (8:34 am)
thank you nice template http://www.dlestarter.com/getfile/20 http://www.dlestarter.com/getfile/19
N/A 10Forum topics : 1Forum replies : 4Forum likes : 0
Commented By Abdul Ghaffar Attari on July 23, 2013 (9:28 am)
why not working for me ? :(
getting error
Uncaught ReferenceError: catlist is not defined
(anonymous function)
4 56Forum topics : 44Forum replies : 415Forum likes : 21
spamhater
spamhater
DLE TEAM
Commented By spamhater on July 24, 2013 (12:45 am)
Abdul Ghaffar Attari
Get the correct module from one of our new themes, we have fixed treemenu...this menu will not work when you visit the page "Search, addnews" or any pages that using query for category list...this treemenu has been a problem since 9.4 and newer version of DLE

let me see if I get a few minutes to fix this tree menu in this topic...

===
update
===
I have added the modification instruction within topic.
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
Commented By Abdul Ghaffar Attari on July 24, 2013 (3:57 am)
Quote: spamhater
spamhater

Thanks for quick help . its working on main page .. but as you said not on others .. but no problem ..
4 56Forum topics : 44Forum replies : 415Forum likes : 21
shah2join
shah2join
Members
Commented By shah2join on August 28, 2013 (4:32 pm)
Dear i m use dle 9.6 and i also apply this all tree but not work any catagory tree in my site Why my site : www.thefilebay.se
i remove my recent Tree i need your catagory Tree plz help me
N/A 3Forum topics : 16Forum replies : 34Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on August 28, 2013 (6:03 pm)
just follow installation instruction, it will work with any versions and any themes
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
shah2join
shah2join
Members
Commented By shah2join on August 30, 2013 (5:04 pm)
brother i also add alot of time but in this template not working what is problam in this template plz help me
N/A 3Forum topics : 16Forum replies : 34Forum likes : 0
spamhater
spamhater
DLE TEAM
Commented By spamhater on August 30, 2013 (7:27 pm)
there was problem with our database corrupted due server flood so we missed and lost a lot of data and details...and I have updated the tutorial now...so you can follow the instruction above...
24 386Forum topics : 12Forum replies : 950Forum likes : 130

Love is a symbol of eternity. It wipes out all sense of time, destroying all memory of a beginning and all fear of an end!
Great achievement is usually born of great sacrifice, and is never the result of selfishness...Without continual growth and progress, such words as improvement, achievement, and success have no meaning.
shah2join
shah2join
Members
Commented By shah2join on August 31, 2013 (4:48 am)
work on DataLife Engine version: 9.7
N/A 3Forum topics : 16Forum replies : 34Forum likes : 0
vnvn2010
vnvn2010
Members
Commented By vnvn2010 on November 16, 2013 (10:53 pm)
excellent work in my site download4freeu.com
N/A 1Forum topics : 0Forum replies : 0Forum likes : 0
hungtl1209
hungtl1209
Members
Commented By hungtl1209 on December 6, 2013 (4:35 pm)
I want show with counts? please!
Sorry my english very bad :P
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
pippo81
pippo81
V.I.P.
Commented By pippo81 on June 5, 2014 (3:57 pm)
10.2 ? work in this version?
N/A 1Forum topics : 0Forum replies : 0Forum likes : 0
DLEStarter
DLEStarter
DLE TEAM
Commented By DLEStarter on June 5, 2014 (6:03 pm)
it will work with all versions including 10.2
29 225Forum topics : 9Forum replies : 558Forum likes : 116
hamsik17
hamsik17
Members
Commented By hamsik17 on July 17, 2014 (10:42 am)
Hello,
and one day when I'm running out :-)

I did the installation menu and it all ok

but I wonder after so many attempts,
as you add more categories and subcategories?

thank you very much
N/A 5Forum topics : 0Forum replies : 0Forum likes : 0
yorismith
yorismith
Moderators
Commented By yorismith on July 18, 2014 (5:08 am)
Quote: hamsik17
as you add more categories and subcategories?

You can add as many categories as you want, it will automatically added to your category without taking any actions
32 288Forum topics : 2Forum replies : 699Forum likes : 117

- Nothing comes free...
- A generous heart, kind speech, and compassion are the things which renew humanity
hamsik17
hamsik17
Members
Commented By hamsik17 on July 26, 2014 (7:57 am)
Hello,
I need help!

I installed the menu on my site, I know I work all templates,
I'm not on this menu will appear,
my website: http://hostingimmagini.netsons.org/

how can I fix it? I also made changes to the conflict!

Thank you very much

greetings
N/A 5Forum topics : 0Forum replies : 0Forum likes : 0
DLEStarter
DLEStarter
DLE TEAM
Commented By DLEStarter on July 26, 2014 (9:06 am)
hamsik17, the treemenu js is inaccessible from /templates/skyback/js/dtree.js so that means something preventing the file from being accessed, so the possible solution is create .htaccess and place in /templates/skyback/js/ folder, the .htaccess should contain this code
Order Deny,Allow
Allow from all
29 225Forum topics : 9Forum replies : 558Forum likes : 116
hamsik17
hamsik17
Members
Commented By hamsik17 on July 26, 2014 (9:21 am)
Hello,
How do I create this file. htaccess?

I put the. Htaccess file that contains the code but still nothing,
some do I fix?
N/A 5Forum topics : 0Forum replies : 0Forum likes : 0
DLEStarter
DLEStarter
DLE TEAM
Commented By DLEStarter on July 26, 2014 (9:39 am)
Nope, the file is invalid or not existing
Download this file: https://www.mediafire.com/?so80agrsmw7fest
Extract it and upload .htaccess file to folder /templates/skyback/js/
29 225Forum topics : 9Forum replies : 558Forum likes : 116
hamsik17
hamsik17
Members
Commented By hamsik17 on July 26, 2014 (10:21 am)
The menu seems to work as you can see on my site!
but it creates mess on the template because I have to see mo ...

I can not put it in the side menu :-(
N/A 5Forum topics : 0Forum replies : 0Forum likes : 0
darkbatman
darkbatman
Members
Commented By darkbatman on August 30, 2014 (1:32 am)
Hello Admin i am used current category but show my a error
"Fatal error: require_once(): Failed opening required '/home/dl4ever/public_html/engine/modules/category.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dl4ever/public_html/engine/init.php on line 484"
please help me
N/A 12Forum topics : 0Forum replies : 0Forum likes : 0
yorismith
yorismith
Moderators
Commented By yorismith on August 30, 2014 (11:41 am)
darkbatman, that means you don't download the files and upload to your server..download files and upload again.
32 288Forum topics : 2Forum replies : 699Forum likes : 117

- Nothing comes free...
- A generous heart, kind speech, and compassion are the things which renew humanity
kingmaddy
kingmaddy
Members
Commented By kingmaddy on October 10, 2014 (6:26 pm)
not working on 10.3
N/A 2Forum topics : 0Forum replies : 0Forum likes : 0
DLEStarter
DLEStarter
DLE TEAM
Commented By DLEStarter on October 11, 2014 (12:09 pm)
Quote: kingmaddy
not working on 10.3

fully tested on 10.2 and 10.3, the module will work 100%, only problem is with LiveEditor when upload images in main page, all other editors will work 100% on 10.3
29 225Forum topics : 9Forum replies : 558Forum likes : 116
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.