Articles by Michael Phillips

  • Prepopulate your Raw Infusionsoft Form with data from URL Parameters

    So you have an infusionsoft for you want to prepopulate with data from url parameters.  Because you are using a raw html version of the infusionsoft form code, you need some additional javascript to pull the parameters from the url and insert into the appropriate fields. Just put this code underneath your infusionsoft form, and you […]

    READ MORE
  • Virtual Reality Desktop

    Virtual Desktop is an application developed for the Oculus Rift and HTC Vive that lets you use your computer in VR. You can browse the web, watch movies, Netflix or even play games on a giant virtual screen. It looks a-maze-ing BUT, I have my concerns. I won’t lie.  The idea of being fully immersed […]

    READ MORE
  • Javascript form submit interceptor

    Michael Phipps Explorer of the Digital Frontier.

    READ MORE
  • My Star Wars Shoes

    Just ordered a custom pair of shoes from Spread Shoes.

    READ MORE
  • 4 CSS Tools to make your life easier

    Being a web coder, one of the challenges I like to set myself is to see how much of the design stuff on a web page I can do in code. Here are some of the tools I use to Ultimate CSS Gradient Generator Using a subtle gradient on a webpage that has a flat […]

    READ MORE
  • How to use Post Status Transition in your WordPress Plugins

    Bit of background.  A while ago, I wrote a plugin to send out an email to contributors when their post went from pending to published, to remind them to promote it. But recently, it stopped working. I was using code that looked a bit like this:   function mda_dn_transition_post_status($new_status, $old_status, $post) { if (‘publish’ == […]

    READ MORE
  • Google Analytics Tracking – Events

    https://developers.google.com/analytics/devguides/collection/gajs/eventT… https://developers.google.com/analytics/devguides/collection/gajs/asyncM… https://developers.google.com/analytics/devguides/collection/gajs/gaTrac…  

    READ MORE
  • How to Modify Drupal Ubercart ‘Add To Cart’ button to ‘Out of Stock’

    Out of the box, Ubercart handles Out Of Stock situations very poorly.  Here’s how to modify the “Add to cart” button to “Out of stock” when you are out of stock of a particular item. There are two versions of code for this solution.  One for Drupal 6 and one for Drupal 7.  In both […]

    READ MORE
  • How to Add a Custom Filter to Twig Templates in Slim 3

    {{ ‘bruce banner’|angry }} Gotta love a good filter.  Documentation on how to add filters to Twig in Slim 3 is sparse at the moment, and it’s changed from Slim 2.   You can actually do it in one line: $view-getEnvironment()-addFilter($filter); But that code isn’t particularly useful without context, so here is a full sample, based on […]

    READ MORE
  • How can I add a custom filter to my Twig templates inside of Slim 3?

    {{ ‘bruce banner’|angry }} Gotta love a good filter.  Documentation on how to add filters to Twig in Slim 3 is sparse at the moment, and it’s changed from Slim 2.   You can actually do it in one line: $view-getEnvironment()-addFilter($filter); But that code isn’t particularly useful without context, so here is a full sample, based on […]

    READ MORE
  • Twig Vs Moustache! How to make Twig and Moustache play together nicely.

    You like Moustache/handlebars for your javascript apps, but you like to use Twig for your templates. Both use the same markup system for variables, namely {{variable}}. When I was researching the solution, I found this little gem. {{“{{variable}}”}} which is rendered as {{variable}} without Twig replacing the variable.  But it makes your code awful to […]

    READ MORE
  • February Shadow

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis euismod mollis. Morbi sem sem, egestas non imperdiet eget, malesuada non lectus. Cras in eros in massa rhoncus eleifend. Suspendisse rutrum augue nec ipsum aliquam.  Neque Porro Quisquam est Qui Dolorem Ipsum Sed ac nibh eget nisl molestie bibendum. Nam sagittis consectetur turpis et ultrices. […]

    READ MORE
  • Simply Dummy Text

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis euismod mollis. Morbi sem sem, egestas non imperdiet eget, malesuada non lectus. Cras in eros in massa rhoncus eleifend. Suspendisse rutrum augue nec ipsum aliquam.  Neque Porro Quisquam est Qui Dolorem Ipsum Sed ac nibh eget nisl molestie bibendum. Nam sagittis consectetur turpis et ultrices. […]

    READ MORE
  • A Gallery Post Format

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis euismod mollis. Morbi sem sem, egestas non imperdiet eget, malesuada non lectus. Cras in eros in massa rhoncus eleifend. Suspendisse rutrum augue nec ipsum aliquam.  Neque Porro Quisquam est Qui Dolorem Ipsum Sed ac nibh eget nisl molestie bibendum. Nam sagittis consectetur turpis et ultrices. […]

    READ MORE
  • Status Update

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis euismod mollis. Morbi sem sem, egestas non imperdiet eget, malesuada non lectus. Cras in eros in massa rhoncus eleifend. Suspendisse rutrum augue nec ipsum aliquam.

    READ MORE
  • Morning Dew with Bokeh

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam convallis euismod mollis. Morbi sem sem, egestas non imperdiet eget, malesuada non lectus. Cras in eros in massa rhoncus eleifend. Suspendisse rutrum augue nec ipsum aliquam.  Neque Porro Quisquam est Qui Dolorem Ipsum Sed ac nibh eget nisl molestie bibendum. Nam sagittis consectetur turpis et ultrices. […]

    READ MORE
  • How To Send SMTP Emails Via a Gmail Account Protected by 2-Factor Authentication (2FA)

    Want to use an email client to access a gmail account protected by 2-factor authentication? You need to make sure your Google account recognizes your email client as an “authorized device” (My use case is sending my wordpress emails via gmail). To do this, go to your two-step verification page: https://accounts.google.com/b/0/SmsAuthConfig and click “Manage application-specific […]

    READ MORE
  • Using jQuery in Optimize Press 2

    this is rubbish

    READ MORE
  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

    READ MORE
  • I never look back darling! It distracts from the now.

    I never look back darling! It distracts from the now.

    READ MORE