1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/themes/three_nids
Bharat Mediratta 1a0dc96e77 First pass at upgrading contrib code to the Kohana 2.4 standards.
Here's a summary of the changes I made:

1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator.  So
   ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
   value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build()  (and there are some other
   subtle differences, like now you always call execute() at the end
   of the chain)
6) form::close() and form::close_fieldset() are now gone.  Use
   </form> and </fieldset> respectively.
7) Controller::$input is gone.  Use Input::instance() instead.

I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
..
admin/helpers Roll the administration controller and view into an event listener in 2009-11-29 12:41:18 -08:00
controllers First pass at upgrading contrib code to the Kohana 2.4 standards. 2009-12-22 21:31:03 -08:00
css Rename 3nids to three_nids so that we can use the theme name as an 2009-11-27 16:21:55 -08:00
helpers First pass at upgrading contrib code to the Kohana 2.4 standards. 2009-12-22 21:31:03 -08:00
images Rename 3nids to three_nids so that we can use the theme name as an 2009-11-27 16:21:55 -08:00
js Rename 3nids to three_nids so that we can use the theme name as an 2009-11-27 16:21:55 -08:00
views Move admin related controllers, views and helpers into the admin 2009-11-28 23:30:33 -08:00
README Updated. 2009-11-29 12:44:49 -08:00
theme.info Rename 3nids to three_nids so that we can use the theme name as an 2009-11-27 16:21:55 -08:00
thumbnail.png Rename 3nids to three_nids so that we can use the theme name as an 2009-11-27 16:21:55 -08:00

This is a theme for gallery3.
It uses jquery lightbox slideshow (fancybox) to display images.

*********
Demo @ http://gallery.3nids.ch

*********
Requirements:
- Gallery 3 last experimental version @ http://github.com/gallery/gallery3
- Tag and tagsmap modules activated (optional)

*********
Installation:

1. Copy the theme folder (three_nids) into gallery3/themes directory.
2. Copy the tagsmap module into the gallery3/modules folder.
3. Activate tagsmap module and three_nids theme.

*********
Configuration:
Go to Admin -> Appearance -> Theme Options to configure the theme properly.

*********
Use:
This theme displays full size images. So be carefull to upload not too large images!
The theme optionally uses the tagsmap module.

For advanced users:
If you want to separate geotag from others, name those with the "map." prefix., the "map." prefix will not be displayed on the map.
If you want to remove the prefix in the tag cloud sidebar, wou will have to update in gallery3/modules/tag/helpers/tag.php the popular_tags function:
  static function popular_tags($count) {
    return ORM::factory("tag")
      ->orderby("count", "DESC")
      ->notregex("name","map\.")
      ->limit($count)
      ->find_all();
  }