How to remove breadcrumb from specific pages in drupal?

    Use the following function in template.php also modify the condition as per your requiement
    function phptemplate_breadcrumb($breadcrumb) {
      if (!empty(
    $breadcrumb)) {
        if (
    $breadcrumb[1] == l(t('Search'),t('search'))) {
        else {
    // For other pages
    return '<div class="breadcrumb">'. implode(' &raquo; ', $breadcrumb) .'</div>';

    How to customize search_theme_form from template.php ?

    Check the following link


    How to show favicon in drupal site?

    Add the following code in head section of page.tpl.php
    <link rel="shortcut icon" href="<?php print base_path().path_to_theme(); ?>/favicon.ico" type="image/x-icon" />

    How to add file manager to tinymce ?

    Check this page and implement it to add file management functionality in tinymce


    how to make wysiwyg works in panels?

    A small module can do this intergrating all the related codes in it

    you can check it and it works for you

    how to show language switching flags on drupal site?

    Use this custom code wheather in a page.tpl.php file or you can use it in creating a new drupal block and showing block in the particular region Place the flag images in you theme folder named like fr.png for (French) en.png for (English) etc. <?php $lang_links = array(); foreach (language_list() as $language) { //genrate the image name $image = '/'.

    How to implement open_flash_chart_api in drupal?

    Install and configure open_flash_chart api : http://drupal.org/node/193583 Install charts module : http://drupal.org/project/charts After that create you can add following code to display charts <?php function flash_chart_example() { $sample_chart = array( '#title' => t('Title of chart') '#plugin' => 'openflashchart', '#type' => 'line2D', '#height' => 600, // in pixels '#width' => 650, // in pixels array( array('#value' => 10, '#label' => t('Sun')),

    how to create optgroup of taxonomy list

    We can do this by using form_alter on the taxonomy form field like this : <?php if (isset($form['taxonomy'][$vid])) { $tree = taxonomy_get_tree($vid); $parent = array(); $term_options[''] = $form['taxonomy'][$vid]['#options']['']; foreach ($tree as $term) { $obj = new stdClass(); $obj->option[$term->tid] = $term->name; if($ptid = $term->parents[0]) { $term_options[$parent[$ptid]][] = $obj; } else { $parent[$term->tid] = $term->name; $term_options[$term->name] = array(); } } $form['taxonomy'][$vid]['#options'] = $term_opt

    Option group in cck fields

    Use php code in field configration like this and it will display select field with option groups
    return array(
    'OptGroupname 1' => array(
    1 => 'Option 1',
    2 => 'Option 2',
    'OptGroupname 2' => array(
    3 => 'Option 3',
    4 => 'Option 4',
    'OptGroupname 3' => array(
    5 => 'Option 5',
    6 => 'Option 6',
    7 => 'Option 7',

    Creating Readonly checkboxes without the grey background ?

    This can be done by using javascript onclick event handling. Here is the example.
    <input type="checkbox" value="test" title="Test Checkbox" onclick="return false;"/>