CodeIgniter Forums
CMS logic, navigation - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: CMS logic, navigation (/thread-22157.html)

CMS logic, navigation - El Forum - 08-31-2009

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?

CMS logic, navigation - El Forum - 09-01-2009

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

Tree menu view with PHP and MySQL - Ext JS Forums

Storing Hierarchical Data in a Database [PHP & MySQL Tutorials]

Four ways to work with hierarchical data -

Alan deLevie - Recursion-less storage of hierarchical data in a relational database