Hi all,
I'm having a question that is driving me kinda nuts right now.
I really like the way vB handles the url's and makes the navbar and I would like to be able to make the same sort of url's and navbar.
First I was looking how the url's where made so nice, so I did some research on mod_rewrite and I am able to make some nice url's, but I'm still with the question how vB handles a url like:
http://www.talkphp.com/general/ and
http://www.talkphp.com/general/1-example/. I know that vB (in the second case) just gets the number of the topic and shows it, no mather what is behind the number, but how does vB handle the first case ?
I had a thought that maybe vB takes 'general', looks for a title in a db and gets stuff, but then I thought, how does it handle 'tips and tricks' while the url says /tips-tricks/ . . .
The navbar was also driving my head nuts, but I now know (or actually think) that it gets a parent/child id and looks up the parents/children and then makes the navbar.
Could someone help me in how to make does url's and/or enlight me with some idea's on how to implement this easily ?
*And since we're in between the holidays, happy holidays everone =]
~Parvus