August 18th, 2008
So I have been working on a new site and one of the issues that my client wanted was the ability to just add some text to a form right above the submit button.
This all works good until you get into the code and are trying to customize a Drupal form.
So I found this simple solution that I thought I would share:
$form[’yourkey’] = array(
‘#type’ => ‘markup’,
‘#value’ => ‘Here is where your text goes’,
);
So you first have to find the form in your code that you want to customize and then add the above snippet to your code base, type in your text and away you go.
Of course, adding the necessary weight value may be necessary as well, just play around with it until you get the placement that you desire.
A simple solution for sure.
Enjoy!
tags: Drupal author: mike comments: No Comments
May 7th, 2008
I have an earlier version of iTunes that has been on my laptop for a while and I haven’t kept it updated like I should.
So as I was preparing to go out of town, I wanted to upload some videos to my ipod for the plane ride and needed to upgrade the iTunes for my ipod to be attached to my laptop.
Of course iTunes warned me about upgrading before I could do anything.
So after multiple attempts to download and install iTunes, I finally found the answer to the problem and it actually lied with Quicktime (though from what I have read on the web, a similar problem exists with iTunes as well).
Here is what to try:
1. Download the Windows Installer Cleanup Utility
2. Install the program (MS Office not required!)
3. Run the program from Start->All Programs->Windows Install Cleanup Utility
4. Click on iTunes and QuickTime, and then click the “Remove” button
5. Run the iTunes installer!
I hope this helps you if you are having the same problem I was!
Good luck!
tags: General author: mike comments: 1 Comment