Bharat Mediratta
04d4ea27ee
indentation fixes
2008-11-07 08:53:42 +00:00
Chad Kieffer
e0f8541fef
Renamed .minimize to .gMinimize
2008-11-07 07:41:50 +00:00
Bharat Mediratta
81ab478559
move block.html.php into the default theme
2008-11-07 07:37:49 +00:00
Bharat Mediratta
76436c0029
Add automatic pagination. All you have to do is add <?= $theme->pager
...
?> to your theme file and you get a well formed pager. Themes can
customize this any way they want. A version that matches the mockup
is provided in the default theme.
2008-11-07 07:33:43 +00:00
Chad Kieffer
50a9848f38
Updated CSS organization and headings, removed unused styles, added placeholders for a few styles, including gThumbnail. Simplified album grid loop, the thumbnail container markup for albums and items was almost identical, no need to repeat all of it. Switched album grid markup from <div> to <ul>. Updated element nesting in photo template.
2008-11-07 07:31:58 +00:00
Bharat Mediratta
ae359b50e0
Use get_object_vars to simplify code
2008-11-07 07:31:11 +00:00
Bharat Mediratta
936decb437
Add children_count() to ORM_MPTT
2008-11-07 06:46:38 +00:00
Bharat Mediratta
6a1ef44c88
convert tabs -> spaces
2008-11-07 06:44:36 +00:00
Bharat Mediratta
6b5b5ec3a6
Use jquery.cookie to keep the same tab open when you refresh
...
Add a switch to turn profiling on/off
2008-11-07 05:49:45 +00:00
Bharat Mediratta
c526a9cd25
Move default theme up above modules so that it can override module views
2008-11-07 05:04:15 +00:00
Chad Kieffer
7329cb0dde
Added YUI 2.6.0 CSS collection to lib (reset-gonts-grids and base) and call these rather than CDN versions, for now. Renamed default theme's style sheet to screen.css, recommend that CSS files be named for the primary media they support. Removed unused YUI JS component calls from the default theme.
2008-11-07 05:03:00 +00:00
Bharat Mediratta
6f1c46da6e
Oops, these files got left out of r18525.
2008-11-06 10:22:34 +00:00
Bharat Mediratta
93fd448e7e
Break header/sidebar/footer out into separate templates.
2008-11-06 07:24:58 +00:00
Bharat Mediratta
278191dd6d
Change the theming module again, per a discussion with Chad and Jakob.
...
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-06 07:20:06 +00:00
Bharat Mediratta
6cafc61f96
album::set_thumbnail is now part of Item_Model so it can go.
...
Fix a bug in the scaffolding where we weren't saving the album after
adding its thumbnail (so its dimensions weren't getting set).
2008-11-06 05:51:20 +00:00
Bharat Mediratta
d6e942f2e3
Add quick-link to the deepest photo to test hierarchical navigation
2008-11-06 04:56:50 +00:00
Bharat Mediratta
3fe8cd7135
Drop the ? from the base url; we're going to count on Apache PathInfo for navigation.
2008-11-06 04:55:22 +00:00
Chad Kieffer
c4407f7bda
spruce up the display of commands
2008-11-06 04:37:28 +00:00
Bharat Mediratta
cf27982466
When uninstalling the core, uninstall all the other modules first.
...
Otherwise, when you reinstall the other module's tables are still
hanging around and interfere with their install.
2008-11-06 03:58:37 +00:00
Bharat Mediratta
2738d4b6a6
Fix a typo.
2008-11-06 03:55:32 +00:00
Bharat Mediratta
ef4b125796
Uninstall/reinstall modules in the right order and catch exceptions (fixes test failures)
2008-11-06 03:51:30 +00:00
Chris Kelly
c389e22982
doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess
2008-11-05 22:37:48 +00:00
Bharat Mediratta
91a0236f8c
Guard the module loading code against database errors (in case the database isn't configured yet)
2008-11-05 22:29:42 +00:00
Chris Kelly
3d20abcdf0
move short_open_tag setting from .htaccess to ini_set because it works more often and fails more gracefully
2008-11-05 22:20:58 +00:00
Tim Almdal
134bac46d0
add installation unit tests and corrected a problem where the groups_users pivot table was not populated.
2008-11-05 22:10:35 +00:00
Chris Kelly
dbf0fda99b
better instructions/error handling
2008-11-05 21:52:22 +00:00
Tim Almdal
74cefadb19
actually delete the same tables as we createad
2008-11-05 20:42:15 +00:00
Chris Kelly
0493cf4ecd
replaced Feature URLs with new one
2008-11-05 18:32:50 +00:00
Bharat Mediratta
24787b5545
remove tabs
2008-11-05 17:32:59 +00:00
Bharat Mediratta
dcfa725d6a
Adjust gTags style since the <ul> is no longer gBlock, it's on a containing div
2008-11-05 09:58:15 +00:00
Bharat Mediratta
3feb0b288b
Add info section with MPTT graphs
2008-11-05 09:50:20 +00:00
Bharat Mediratta
ae00f73944
* Add thumbnail and resize dimensions to the item table and use them
...
properly in the theme.
* Move thumbnail and resize generation down into the model for
consistency.
* Add a sample thumbnail for albums
* Fix a bug in the ORM to clear the cache when we reload an object.
* Add Kohana docs to the scaffold.
2008-11-05 09:42:47 +00:00
Bharat Mediratta
e35c154414
Style/doc cleanups.
2008-11-05 07:57:59 +00:00
Bharat Mediratta
e44ff9bb60
ORM_MPTT::parents() should not include the node itself.
2008-11-05 07:47:19 +00:00
Bharat Mediratta
d21f3437e6
Add the photo controller, and tie it to the photo page in our theme.
...
Implement a real breadcrumb.
2008-11-05 07:42:52 +00:00
Bharat Mediratta
581e931c43
Change the default theme to actually render what's in the Gallery.
...
Currently only the album view works, albums have no thumbnails, and
there's only 1 image in use.
Improved Item_Model to have the following API methods
file_path() -- returns the path to the source image or album dir
thumbnail_path(), thumbnail_url() -- returns path/url to the thumbnail
resize_path(), resize_url() -- returns path/url to the resize
All tests updated.
2008-11-05 07:13:46 +00:00
Bharat Mediratta
00513a71d2
Report the number of photos/albums
2008-11-05 06:17:35 +00:00
Tim Almdal
772239206b
Rename logon_name to name, name to display_name and remove the external id field
2008-11-05 06:16:47 +00:00
Bharat Mediratta
fd3e21e2fd
Move Google Maps block off into its own gmaps module.
2008-11-05 05:41:19 +00:00
Bharat Mediratta
8e880b4c41
Item Info block is now off into the info module. Yay!
2008-11-05 05:35:47 +00:00
Tim Almdal
3c65b68e1c
The start of the user module. At this point, it shows up on the scaffolding screen and you can install and uninstall it. Which creates the tables, defines 2 groups (adminstrator, registered) and one user (admin).
2008-11-05 05:32:47 +00:00
Bharat Mediratta
a60944e07d
Tags are now off in their own module, hooray!
2008-11-05 05:28:20 +00:00
Bharat Mediratta
b82332192a
The carousel block is now off into its own module. The
...
sidebar.html.php file loops over $theme->blocks() which in turn calls
carousel::block() which uses the Block object to create a standard
block UI. Hooray!
2008-11-05 05:20:20 +00:00
Tim Almdal
f7560a7e8b
Don't overwrite the version number of installed modules when searching for uninstalled modules.
2008-11-05 04:32:58 +00:00
Bharat Mediratta
ffb426be45
Update to latest HTML/CSS
2008-11-05 04:05:53 +00:00
Bharat Mediratta
25bd62f906
Use jQuery magic to make the scaffold look shiny.
2008-11-05 03:26:28 +00:00
Bharat Mediratta
6e0b7f6be1
Add jQuery 1.2.6
2008-11-05 03:24:57 +00:00
Bharat Mediratta
836874ba68
Updated for new MPTT API
2008-11-05 03:24:09 +00:00
Bharat Mediratta
ef0bb33a95
Order the children()
2008-11-05 01:40:41 +00:00
Bharat Mediratta
190b439807
Moved MPTT related tests to ORM_MPTT_Test
2008-11-05 01:39:21 +00:00