I wrote this plugin for my teachers site. We must to use a tree menu on his page, because there many statics pages about himself. So I wrote this plugin. If you want use this, you can read this installation. Please continue reading..
INSTALLATION
First you download dmry tree menu navigation with click here. After, copy dmry-tree-menu folder under wp-content/plugins folder, which being in .rar file.Finally go to plugings page and active this plugin.
USAGE
Pluging usage like wp_list_pages() function usage. I explain this
You add too many statics page and again too many under this statics page. We need ID number which is the first or parent top. For example, my statics page happen like these;
- Hakan Demiray
-- Kitaplar
--- phpnuke Kitabı
-- Yazılar
-- Tasarımlar
--- phpnuke Kodlama
--- Sayfa Tasarımları
In here, parent top page ise “Hakan Demiray”. So I use it ID number. For dmry tree menu, you have to add this code on your sidebar template, or where you want.
<?php DMRYTreeMenu('child_of=12&sort_column=menu_order&sort_order=asc&title_li='); ?>
The important point in this code is child_of value. This will be parent top page ID number. Namely, 12 must be “Hakan Demiray” page ID number for my example. sort_column=menu_order, order pages by menu order number. sort_order=asc, make ordering by alphabetic (aZ). And for another values, you can visit wp_list_pages() function usage page.
MENU PROPERTIES
Tree navigation javascript codes writen by Geir Landrö for his project Dtree 2.05. I use dtree 2.05 codes in my pluging, and I make this dynamic for wordpress. There is too many options under dtree. For this options, open dtree.js file under the dmry tree menu pluging folder. Find the following codes in the file.
this.config = {
target : null,
folderLinks : false,
useSelection : true,
useCookies : true,
useLines : true,
useIcons : false,
useStatusText : true,
closeSameLevel : false,
inOrder : false
}
target; Target for all the pages.
folderLinks; Should folders be links.
useSelection; Pages can be selected(highlighted).
useCookies; The tree uses cookies to rember it’s state..
useLines; Tree is drawn with lines.
useIcons; Tree is drawn with icons..
useStatusText; Displays page names in the statusbar instead of the url.
closeSameLevel; Only one page within a parent can be expanded at the same time.
inOrder; If parent pages are always added before children, setting this to true speeds up the tree.
And too many explanation about dtree, please visit it’s api page.
I have a important exam in this week, so I can’t write too many functions for this menu. But later I wrote a lot functions, so it will be 1.1 version.
SCREENSHOTS
DOWNLOAD URL
For DMRY Ağaç Navigasyon Menüsü 1.0, click here.
Bu yazı 25 Kasım 2005, 12:20 tarihinde yazılmış olup bu zamana kadar 4,690 kez görüntülenmiştir
En son ise 28 Eylül 2008, 16:59 tarihinde güncellenmiştir
Bu yazı 6 adet yorum almıştır ve bunların tamamı görüntülenmektedir.
Hi radeondt. It is not a plugin. I find this navigation script on Mollio theme
You can use that script
For Mollio , you can visit http://www.mollio.org/typeA.html
I like your plugin, and I have any question for you, how to make your top menu, I like it, what plugin do you use and where I can download these plugin, or if it’s not use plugin can you teach me how to make it ? thanks alot
radeondt
Sorry.. I just wanted to say, it’s specifically pages 14 and 18 that will not display their child pages.
Hello. ![]()
I’m using this plugin to sort the pages for an RPG site I’m building. I’m having a problem with displaying all of the pages. The parent pages (ID -> 13-20) are only displaying the children of odd parent pages (13,15,17,19) and the even numbers (ID -> 14,16,18,20) aren’t displaying the child pages at all.
http://verasia.echo-darkness.net/site
If you look at the source code, it looks like the script is calling up the pages. Is there a problem with document.write? I’m not sure what to do. Any idea why some pages will show up, and others will not show up?
Thanks
Hmm sorry Andres I don’t have any idea ![]()
Hi.
I’m using this great plugin (DMRY Tree) for a website. Now that we’re developing the website in a second language we went ahead and installed wordpress in another directory and are using a totally seperate blog for the 2nd language.
My only problem is that in this second site I can’t get dMRY Tree to work right. It will show only subpages of one node, but I can’t get it to show all the pages in the list.
Any ideas?
I’m using to call the plugin becuase ?I put all the pages under a parent page ID 40.
Does it matter if some pages only have a title but are otherwise blank of content?
Yazını çok beğendim. Yeni yazılarının e-posta adresime gelmesini istiyorum :)