Create an account    
 home  
       Modules
 Home

 Discussions
 forums
 Private Messages
 News
 All topics
 Download & Links
 Downloads
 Supporters
 Web Links
 Content
 Content
· basic website tutorial

 Top 10
 Information
 Feedback
 Recommend Us
 Manuals
 manuals
 SEO tools
 google rank predict
 backlink check
 pagerank checker
 link popularity
 spider view
 thaihealth
 freetime
 sex education
 arcade game
 nuke site map
 travel pattaya
 pattaya news
 Category
 linux 4 newbies
 my basic recipes
 php-nuke
 mods-blocks
 mods-modules
 javascript 4 phpnuke
 bbcodes 4 phpbb
 basic php
 php scripts
 basic MySQL
Thanks
 doctornuke
       Languages
Select Interface Language:

       squirrelmail

User:(you@domain.com)

Password:

       Top My Fav.
visit ·ÓºØ­Çѹà¡Ô´
besthosting recommended by doctornuke
 
Web www.thaihealth.net
  You are here:> home>> PHP-Nuke HOWTO ©
Treemenu with PHP

8.2.5. Treemenu with PHP

Figure 8-4. Treemenu block with PHP.

 Treemenu block with PHP.

Treemenu block with PHP.



The Treemenu for PHP-Nuke will read a simple, plain text file that contains the "nodes" and "leaves" of a menu and will create a block with a Treemenu, as shown in Figure 8-4. Features include:

  • No database changes. You only change a text file.

  • Grouping of menu items ("leaves" of the Treemenu) under "nodes".

  • Expansion and collapse of the nodes based on the value of an URL parameter. You can thus let a submenu stay "open" , even after you cliked on a leaf link.

  • Custom images for nodes (open or closed) and leaves. You can make it look like a window of a file manager.

  • More complicated logic possible (e.g. depending on categories etc.), see Treemenu block for PHPNuke: Refinements.

This Treemenu is based on a PHP class and therefore does not require any client scripting (like Javascript). Thus it will still work on clients with Javascript disabled. On the other side, for every change of the menu, like expansion or collapse , a new HTTP page request is made to the server. Like PHP itself, the Treemenu is a server-side technology.

A detailed description of the Treemenu can be found in Treemenu block for PHPNuke. We also discuss it in Section 17.2.2, in the context of modifying blocks, specifically the Modules block.


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO


àÅè¹à¡ÁÊì arcade games free!

main sitethaihealth | home | forums | downloads | topics

Seo from our desk seo | à¡ÁÊì and best Thailand hosting for phpnuke with domain registration and affiliate visit dochost.net hosting for phpnuke

Theme developed by WebDesignHQ.com Modified By DoctorNUKE