NukeXchange Network

          

NukeZone Hosting - Fast, Affordable and Dependable
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·SMTP error 451 with PHP-Nuke emails
·Website optimization
·Multilingual search engine optimization
·Rapidshare script/mini host script not allowing downloads
·Members Cant Logon My Site or View Forums & Member Profi
·Approved Membership for 8.0
·I want to use full HTML content in the welcome page...
·Changed style from subsilver, folder images now dont display
·Installing the forum upadates
·PHP-Nuke SQL Injection Vulnerability Fix

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: Xenimus
Today: 0
Yesterday: 3
Overall: 14903

Visitation:
Guests: 659
Members: 1
Total: 660


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Game Quest Online - Games and more!
Game Quest Online - Games and more!

Tree-menu Block for PHP-Nuke
chris writes "Hello nukers,

have you felt the need for a flexible menu block, perhaps as a replacement of the Modules block? Then the newly released Treemenu Block may be right for you.
Click on the read more link for more details.

A commonly asked question in PHPNuke forums is if there exists some Module block out there that displays a dynamic view of the available modules. The webmaster needs a functionality that will allow for the display of only certain module links, depending on, say, the interests, access level, or preferences of the viewer. What is needed is a module block that displays some links (to modules, or generally, to pages) when a certain condition is met (say, when Category A was previously chosen) and some other ones when a different condition is true (e.g. when Category B was chosen).
To met these requirements, I have adapted the well-known Treemenu concept to a PHP-Nuke Block. I have created a PHP-Nuke block containing a Treemenu. It will look like this:

http://www.karakas-online.de/myTreemenu/images/treemenu.png
When the user clicks on an item like "Links", the sub-tree under this item is unfolded:
http://www.karakas-online.de/myTreemenu/images/treemenu1.png
and so on.

Tree-menu is a PHP class created by Bjorge Dijkstra and adapted by Denny Shimkoski. I have fixed some bugs in the version of the latter and incorporated it in a PHPNuke Block.
There are two ways you can use the Tree-menu class - I use the one that takes as input a simple text file and creates a tree menu, in a style that most users are familiar with from a graphical file manager.
And of course, you may tweak it very easily to display multiple Tree-menus, or dynamic ones using a criterion of your choice. Thus, you can display one Tree-menu when the user chose, say, Category A, and a different one for Category B. See

http://www.karakas-online.de/myTreemenu/refinements.html#AEN450
You control the tree structure of your menu from a simple text file, see
http://www.karakas-online.de/myTreemenu/what-is-treemenu.html#INPUT-FILE-METHOD

Of course, this is only a quick and easy solution. If your menu has to change very often, you will need some kind of database support here. But for a lot of purposes this solution is perfectly acceptable.

You can get Treemenu Block at
http://www.karakas-online.de/phpnuke/block-Treemenu.tgz
Just extract it in the blocks directory and activate it. It comes with a sample sitemap text file. But you should also read the detailed documentation at
http://www.karakas-online.de/myTreemenu/t1.html
which may be read online, or downloaded in various formats (HTML, PDF, PS, RTF, TXT...) from
http://www.karakas-online.de/myTreemenu/introduction.html#FORMATS
Let me just add a big Thank You to Bjorge Dijkstra and Denny Shimkoski for creating and improving the Treemenu PHP class, which is used in this PHPNuke block.

Regards
Chris"
Nuke Blocks
Posted on Wednesday, January 08, 2003 @ 8:32 AM CST by ChatServ

Multi-Site Search
Google
Web NukeResources.com
NukeFixes.com NukeSecurity.com
 

Sponsor Links
 

 
Related Links
· More about Nuke Blocks
· News by ChatServ


Most read story about Nuke Blocks:
Tree-menu Block for PHP-Nuke

Article Rating
Average Score: 4.25
Votes: 16


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad

Options

 Printer Friendly Page Printer Friendly Page


Re: Tree-menu Block for PHP-Nuke (Score: 1)
by draxofavalon on Tuesday, August 03, 2004 @ 7:53 AM CDT
(User Info | Send a Message)
I really like this block! it needs a bit od customization but its really good!



Re: Tree-menu Block for PHP-Nuke (Score: 1)
by mikez on Sunday, November 14, 2004 @ 10:15 AM CST
(User Info | Send a Message)
nice block ;-p


Game Quest Online - Games and more!


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.21 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::