Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Need some help on creating a theme

edited February 2007 in Vanilla 1.0 Help
Hello. I'm trying to create a Vanilla theme to integrate the forum into my website, but unfortunately I'm not that great at coding PHP - I can do a few simple things though, just point me in the right direction. First of all, the forum can't be any wider than 600px, therefore I need the panel (on the left) to go to the bottom of the page. Could anyone explain to me how I can move it there? Second, I want to have the menu (tabs) visible on the on the login page. I've tried copying the contents of the menu file into the banner file (which the login page uses, if I'm correct), but that only results in parse errors. I appreciate any help! Thanks in advance.

Comments

  • You dont really need to be too familiar with PHP to make a theme. All the necessary PHP code is in the theme files in chunks so just work round it. To move the panel about you'd need to be editing /themes/panel.php and probably do some css work. Adding stuff to login pages is a little more complex because (I think) the menu class isnt instantiated in the people files. There's probably a way to sort that out but one alternative idea would be to include() people.php into a template of your own (I know very little about the rules of xhtml/validation etc and there may be a number of reasons why that's a bad idea)
  • Thanks for your reply! I've managed to move the panel to the bottom of the page using some code from the VanillaSky theme by Jazzman.
This discussion has been closed.