Drupal 8 – Composer: updating, module installs, & external library support notes

This is a set of configuration steps used to setup the requirements for the Tulane Library website using Drupal. PHP-Composer with Bower and NPM integration is used for updating and installing Drupal core, modules, and libraries. Included are procedures, configurations, and websites with information. Prerequisites – May be necessary on the composer system used for… Continue reading Drupal 8 – Composer: updating, module installs, & external library support notes

BP Registration Options 3.0.3 with Fixes for BuddyPress 1.3 – Trunk

Just posting some modifications made to get the BP Registration Options 3.0.3 plugin working with WordPress 3.2-trunk and BuddyPress 1.3-trunk that I needed for a current project. This was only tested on a WordPress multi-site network with BuddyPress and using sub-domain mapping, so my modifications may not fix everything for you. I also did not… Continue reading BP Registration Options 3.0.3 with Fixes for BuddyPress 1.3 – Trunk

WordPress 3.0 Ajax Notes

Collecting up some WordPress 3.0 and Ajax notes. Nice round look at current state of Ajax and WordPress: http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/ Here’s the WordPress Trac discussion for implementation in WordPress 3.0: http://core.trac.wordpress.org/ticket/12400

WP Super Edit & Some WordPress TinyMCE Notes

Discussion on wp-hackers centering around a simpler api for creating simple buttons. Otto: There’s an example to add a quick button to TinyMCE at: http://tinymce.moxiecode.com/examples/example_20.php To do this in a WP plugin, you’d hook to mce_buttons_2 (or 3, or 4) to add your button to the list. Then you’d hook up a filter on tiny_mce_before_init… Continue reading WP Super Edit & Some WordPress TinyMCE Notes

Fixing The WordPress.com Custom CSS Plugin

That plugin is custom to WordPress.com, so it’s not really for wide usage yet. But I did find these notes for WPMU usage: I needed to do two things to make it work: On line 131 change is_int() to is_numeric(): if ( is_numeric( $blog_id ) ) { switch_to_blog( $blog_id ); $current_plugins = apply_filters( ‘active_plugins’, get_option(… Continue reading Fixing The WordPress.com Custom CSS Plugin

Revisiting My Really boring HTML & XML tag function for PHP

I’ve made some changes to the utility function I use for HTML and XML tag output. PHP is already a useful template language, but sometimes I run into places where I need to manipulate tags or output large amounts of HTML or XML tagged information. I looked everywhere for a simple function and ended up… Continue reading Revisiting My Really boring HTML & XML tag function for PHP