Garden

Oh LiveWhale, how does your garden grow?

  • Sometimes you might want to test for particular directories or subdirectories on your site. This custom module snippet saves the pieces of the URL in XPHP variables that you can use when creating templates and widgets.

  • A onRSSOutput() handler can be used in a public app to overwrite the RSS output.
  • The “suggest to group” box is really useful, but there are so many groups on most of your installs— and often there’s a single group that gets most of the suggestions (usually the homepage).  This module is called suggest_to, and it adds an extra checkbox above the group select box.  It’s a shortcut to suggest to the specific group of your choice.
  • This module adds a custom “Profile Template” field to the LiveWhale Profile Type editor and uses its value to automatically display profiles of that type in that template.
  • A onLoad() handler can be used in a public app to intercept all RSS requests and override the setting that controls the thumbnail size, before the RSS feed is generated.
  • There are some cases in which customizing a backend LiveWhale interface is necessary, yet the backend does not use Themes and instead depends on core styles and scripts. There is a best practices way to implement a custom script or stylesheet to the backend.
  • In this article we’ll demonstrate how to use a custom app that redirects files tagged as “private” to a .htaccess protected directory for authentication.
  • In this example, I will be demonstrating how you can replace a label in your Events form, such as “Contact info” with a new label using the onOutput() handler.
  • The following steps highlight how to use the javscript plugin, dotdotdot, to shorten content for other areas of your website when the widget formatting is not possible.
  • Want to display an “Edit This Profile” link regardless of login status? You can with this small application module and xphp snippet.
  • Using fail2ban ip filtering to protect your server? This filter will automatically track and reject malicious use of security scanners.
  • Do you find that some site editors are entering summaries well beyond a desirable word length? You can compose a shorter version of the summary, ellipsis in tow, with this small application module.
  • LiveWhale’s PHP-based time defaults giving your AP- or Chicago-style enforcer fits? You can update your time defaults site-wide with this small application module.
  • Interested in removing the ability to toggle comments on or off for everyone but LiveWhale admins? You can with this client module.
  • Interested in placing widget content on your login screen just as you see on this developer site? You can with this client module.
  • Display LiveWhale events via a campus-wide digital display system. All you need is this widget and a few giant TVs running Google Chrome.

  • By adding some simple javascript to your site, you can customize some features of the tag selector that can be added alongside some widgets.

  • Add a table of “office hours” to a faculty/staff profile template using conditional XPHP. The table will only appear if any hours are filled in, but will not appear at all if none are specified.

  • You can use LiveWhale’s built-in feeds widget and a little jQuery to enhance the presentation.

  • It’s easy to add a tabbed interface to any page using LiveWhale blurbs and a simple javascript.

  • Do you use LiveWhale’s public submissions and want to have emails sent to one or more people when submissions arrive? Here’s a client module you can customize to do exactly that.

  • LiveWhale Push is an application module that watches the create, update and deletion of news stories, events and blurbs and when the dynamic content meets tag or location criteria, sends a push notification to subscribed web applications.