I want to create a text based menu system for some included pages on a main index.php. The menu should reflect the page displayed and its position in the menu structure
The current index.php page has essentially got three areas in columns, Left Nav, Central Content and Right Content. Left Nav and Right Content are the same on every page, Central Content will alter depending upon the menu cxhoice made.
I want to create a system whereby when the user clicks on a link in Left Nav the content in the middle section updates to include the desired page info and the external LeftNav & Right Content remains the same.
I also want to have the menu system reflect the page being displayed so that
So when I click on MenuItem1 I getMenuItem1
MenuItem2
MenuItem3
MenuItem4
So when I click on SubMenuItem1-Option1 I getMenuItem1
>>SubMenuItem1-Option1
>>SubMenuItem1-Option2
MenuItem2
MenuItem3
MenuItem4
So when I click on SubMenuItem1-Option1Choice1 I get the page I want included in the central area of my main standard page.MenuItem1
>>SubMenuItem1-Option1
>>>>SubMenuItem1-Option1Choice1
>>>>SubMenuItem1-Option1Choice2
MenuItem2
MenuItem3
MenuItem4
Someone told me they'd done some asp code that did this, but I'm not sure how to transfer this into php.
I think it essentially involved a process that went along the lines of:
If the "MenuItem1" is clicked, include beneath it:
>>SubMenuItem1-Option1 and
>>SubMenuItem1-Option2.
Then, if SubMenuItem1-Option1 was clicked, include beneath it >>>>SubMenuItem1-Option1Choice1 and
>>>>SubMenuItem1-Option1Choice2
Then if SubMenuItem1-Option1Choice1 was clicked, load the Option1Choice1.php page into the required palce on the index.php page.
I'd probably also want to set the broswer page title to reflect the included page as well.
Is this a crazy thing for a relative noob to take on?
Any help/code snips/advice/tutorials you can point me to?
thanks.