Profile

Cover photo
Michael Carper
Works at DataSphere
Attended University of Southern California
Lives in Bellevue WA
83 followers|7,251 views
AboutPostsPhotosYouTube

Stream

Michael Carper

Shared publicly  - 
 
 
We had a great time at #devsigner this weekend. The sessions were rad... The people were radder (is that a word?) super thanks to Mike Carper for showing us some amazing Drupal optimization tips!!! Game changer! #drupal
1
Add a comment...

Michael Carper

Shared publicly  - 
1
1
Glen White's profile photoLee Adams's profile photo
 
Haha too cool!!
Add a comment...

Michael Carper

Shared publicly  - 
1
Glen White's profile photo
 
Sweet!
Add a comment...
In his circles
103 people
Have him in circles
83 people
Tanner Wendell Stewart's profile photo
Elijah Lynn's profile photo
Erik Willis's profile photo
Chuck Skoda's profile photo
Vanessa Garey's profile photo
Darryl Norris's profile photo
Sean Novak's profile photo
Craig Kelly's profile photo
Morgan Farrell's profile photo

Michael Carper

commented on a video on YouTube.
Shared publicly  - 
 
Couple of additional tips:
https://drupal.org/project/advagg/ - CSS/JS
https://groups.drupal.org/node/415883 - Fixes for MySQL Deadlocks in D7
1
Talking Drupal's profile photoPairodime's profile photoMichael Carper's profile photo
3 comments
 
+Pairodime Glad to hear you liked my session http://goo.gl/30yi39. I enjoyed hanging out with Dan; we had fun playing pool.
Add a comment...

Michael Carper

Shared publicly  - 
1
Add a comment...

Michael Carper

Shared publicly  - 
1
Chuck Skoda's profile photo
 
Hilarious, they've got pretty good timing!
Add a comment...

Michael Carper

Shared publicly  - 
 
Here are the slides from my presentation at NYPHP on STUPID vs SOLID development. Click through to see the slides. Or View Full Screen. Posted by Anthony Ferrara at 5/22/2012 06:00:00 PM · Email ThisB...
1
Add a comment...

Michael Carper

Shared publicly  - 
 
Drupal 7 Tip of the week:

hook form altering the node form. When hiding all of the options available in the vertical tabs section adding this bit of code to the end will hide the vertical tabs section if there are none to display.


// Hide Authoring information.
// Hide Publishing options.
$form['author']['name'][' #access '] = FALSE;
$form['author']['date'][' #access '] = FALSE;
$form['options'][' #access '] = FALSE;
$form['options']['status'][' #access '] = FALSE;

// Add inline JS to remove the Authoring information and Publishing options
// vertical tabs.
$hide_tabs = '
<script type="text/javascript">
<!--//--><![CDATA[//><!--' . "
(function ($) {
$(document).ready(function() {
jQuery('.vertical-tab-button strong:contains(Authoring information)').parents('li').hide();
jQuery('.vertical-tab-button strong:contains(Publishing options)').parents('li').hide();
jQuery(' #edit -status').parents('fieldset').hide();
jQuery(' #edit -name').parents('fieldset').hide();
});
}(jQuery));
//--><!]]>
</script>";
$form['my_alterforms_js'] = array(
' #type ' => 'markup',
' #markup ' => $hide_tabs,
);
}

// Remove vertical tabs if there is nothing to display.
$fix_vertical_tabs = '
<script type="text/javascript">
<!--//--><![CDATA[//><!--' . "
(function ($) {
$(document).ready(function() {
jQuery('.vertical-tabs-list').each(function() {
if ($(this).children('li:visible').length == 0) {
$(this).parent('.vertical-tabs').hide();
}
});
});
}(jQuery));
//--><!]]>
</script>";
$form['my_fix_vertical_tabs'] = array(
' #type ' => 'markup',
' #markup ' => $fix_vertical_tabs,
);
Perform alterations before a form is rendered. One popular use of this hook is to add form elements to the node form. When altering a node form, the node object can be accessed at $form['#node&#39...
1
Add a comment...
People
In his circles
103 people
Have him in circles
83 people
Tanner Wendell Stewart's profile photo
Elijah Lynn's profile photo
Erik Willis's profile photo
Chuck Skoda's profile photo
Vanessa Garey's profile photo
Darryl Norris's profile photo
Sean Novak's profile photo
Craig Kelly's profile photo
Morgan Farrell's profile photo
Work
Occupation
Computer Programmer
Skills
Web Preformance
Employment
  • DataSphere
    Software Design Engineer, 2009 - present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Bellevue WA
Previously
Mercer Island WA - Los Angeles CA
Story
Tagline
Drupal Dev
Introduction
Day job is Drupal. Freetime I like to go surfing & snow skiing.
Education
  • University of Southern California
    ISE, 2002 - 2007
Basic Information
Gender
Male
Looking for
Friends, Networking
Relationship
Married
Other names
mikeytown2