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.
How to build entire new pages...
Minisweeper
New
Can someone (mark? lech?) give us all a quick idea how to build an entire new page? Adding tabs and stuff seems pretty easy but the desire to build entire pages seems to be growing.
What is the process for doing so? I figure if we can try and keep it all in here it'd make an easier reference - perhaps adding it to the wiki would be a good idea; unless its already there and i've missed it in which case i'd be greatful for a link.
0
This discussion has been closed.
Comments
If you want a better understanding of what happens as the page is processed, check out the wiki
Sorry to be so brief. I'm packing for a trip tmw morning.
I used the "Users" tab extension, changed it to reflect my new page. So if I wanted to drop the page from the list all I have to do is disable that particular extension, and whalla, it wont show up in the nav links. But the page is still there.
I copied the categories.php in the root dir, and had to do the same in the control dir. Changed a few lines in the root page to what I wanted my new page to be (styles), and then in the control page is where I added what actually shows up on the page.
Head over to my site (seems like I am always shamelessly pluggin my site), and you'll see it. I can post the files I modified in a txt format if you want to check it out. Just say so.
All in all:
- copy/rename/edit root/categories.php
- copy/rename/edit controls/categories.php
- copy/rename/edit the userstab extension
Im sure there is a better/cleaner way, this is just how I figured out how to do it. So if anyone knows of a better/cleaner approach, please share!1. NewPageTabMenu.php (extension)
2. NewPage.php (root dir)
3. NewPage.php (controls dir)
Replace any text that says "NewPage". Some (most, if not all) of the items are case sensitive.