Topic: editing HTML

what file do i edit to add a link to the list of main links on the forum. ie home, user, rules, etc...i tried opening up index.php in DW but it didnt show the code for that part.

Thanks,

2

Re: editing HTML

The main navigation links are generated by a function called generate_navlinks which is in the functions.php file. I think it starts on line 175.

Re: editing HTML

You could also add it to main.tpl in include/template.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: editing HTML

Thanks, I fixed it by editing the functions.php file. I could not figure out the main.tpl file.  In the common lang. thing, can you not have spaces in between words. I tried giving a link a name that contained two words and it didnt show up in the browser. When i changed the name to just one word for the link, it came up fine.

Re: editing HTML

Yes, you can have spaces in between words in the lang files. I'm not sure I understand what you mean.

"Programming is like sex: one mistake and you have to support it for the rest of your life."