From e6011f3aaebbc258332523be7b82df9ee359e2dc Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 9 Jul 2013 22:15:43 +0200 Subject: [PATCH] Rewritten "extend cms" docs (#1671) Hopefully this commit can be reverted once we fix the layout manager to work with all four directions (north, south, east, west). A "bookmark bar" makes more sense as an example than having the links in the menu, and it allows us to illustrate the CMS layout techniques. --- docs/en/howto/extend-cms-interface.md | 58 +++++++++++---------------- 1 file changed, 24 insertions(+), 34 deletions(-) diff --git a/docs/en/howto/extend-cms-interface.md b/docs/en/howto/extend-cms-interface.md index 9001b971f..04622316e 100644 --- a/docs/en/howto/extend-cms-interface.md +++ b/docs/en/howto/extend-cms-interface.md @@ -6,8 +6,8 @@ The CMS interface works just like any other part of your website: It consists of PHP controllers, templates, CSS stylesheets and JavaScript. Because it uses the same base elements, it is relatively easy to extend. -As an example, we're going to add a permanent "bookmarks" bar to popular pages -at the bottom of the CMS. A page can be bookmarked by a CMS author through a +As an example, we're going to add a permanent "bookmarks" link list to popular pages +into the main CMS menu. A page can be bookmarked by a CMS author through a simple checkbox. For a deeper introduction to the inner workings of the CMS, please refer to our @@ -24,48 +24,35 @@ the common `Page` object (a new PHP class `MyPage` will look for a `MyPage.ss` t We can use this to create a different base template with `LeftAndMain.ss` (which corresponds to the `LeftAndMain` PHP controller class). -Copy the template markup of the base implementation at `framework/admin/templates/LeftAndMain.ss` -into `mysite/templates/LeftAndMain.ss`. It will automatically be picked up by -the CMS logic. Add a new section after the `$Content` tag: +Copy the template markup of the base implementation at `framework/admin/templates/Includes/LeftAndMain_Menu.ss` +into `mysite/templates/Includes/LeftAndMain_Menu.ss`. It will automatically be picked up by +the CMS logic. Add a new section into the `