Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bpContents 0.1X Core Code – Dev Sneak Peek


Burt Adsit
Participant

@burtadsit

http://code.ourcommoninterest.org/2009/05/02/bpcontents-01-core-code-dev-sneak-peek/

Changes 0.15

– Added oci_the_tag_cloud() template tag. Accepts the usual wp tag cloud args.

– Added OCI_Item_Group as derived OCI_Item class to enable treating groups as content items. For bagging and tagging.

– Nobody reads this stuff. Small animals are best served raw.

– Added OCI_Item get_from_source() which instantiates an object of type $this->item_type and returns the original source record

and get_source_obj() which is a $this->item_type object factory.

– Added an $args interface to containers. Typical wp args string ‘path=xxx&create=true’ type stuff.

– Dropped OCI_Container::print_tree and added a wp_list_categories like, get_container_tree() with all the wp_list_categories() args.

– Added url parsing interface for containers. Responds to urls for tree node selection. In other words the tag cloud works in the profile.

http://ourcommoninterest.org/downloads/bpcontents015.zip

Skip to toolbar