Welcome Guest, Not a member yet? Register   Sign In
CMS logic, navigation
#1

[eluser]asylmottaket[/eluser]
Hello people

Making a totally dynamic navigational structure, how do you do this?

Is it as simple as making a table named ex. "navigation", than adding both URLs and relations to it?
#2

[eluser]Enorog[/eluser]
You probably want to structure your pages into some kind of tree (main pages, subpages, sub-sub pages etc.)

There is a lot of approaches to doing this, I was researching this myself and found the following links useful:

Tree structure solution in mysql and php
http://forums.digitalpoint.com/showthread.php?t=1317234

Tree menu view with PHP and MySQL - Ext JS Forums
http://extjs.com/forum/showthread.php?t=10082

Storing Hierarchical Data in a Database [PHP & MySQL Tutorials]
http://www.sitepoint.com/article/hierarc...-database/

Four ways to work with hierarchical data - evolt.org
http://www.evolt.org/article/Four_ways_t...index.html

Alan deLevie - Recursion-less storage of hierarchical data in a relational database
http://www.alandelevie.com/2008/07/12/re...-database/




Theme © iAndrew 2016 - Forum software by © MyBB