Hi. Im trying to develop what I think is a simple site, but i must be getting the structure of things goofed up. I would like a menu bar that lists “projects, information, contact” then when project or information are clicked, below the menu line shows a sub menu of
Projects>Selected Projects, More Projects
Information>News, Introduction, People
and then when Selected Projects or More Projects are selected, below that second menu would show all the project names, which could be clicked to go to the project page, while also showing the teaser view of every project in either category. For information the sub menus would go directly to single pages for each.
I have structured my content as follows:
content/
1-projects/
1-selectedprojects/
1-project-1/
2-project-2/
3-project-3/
4-etc...
2-moreprojects/
1-project-1/
2-project-2/
3-project-3/
4-etc...
2-information/
1-news/
2-introduction/
3-people/
3-contact/
error
home
and my templates would then reflect that by having a structure like
site/
templates/
default.php
home.php
moreprojects.php
project.php
projects.php
selectedprojects.php
Each project would simple just be text and images.
i can’t seem to get it to work this way though and I don’t really know which would be the problem to correct. i believe the individual templates are right. and my menu used to work when i just had individual projects within the project folder, but once i tried to have a sub menu, and then have each project show up as a clickable thing, as well as expand information to be a menu with options, nothing shows up anymore when i try this.
Here is a picture of the variety of ways it would look as you click through the menus:
right now though, all i get is this: