• RESUME
  • LOGIN

balanced scale media

  • blog
  • projects
  • services
  • contact
Home › Monthly archive

January 2012

Generate Word Documents With PHP

boz — Sun, 01/29/2012 - 16:45

It turns out you have to do a lot of digging online to find some quality solutions for generating Microsoft Word documents in PHP. Both of these products have their quirks, but its usually all in how you setup your template. PHP Word http://phpword.codeplex.com/ This is a nice PHP library for updating doc and docx documents.
  • PHP
  • boz's blog
  • 2 comments
  • Read more

Delete CCK Inactive Fields

boz — Sat, 01/28/2012 - 07:08

Inactive fields occur when active fields controlled by a feature are deleted from the feature and the feature is reverted on a database where the fields deleted are currently active. Here's how to delete them.
$fieldname = "";
 db_query('DELETE FROM {content_node_field} WHERE field_name = "%s"', $fieldname);
 db_query('DELETE FROM {content_node_field_instance} WHERE field_name = "%s"', $fieldname);
  • Drupal
  • boz's blog
  • Add new comment

Recent Posts

  • Backbone.js Resources
  • Generate Word Documents With PHP
  • Delete CCK Inactive Fields
  • Delete Nodes From A Certain Date in Drupal
  • Automated Node Titles Without Auto Node Title
  • Drupal Camp Iowa Ajax Example
  • Get Paid To Learn Drupal!
  • Presenting "JavaScript Guidelines : When and When Not to Script"
  • Drupal Form Alter on a Node Reference Widget
  • The Paradox Of Drupal
more

Topics

  • Android
  • Apace
  • Aptana
  • Backbone.js
  • Bazaar
  • Browser
  • Code
  • Drupal
  • Eclipse
  • Flex

Archive

  • February 2008 (1)
  • May 2008 (1)
  • July 2008 (3)
  • December 2008 (2)
  • January 2009 (2)
  • March 2009 (3)
  • April 2009 (5)
  • May 2009 (1)
  • July 2009 (1)
  • August 2009 (3)
more

Links

 

  • blog
  • projects
  • services
  • contact

© 2012 Balanced Scale Media, LLC. All Rights Reserved.