<?php
function mymodule_form_alter(&$form$form_state$form_id)  {

Bootstrap style Quicktabs in Drupal



Got the Drupal Bootstrat theme installed and looking to get "bootstrat" style QuickTabs? Edit template.php and add:



Using the MailChimp PHP API and the FIlemaker plugin SmartPill, which enables you to execute php from within a FIlemaker database, I was able to syncronize data between a FM database and a MailChimp list.

Just launched the new buscarello.com



Drupal image styles (formerly image cache) and image quality issues



Most people with image style quality issues look to the "JPEG Qaulity" setting (admin/config/media/image-toolkit in Drupal 7).

Announcing athletics.cgps.org



Just finished my newest Drupal 7 microsite for Columbia Grammar and Prep School. Sports schedules, game scores, news, photo galleries and more! Check it out at http://athletics.cgps.org/

Some Hurricane Sandy Photos From Across The Web



Dear Crash Course Team



I was genuinely sad when I learned today that Crash Course World History was approaching its final episode. Your videos have been without a doubt one of the highlights of my week. Your combination of poignant, witty, informative, and multi-dimensional writing, great editing, wonderful graphics and an entertaining host have helped me know even more about the fascinating history of the world I live in.

Apple Software Update Server 10.8 URL



The software update server in Mountain Lion (10.8) works and can serve updates to older clients. (See: Software Update Service compatibility)

However, Apple's documentation and KB articles containing conflicting information about what the URL should be. 

I got my 10.8 server to provide updates to my 10.6 clients at

Auto configure Mac airport (wireless) settings from the command line



These are the settings we use on school owned laptops used exclusively on our campus.

I ♥ Drupal 7



Wow, I just finished a new website http://mindthegapbook.com powered by drupal 7 + adaptivethemes + ubercart 3. They make an amazing, flexible, and powerful team!




  <?php
  add_action
('wp_network_dashboard_setup''my_custom_network_dashboard_widgets');

  function 
my_custom_network_dashboard_widgets() {

School shuns Apple servers for Windows



For a self-described "Mac person" working as a technology manager in a college preparatory school that had been a "Mac school" for as long as he could remember, it was a hard thing to have to face but he said it out loud: "Apple never took enterprise computing seriously," says a somewhat disillusioned Adam Gerson



Centrify Corporation, the leading provider of security and compliance solutions that centrally control, secure and audit access to cross-platform systems and applications using Active Directory, today announced that the Columbia Grammar and Preparatory School (Columbia Prep) is leveraging its Centrify Suite solution to centralize all security and policy controls for its growing Macintosh student and faculty user populations.

PHP LDAP Bind Authentication With Active Directory



<?php
$ldapserver 
'ldap://dc.name.domain/';
$ds=ldap_connect($ldapserver);

Living the Dream: Mac Clients Powered by WIndows Servers



Last week I presented at the 2011 NYSAIS Education and Information Technology Conference.

Quota Monitor Menu and Windows/Extreme Zip Quotas



Quotas on Windows/Extreme Zip have to be set up very specifically for Quota Monitor Menu to work. Windows Server 2008 introduced a new mechanism for quotas called "The File Server Resource Manager" that does not fully work with the Mac finder. The quotas are enforced but not visually indicated or acessible to Quota Monitor Menu. You have to use the "old style" quotas (right click on the volume ->Properties) and follow these instructions from Group Logic about where in the share hierarchy they are assigned.

The problem is Mac OS X Server.



The problem is Mac OS X Server. The problem is Apple's implementation of AFP and OD. I am an Apple user, stockholder, fanboy, certified system administrator and programmer with over ten years of Mac Server admin experience. So, I don't say this lightly. Apple servers are junk at the enterprise level. AFP as Apple has implemented it is just not stable with a large number of connections. Their own engineers admit to as much if you talk to them candidly. I also find OD to become corrupted and cranky periodically.

RIP Steve Jobs



‎"If you walked into the office of almost any chief executive and asked him or her to describe a favorite font, I’m pretty sure you would be greeted with a blank stare and silence. If you asked Steve Jobs you had better make yourself comfortable: Mr. Jobs was passionate about typography and would have described, in great detail, the intricacies of a single serif..."



It looks like Microsoft Office 2011 when paired with Mac network home directories is still susceptible to random read only documents because of spotlight. In our testing we confirmed conclusively that when the processes was running certain Word documents would open as read only. We fixed this by disabling spotlight indexing on our home folders. You can do this while logged in as the user by having them run an apple script or terminal command:

Go Neat Patch or Go Home



I spent the day setting up a new IDF. If you aren't using Neat Path in your network racks you just don't know how sweet life can be.

Quota Monitor Menu 3.0 beta ready for testing



The Situation: You have a Mac OS X Server with network home directories and disk quotas enabled. The Problem: The Mac OS Finder on client machines does not have very good support for warning users they are approaching their file quota limit. They end up all of sudden unable to save files with little or no explanation as to why.

Server Admin Debug Menu



While troubleshooting an issue with a setting in Server Admin not sticking I discovered its "Debug Menu". Apple has a habit of hiding useful menus like this in applications like Safari. To enable the menu read on...

Did some minor testing, got my name in the Chromium source code



Chromium has a Javascript library for detecting orientation in devices like phones, tablets and laptops that have accelerometers. I ran into an engineer at a meeting who needed some help testing this library on a specific Mac laptop that I had access to. Unfortunately, I didn't contribute any code, but I did get my name committed to the Chromium source code in a comment.

Simple Blogroll ported to Drupal 7



We have ported the Simple Blogroll module to Drupal 7. I did not write the original code, but I am now the new co-maintainer. You can see an example of it running on this site. This was my first attempt to write a Drupal 7 module and to use the new database APIs. Thanks to the coder module and some good documentation on drupal.org it was a relatively painless and straightforward process. 

taxonomy_node_get_terms_by_vocabulary replacement for drupal 7



taxonomy_node_get_terms_by_vocabulary() is not available in Drupal 7. I discovered this when I tried to install the Tweet Module whose D7 branch still relies on it. I re-wrote the D6 version of the function for D7 which returns the same array of term objects. This should help module maintainers port their D6 modules to D7. If there is a better D7 way to do this please let me know in the comments.

The Minecraft Teacher



A computer teacher has fallen in love with Minecraft. That in and of itself is not that abnormal. Many people feel strongly about this game and its cutting edge approach to free form gaming and world building. It has inspired music videos, documentaries and a very active and loyal fan base.



<?php
      $image_uri 
$node->field_image['und'][0]['file']['uri'];
      
$image_url_with_style image_style_url('square_thumbnail',$image_uri);
      echo 
'<img src="'.$image_url_with_style.'">';
?>

Send Email Example for Cocoa



This example Xcode project shows how to send an email from within a Cocoa application. It does not require that the user have any mail client configured. It requires you to specify a mail server and account to use in the code.

Technology Choices in Our Community



We sent report cards home electronically last week. The parents receive an email with a code and then log into a special section of our website. It provides us with a unique opportunity to get a complete snapshot of the technology our parents are using. These graphs were generated from our web server logs for the 48 hours following the emails being sent out. Only logs related to the the report card section of our website were used. This set should contain only our parents, and it should contain at least one entry for every family in the school.

Subscribe to agerson.net RSS
© 2011 Adam Gerson.