Reason Developer Notebook
Added news2_mini and news2_mini_random modules
February 25, 2006 at 6:38 pmDoing a random news module for international students was going to be a pain in the butt if I extended the existing news_random class, so I made a new news2_mini…
Added 'linking to another page' functionality to the Generic3 module
February 25, 2006 at 6:27 pmA common front-end pattern is a small module which lists a few items from another page. We've done this in a pretty ad-hoc way so far, but I figured we've…
Added news_one_at_a_time module
February 23, 2006 at 6:18 pmI added a news2-based module called news_one_at_a_time. This module presents news item teasers one at a time, with the option to read more or go to the next. It also…
News teaser image
February 22, 2006 at 6:07 pmCreated a new allowable relationship beween News items and Images called news_to_teaser_image. This is a one to many relationship which allows any news item to be associated with a single…
create_relationship error trigger
February 22, 2006 at 3:31 pmThe create_relationship function in admin_actions.php3 provides no indication of whether it succeeded or not, and is perfectly willing to create relationships where entity_a, entity_b, and relationship_type are values such as…
Subject line includes form name on form response e-mails
February 22, 2006 at 2:02 pmE-mails generated by the form module have previously had the subject line "Response to form" - this was causing organizational problems for sites that used multiple online contact forms. As…
Custom previewer for forms added
February 22, 2006 at 9:14 amI've created a custom previewer for Forms because the a) the thor xml is not valid xhtml, b) the tags mimic xhtml, so the browser gets barfy, and c) it's hard to debug a thor form without being able to easily inspect the xml.
Assets with indeterminate extensions get .unk extension
February 14, 2006 at 6:18 pmThe asset content manager will now assign an extension of .unk to uploaded files that do not have an extension or mime type we are able to map to an…
Master Admin listed first on Reason intro page
February 10, 2006 at 6:32 pmthe Master Admin is qualitatively different from all other sites, and I found myself constantly searching for it in the list. So it is now at the top of the…
Archives now grabbed regardless of ownership
February 10, 2006 at 6:26 pmThe script that moves entities from one site to another only changes the ownership of the entity itself, and not its archives. This is dumb and we should fix it.…
Added relationship_name_of to util.php
February 9, 2006 at 10:10 amThe entity selector functions add_right_relationship_field and add_left_relationship_field take the name of an allowable relationship as a parameter, but not the id. I added a utility function to get the name…
Added "override_site_name" parameter to combined_dept_faculty module
February 4, 2006 at 1:32 pmMike Tie noted that the Math dept. listing did not display Russ Petricka, whose title contains Math but not Mathematics. The module was using the name of the site and…