drupal 7

Load Balancer

This week, Our office for the fist time going to migration Our Old infrastructure Web server topology, upgraded to Load Balancing infrastructure model.

One week we have upgrade our system !... We have 7 Machine HP G7,.. IDC IIX. web server is behind a load balancer, and interacts with the load balancer through private internal IPs VPN NAS and Database Server.
We only have 1 Administrator and 1 Webmaster ( as me ) and 7 Machine we have to migrate and configure.. this is hard job.. !! i sacrifice my time to meet with my family .. my wife and my son.. i am sorry for Rakes... I am sorry for Mami.. :(( .. i will pay back my time for you... i love you.!

When we make new themes there is Feed Icon we want to customize, this icon image we want to customize is use our custom image from our custom themes,..
First you need is image rss.png custom file what do you want, and copy that file to /yourcustomtheme/images/rss.png as an example.

If we need to keep track of something variables and it needs to work with the user not logged in ( anonymouse ), what you want to do is use a cookie to keep track on it.

I don't need read more link on teaser, then you can place this code below in node.tpl.php. Example above if we use code snippet in theme batrik drupal 7 core. If you are using another themes please refer to your node.tpl.php and locate code render($content['links'] .

Ada 2 cara untuk menambahkan CSS ( Style ), di dalam theme, modules info atau menambahkan code drupal_add_css() dalam template.php atau modul custom yang Anda buat.

Menggunakan yourtheme.info ( setiap theme akan sama namanya misal menggunakan theme yang Anda buat )

When we worked on maintenance mode in Database MySQL on Drupal sites, sometime we need to change Our Prefix Tables at new database server, this is a simple trick if you don't want to change one by one table name :)

This is simple script PHP to use it.

Here I am shifting my focus on installing the Soundmanager 2 player on Drupal 7. I need to have the Media and Filefield Sources modules installed and the Private folder established for this.

Dicari cari susah nemunya, akhirnya nemuin ini FORM api drupal untuk fungsi bagaimana state form berubah dinamis, misal kasusnya kita ingin mengaktifkan CHECKBOX, tetapi TEXTAREA harus di isi dulu..

This my explanation how to print variable $profile user on my block.. free override snippet variable $$$$$ ehhehhehe,
Add new block then Snipp this sample code on your block kokokok..

Checking out the form

To troubleshoot any problems we may encounter while editing the form, we need to inspect it. The devel module provides a kit of 5 functions to inspect the content of variables: