diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-11-17 13:42:51 -0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-17 14:04:45 -0800 |
| commit | 1067e68292852f524fceda4c6cf7cd5f7110b234 (patch) | |
| tree | b42d9d2814a4a96bbdc63b5280cc22572402c0bb /modules/gallery/controllers/movies.php | |
| parent | ade642cff4a4ca810f468723b04efc6f229916d8 (diff) | |
Redesign the way that we consider page types to create buckets of page
types, and a subtype for specifics. Currently the top level bucket
collection, item, other
Here are the core subtypes so far:
collection: album, search, tag
item: movie, photo
other: login, reset, comment-fragment, comment
It's legal to create new page_subtypes whenever you want. Use the
appropriate page_type to get the coarse grain behavior that you want.
Diffstat (limited to 'modules/gallery/controllers/movies.php')
| -rw-r--r-- | modules/gallery/controllers/movies.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/movies.php b/modules/gallery/controllers/movies.php index 5e78376b..2e2e837c 100644 --- a/modules/gallery/controllers/movies.php +++ b/modules/gallery/controllers/movies.php @@ -35,7 +35,7 @@ class Movies_Controller extends Items_Controller { list ($next_item) = $movie->parent()->viewable()->children(1, $position, $where); } - $template = new Theme_View("page.html", "movie"); + $template = new Theme_View("page.html", "item", "movie"); $template->set_global("item", $movie); $template->set_global("children", array()); $template->set_global("children_count", 0); |
