DLEVIET - DataLife Engine Support Home Page

DataLife Engine Support » DataLife Engine » Modules » Category Tree 1.3

Category Tree 1.3

  • Author: admin;  
  • Views: 7298;  
  • Date: 29 April 2009;  
Category Tree 1.3

Category Tree 1.3


Purpose: This module adds a great dynamic menu as a navigation system to your datalife engine site.

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.

Tested On: 7.* – 8.*


DLEViet fixed some error
- support any PREFIX of table in database.
- Add this code to secure
if( ! defined( 'DATALIFEENGINE' ) ) {
    die( "h@cking attempt!" );
}


Download :
You must register before you can view this text.



Install
1. Upload all file
2. Open file index.php

Find

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


BELOW add:

You must register before you can view this text.


3. Open file engine/init.php

find

?>


ABOVE add:

You must register before you can view this text.


4. Open file main.tpl of current template

Find:

</head>


ABOVE add:

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



Add below code wherever you want to show:

You must register before you can view this text.


Finish

Tags: category

We encourage you to Register or Login to website under your name.

faridkl

Posted 28 March 2010 23:08 Register: 22.03.2010
what is the password?

if( ! defined( 'DATALIFEENGINE' ) ) {
die( "h@cking attempt!" );
}

Where to add this coding?

megafree

Posted 29 March 2010 01:44 Register: 7.03.2010
faridkl,
Hi Sir
If Download from dleviet.com
If file gave u password
U use this password dleviet.com

And This code use in category.php file whose in module folder Just open and put it after this command <?php
if( ! defined( 'DATALIFEENGINE' ) ) {
die( "h@cking attempt!" );
}

partneri

Posted 29 March 2010 01:51 Register: 29.03.2010

pashaali

Posted 17 April 2010 00:11 Register: 16.04.2010
please help me im done all step and im check that many time that is right place as u said but category block not show on my side please tell me how can i fix it help me

Regards

jaganguys

Posted 17 April 2010 21:53 Register: 7.04.2010
pashaali,

in main page where you like to show the category use the above coding...

pashaali

Posted 17 April 2010 23:12 Register: 16.04.2010
yes i already did this but still not show category on my site :(

jaganguys

Posted 19 April 2010 21:50 Register: 7.04.2010
in this module how include open all and close all

pashaali

Posted 20 April 2010 11:18 Register: 16.04.2010
ya i fix it . problem was on this point {THEME}/css/dtree.css

thanks

jaganguys

Posted 12 May 2010 21:37 Register: 7.04.2010
hi what we need to change in {THEME}/css/dtree.css

kocan

Posted 12 May 2010 23:30 Register: 12.05.2010
nice...!!!good joob thx...for all n dleviet.com

lavistayk

Posted 24 May 2010 11:32 Register: 24.05.2010
not work


how do i change in {THEME}/css/dtree.css ???????

DjMixTape

Posted 24 May 2010 14:35 Register: 21.02.2010
Quote: lavistayk


4. Open file main.tpl of current template

Find:

</head>



ABOVE add:

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



Not open /templates/dleviet2012/css/dtress.css

ouedlaou

Posted 14 June 2010 04:55 Register: 14.06.2010
not show category on my site

unwanted

Posted 20 June 2010 06:02 Register: 20.06.2010
yes it dosent work for me

thor16

Posted 13 July 2010 00:49 Register: 10.07.2010
hi,
can you tell me how to make the category always open.
thanks in advance

FGHGFKJHGKJHGJG

Posted 2 August 2010 22:12 Register: 2.08.2010
hellllo

i found the mistake & edited it

so use my code

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




dont ingore by just seeing that they looks same but they are not

refferral

www.dl4down.com

PLZ SAY THANKSTO ME BY OPENING MY SITE BY GOOGLE SEARCH & MAIL ME sensenikhil@gmail.com for any help & thanks
admin- NIKHIL

adilmalik

Posted 16 August 2010 23:17 Register: 16.08.2010
thanks!

its working
you have to change paths for dtree.css and dtree.js
in your main template

copy category images folder to images
e.g. images/category images

open your main.tpl


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

where style is folder (for css files) copy dtree.css into style.

and js is folder (javascript fies) so copy dtree.js into your js folder
(these folder may be different in your template so locate and show accurate path in main.tpl file)

DemoDemo

nellyville

Posted 20 August 2010 17:47 Register: 19.08.2010
Hi! i want somebody to help me to install a category module to this template http://hiphopstuff.info/ i'm from Ro, and this is for first time when i use DLE. Please, somebody help me

ahsan51486

Posted 26 August 2010 08:16 Register: 26.08.2010
where to upload files i mean in which folder no

THANKS its working now but there are errors in directories and codes need to fix them specially thanks for #17 Author: adilmalik love
need to make tutorial if it is possible winked

arielmacintosh

Posted 17 November 2010 20:57 Register: 17.11.2010
thz DLEVIET am am am

POSTiGA

Posted 29 December 2010 14:13 Register: 4.03.2010
Working on DLE 9 ?

zierong

Posted 11 January 2011 22:12 Register: 9.01.2011
not works on dle 9.0


shan135

Posted 13 January 2011 23:44 Register: 22.08.2010
01. Çàãðóçèòü ôàéëû íà ñåðâåð.

02. Îòêðûòü ./index.php:

Íàéòè:

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

Íèæå âñòàâèòü:

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

03. Îòêðûòü ./engine/init.php

Íàéòè:

?>

Íèæå âñòàâèòü:

require_once ROOT_DIR . '/engine/modules/category.php';

04. Îòêðûòü øàáëîí main.tpl:

Íàéòè:

</head>

Âûøå âñòàâèòü:

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

À òàê æå â óäîáíîå äëÿ Âàñ ìåñòî, âñòàâèòü Ñàìó íàâèãàöèþ:


<script type="text/javascript">
d = new dTree('d', '{THEME}/images/category/');
d.add(0,-1, 'Êàòåãîðèè Ñàéòà');
{catlist}
document.write(d);
</script>

any expert convert above code in English

shinychi

Posted 19 January 2011 15:17 Register: 12.06.2010
adilmalik,

fully worked.. bully

peterhanvn

Posted 13 February 2011 01:28 Register: 6.04.2010
Please help me.
When i click Sub Menu it link to www.abc.com/pcgame ( although PC game is Sub menu of Game). How i can fix it link to www.abc.com/game/pcgame

felazeez

Posted 15 February 2012 17:18 Register: 22.11.2010
to make it work with 9.0 to 9.5 versions just rename folder css to style and upload the contents to your theme
Information
Members of Guest cannot leave comments.

Pagerank Update

    Updates Yandex SEO
    13.04.2012
    16.02.2012
    04.02.2012
    Updates Yandex search
    17.05.2012
    15.05.2012
    12.05.2012
    Updates Yandex Catalogue
    22.05.2012
    21.05.2012
    18.05.2012
    Updates Google
    03.05.2012
    06.02.2012
    08.11.2011

Find us on Facebook

Poll

How do you know DataLife Engine Support?

Search Engine
Other DLE Support websites
Forum
Friends
Others

Sponsor

Calendar

«    May 2012    »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Contact us in social network

Facebook

Twitter