GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Open source Rails-based content management that works.
Clone URL: git://github.com/knewter/ansuz.git
ansuz /
name age message
file .gitignore Sun Nov 23 19:27:22 -0800 2008 updated page controls to use famfamfam icons [Josh Adams]
file CHANGELOG Thu Nov 13 19:11:48 -0800 2008 added CHANGELOG [Josh Adams]
file CONTRIBUTORS Sat Sep 20 14:00:53 -0700 2008 updated CONTRIBUTORS [Josh Adams]
file COPYING Fri Nov 14 11:39:18 -0800 2008 fixed a bug in the page metadata stuff I did [Josh Adams]
file Capfile Sat Sep 06 18:51:55 -0700 2008 added deploy script [Josh Adams]
file README Tue Nov 18 21:31:56 -0800 2008 added versioning to the content sections plugin... [Josh Adams]
file README.plugins Sun Oct 26 19:45:47 -0700 2008 added multiple content type page addition to in... [Josh Adams]
file Rakefile Tue Aug 19 20:25:23 -0700 2008 checked in a base rails app [Josh Adams]
file VERSION Sun Nov 23 11:51:39 -0800 2008 tagging v0.0.5 [Josh Adams]
directory app/ Wed Dec 03 19:21:08 -0800 2008 added basic workflow email stuff [Josh Adams]
directory base_images/ Fri Nov 21 17:57:01 -0800 2008 added page layout examples [Josh Adams]
directory config/ Wed Dec 03 19:21:08 -0800 2008 added basic workflow email stuff [Josh Adams]
directory db/ Mon Dec 01 20:17:59 -0800 2008 added edit links [Josh Adams]
directory doc/ Tue Aug 19 20:25:23 -0700 2008 checked in a base rails app [Josh Adams]
directory lib/ Sun Nov 23 12:29:51 -0800 2008 meh, more work on the mailer inhibitor thingie [Josh Adams]
directory public/ Sun Nov 23 19:27:22 -0800 2008 updated page controls to use famfamfam icons [Josh Adams]
directory script/ Fri Aug 22 18:32:55 -0700 2008 [ARCH] Imported rspec/rspec-rails 1.1.4 [Ho-Sheng Hsiao]
directory spec/ Sat Sep 20 12:47:13 -0700 2008 Changed the values for the boolean fields (link... [Ernest Ellingson]
directory stories/ Fri Aug 22 18:32:55 -0700 2008 [ARCH] Imported rspec/rspec-rails 1.1.4 [Ho-Sheng Hsiao]
directory test/ Sun Nov 23 11:32:21 -0800 2008 added workflow to pages [Josh Adams]
directory themes/ Tue Nov 18 21:31:56 -0800 2008 added versioning to the content sections plugin... [Josh Adams]
directory vendor/ Sun Nov 23 14:39:26 -0800 2008 fixed bug where new user roles weren't being set. [Josh Adams]
README.plugins
== Things you might care about when writing plugins for ansuz ==

The API is currently a mess, full of poorly named things.  This will change, and invariably break backwards 
compatibility.  This is one of many reasons that ansuz is not in a high release number yet.  Having said that, I'm the 
only person I'm currently aware of that has written plugins for ansuz, so it's not like it's THAT inappropriate of me, 
and if you'll email me (josh at isotope11 dot com) I'll help you port any plugins you happen to write during this time 
of instability.  It's totally usable.  Just weird, inconsistent, and incomplete.

1) register_plugin(klass) will register a page plugin by its main container class.  This will enable a user to add your 
page plugin to a page.
2) register_plugin_nav( title, link ) will register a link for the user-facing nav menu
3) register_admin_menu_entry( section, title, link ) will register a link for the admin-facing nav menu in a given 
section.  This is how you add bits to the admin interface for managing your plugin.
3) add_top_level_menu_entry( name ) will register a link for the admin-facing nav menu in a given section.  This is how 
you add bits to the admin interface for managing your plugin.
4) add_page_type(name, array_of_plugin_names_as_strings) will register a new page type for the add page button in manage 
pages.