SimonLove wrote:My Question is this: How do I alter the menu php code so that when I create pages, they go into the correct catergory?
Hi Simon -
There are a couple ways to do this: the "obvious" way
and a ... less obvious way!
First -- the obvious option. I assume you have (or will) set up the pages this way:
Home [root]
|
|- What's Happening
| |- Gigs
| |- Setlist
| |- News (?), etc...
|
|- The Band
| |- Steve
| |- Jez
| |- Bass
| |- Drums
|
|- Sounds
|- Sample
|- Clip, etc...
If you do that, you can use the page-structure itself to do the "categorizing" for you. This is the way we would expect the system to be used. If so, I expect you would probably want to move "News" out to it's own "top" level (directly under Home/"root") so that your news items aren't too "buried".
The less obvious way would be to "tag" the pages with your categories, and there is some code in the wiki that would get you started. HOWEVER! This is cumbersome, and not really the purpose of the "tags". It would let you put ALL your pages at the "top" level, though.
I strongly recommend the first option! I mention the second only because it is "possible". It is not, however, desirable!
Hopefully your default Wolf installation will already give you an idea about how the page structure works. (See also the page drag-drop notes in the wiki.)
And let us know how you get on!