Drupal module suggestions
I want to write Drupal module. What suggestions? Any ideas? What module drupal have not?
jQuery .load problem in IE6 and IE7
Recently I have facet a problem with jTip jQuery plugin. The problem caused IE caching system by blocking .load function. It blocks AJAX requests. So to fix this problem, you need to call different URL's every time. The solution for jTip plugin is below.
find this line in jTip.js
$('#JT_copy').load(url);
and replace by this
$('#JT_copy').load(url+'&random=' + Math.random()*99999);
This snippet, add's random number after URL. So URL every time is different
DDBlock default problem
DDblock by default coming with problem when you installing ddblock with exported CCK and Views. There is no picture? Only gray box-background? There is CCK field problem. Basically in template.php preprocess function replace all
node_data_field_image_field_image_fid
function into
node_data_field_pager_item_text_field_image_fid
This should fix the problem!
Windows Mobile GPRS problem
Firstly, I want to say - sorry for long delay. Work, work and work
You have GPRS internet and internet explorer freeze's on Locating phase? Then read this article. Today I will tell how to fix GPRS related Windows Mobile problem when browser freeze on Locating stage of page load.
This problem may occur when you enable WIFI when GPRS is enabled. It is DNS related problem. Also the problem may occur when system does wrong caching. The problem can be fixed with adding/changing DNS servers in your Windows Mobile connection settings. If you don't know your DNS addresses use Open DNS servers. Follow this steps to fix the problem.
1. Go to Start->Settings, open Connections tab.
2. Open connections app, go to Manage existing connections, choose network, and click on edit.
3. Next(2 times), open Advanced, then go to Servers tab.
4. Change the setting to "Use specific server address"
5. For example we will use OpenDNS.com servers. Add the 208.67.222.222 in DNS field, and 208.67.220.220 in Alt. DNS field.
6. Click ok and Finish!
7. Disable and enable your connection, and have fun
Wordpress + Drupal RSS problem
I'm using wordpress for blog, and drupal for home page. While building my web site I meet problem with feeds. The RSS which generated in wordpress, have not been recognized by drupal. Why? I have been researched and detected that my wordpress 7hide plugin causing this problem. 7hide plugins uses some javascript methods. I have tested RSS, RSS2 and Atom. All is problem. Only RDF drupal recognized. Change to RDF for that purposes.
Tutorial: Simple Bar Chart using PHP
In this small tutorial I will explain how I created simple bar chart using PHP. Maybe in future I will write more about charts and to expand this library. Tutorial is for beginners. For image manipulation and processing we will use GD library which is by default come's with PHP distributions. You need to enable GD2 extension in PHP.ini. Search for ";extension=php_gd2.dll" and remove ; character.
The code below calculate the heights for each value to be shown in chart, draws that bars and returns image data as variable.
I have been merged some part of chart functions into other file. Maybe in future I will write other chart tutorials, and combine with others.
The code above will be called with HTML <img/> tag. Chart.php applies the array and unserializes.
And here is example PHP file which set array with numbers and call's chart.php.
HTC Touch and Touch Diamond


In September I wished to buy HTC Touch Diamond (1200$ in September), but eventually I have decided to buy HTC Touch 3450. Bought for 550$. Now I look in internet shops those, HTC Touch Diamond costs about 370$ and HTC Touch 3450 around 400$. How so it turns out? What happens?
Drupal + Amazon S3
S3 module has been out for Drupal. It allows administers to manage buckets & objects in S3. Besides of it, module give's API for other modules, to use S3 for file sharing. Module project is here.
Asteroid impact (500km)
What happen's if the asteroid with 500km length fall in the ocean? Discovery channel shows you that moment. Video also available in HD format.