3.9. Editing the Skin

You might have started to notice that it's getting a bit annoying to navigate back-and-forth between the list view and edit views. Plus, the default menu across the top is inappropriate for our blog. Let's go ahead and adjust the menu with more useful options.

Open up the skin delegate file for the default skin, at skins/simple/simple_SkinDelegate.php, and edit the mainMenu content to return the following:

            case 'mainMenu':
                return array(
                        'Home' => '/',
                        'All Posts' => WFRequestController::WFURL('blog/search'),

Reload the page, and you'll now see the menu is updated with our new menu options.