search for: define_handl

Displaying 1 result from an estimated 1 matches for "define_handl".

Did you mean: define_handler
2006 May 22
2
Creating a new gallery layout
...ase directory. o copy plugins/gallerylayouters/default.rb in foobar.rb and make appropriate modifications. For simplicity, lets say my class looks thus: require ''webgen/plugins/gallerylayouters/default'' module GalleryLayouters class Foobar < DefaultGalleryLayouter define_handler ''layout'' register_layout ''foobar'' end end (yes, I tried filling in the main, gallery and image methods. Same results) o I create a file my.gallery under src/: title: Gallery files: gallery/**/*.jpg imagesPerPage: 16 layout: "foobar" mai...