| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2008-11-06 | Break header/sidebar/footer out into separate templates. | Bharat Mediratta | |
| 2008-11-06 | Change the theming module again, per a discussion with Chad and Jakob. | Bharat Mediratta | |
| Now we have an overall page layout (page.html.php) which has a $content variable, and that $content will be one of several possible secondary views. Currently, it is either photo.html.php or album.html.php. header, footer, breadcrumb, sidebar, anything common to all pages is in page.html.php. | |||
| 2008-11-05 | Add the photo controller, and tie it to the photo page in our theme. | Bharat Mediratta | |
| Implement a real breadcrumb. | |||
| 2008-11-04 | Add a test to detect tabs in our code, and convert all tabs to spaces | Bharat Mediratta | |
| so that the test passes. | |||
| 2008-11-04 | Restructure the theme code to be more like WordPress / Habari. Now, | Bharat Mediratta | |
| the controller initiates a request to a top level page (eg: album.html.php) which is then free to include whatever other page chunks it wants with calls like <?= $theme->display('header.html') ?> Variables like $item and $children are in the global space for all views. theme.php helper is now Theme.php library which lets us store the name of the theme inside the variable itself. This means that the theme does not have to know its own name because you can use $theme->url() for all urls to stuff inside the theme itself, which makes it possible to cline a theme without changing a single line. Still using the mock album UI. | |||
