Recent comments

  • Reply to: Buy a Packt Publishing Drupal book, get one free   1 day 5 hours ago

    Hi drupalace! How are you in recent time. I go back to your site weekly..however, I don't see any update in recent time. I hope that you still doing well. hope to see you back!

    David Off
    from ProWeb365

  • Reply to: Solved: Strange Drupal image problem   1 day 5 hours ago

    More and more people turn to use Drupal for their CMS. I have use WP to build up websites for nearly 5 years. However, when I try to use Drupal I realized that this is really a good CMS. Hope to learn more from your sites. thanks!

    David off
    from ProWeb365

  • Reply to: Buy a Packt Publishing Drupal book, get one free   2 days 17 hours ago
    Thx

    Thx

  • Reply to: Drupal Tutorial: Make Custom Fivestar Graphics   11 months 3 days ago

    This is not correct in D7, with this implementation drupal will throw the warning: Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in file_scan_directory()

    The correct implementation with the proper mask is:

    /**
    * Implements hook_fivestar_widgets().
    */
    function mymodule_fivestar_widgets() {

    $widgets_directory = drupal_get_path('module', 'mymodule') . '/widgets';
    $files = file_scan_directory($widgets_directory, '/\.css$/');

    $widgets = array();
    foreach ($files as $file) {
    if (strpos($file->filename, '-rtl.css') === FALSE) {
    $widgets[$file->filename] = drupal_ucfirst($file->name);
    }
    }

    return $widgets;
    }

  • Reply to: Drupal Mystery #3: Why not call it "tagging"?   1 year 8 months ago

    <div style="text-align: justify;">

    Welcome to the wonderful world of CMS...Tho we should be giving thanks to these developers that decided to make things as confusing as possible. Why??? Because after we have learned a confusing system we can make people pay us cash money so they dont have to. A whole micro-economy has been created by confusing shite like this...BTW if you like to have formatted text (an unseen thing these days, with all the CMS based websites) just add a <div style="text-align: justify;" (left open so code shows)  dont forget the </div at the end

    </div>