Web Development
So I'm not great at PHP. I don't really understand Drupal hooks all that well, but I have been wanting to work on a module for a while now. So I took on the project of making a module that connects drupal with TeamworkPM, which is our task management system we use.
My files are teamwork.info, teamwork.module, teamwork.rules.inc, and teamwork.install. I am going to show how I set up the admin settings in this blog
Admin Settings Form
Originally i was using drupal's admin form system_settings_form for the settings, whcih was easy to set up, and used set_variable for the API key and the Company name which I can than grab using get_variable. I had to change this later though, because I wanted each user to be able to enter their own API key and Company name. So I had to add a table in the database, then populate that table with the form values using db_insert. I can then grab those values using db_query. Here is my code:
Like most people, I started doing business with GoDaddy a long time ago, when I first started registering Domain names. Actually, my first domain—sliker.com in 1997—was done through Network Solutions, who I think had a monopoly back then. But like most people, when GoDaddy came out with $9.99 domains it was irresistible. Since then I have had hundreds of domain registrations and renewals at GoDaddy, and two different hosting accounts for my various customer sites and my own Web properties.
One of the challenges of building a large Web site is getting the technical people to work with the graphic design and marketing people. The city of Columbia, SC recently experienced this exact problem when the technical department unveiled their $107,000 web site just days before the marketing department was planning to launch their own $10,000 redesign of the site.