Skip to main content

Home/ Groups/ Drupal for Developers
1More

Directory of Public Features Servers | groups.drupal.org - 3 views

  •  
    Considering the power of the Features module I'm surprised this list of public features servers is so small. Hopefully it will grow. Currently there isn't even a decent image gallery feature on any of these public features servers.
1More

Drupal Performance Tip: Block Visibility | Lullabot - 3 views

  •  
    "So remember: don't rely on regions and template files to hide blocks; they do so visually only. Using block visibility settings will ensure that extra processing is not performed on blocks that aren't being printed out in the first place, and keep your server nice and speedy!" See also the comment regarding the Context module and even Panels. Personally, I rarely use the traditional block page these days and rely more and more on the Context module as well as the Panels module in some cases.
2More

Reducing server resource utilization for busy sites by implementing fast 404s in Drupal... - 3 views

  • // List of extensions for static files $exts = 'txt|png|gif|jpe?g|shtml?|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp|xml'; // It is not an imagecache path, which we allow to go through Drupal if (!strpos($_SERVER['QUERY_STRING'], 'imagecache')) { // It is not our main feed page if ($_SERVER['QUERY_STRING'] != 'rss.xml') { // Is it a static file? if (preg_match('/\.(' . $exts . ')$/', $_SERVER['QUERY_STRING'])) // Just send a 404 right now ... { header('HTTP/1.0 404 Not Found'); print '<html>'; print '<head><title>404 Not Found</title></head>'; print '<body><h1>Not Found</h1>'; print '<p>The requested URL was not found on this server.</p>'; print '</body></html>'; exit(); } } }
  •  
    Fast Drupal 404 handling for static files.
1More

20 APIs in 20 Days: Remember to Bring Your Tokens | Trellon - 3 views

  •  
    One of a series in 20 api's, Token module.
1More

Securing file permissions and ownership | drupal.org - 3 views

  •  
    Security pre-flight checklist. Files.
1More

Playing Nicely With Others: Integrating Drupal with Third-Party Data | Acquia - 3 views

  •  
    Good recorded webinar exploring some ways of integrated large amounts of third-party data into Drupal.
1More

Views Slideshow Theming | Drupal Video Podcast - 3 views

  •  
    Video about views_slideshow and theming
1More

Bundling site settings using Features | drupal.org - 3 views

  •  
    Great overview of how-to use Features
2More

Free your content of PHP: Moving PHP code out of blocks, views and nodes | 2bits.com, I... - 2 views

  • From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content. Code in Content: the issues However, this approach is suboptimal and has serious drawbacks, including:
  •  
    From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content.
1More

Wiki Pages - drupal-chart-api - Project Hosting on Google Code - 2 views

  •  
    Chart API module documentation
1More

Drupal: Programmaticaly creating nodes | Unofficial, unsactioned stuff out of Byte Craft - 2 views

  •  
    A rough guide to drupal_execute() versus node_save() with a bit of node_submit() on the side.
1More

best free drupal 6 themes - 2 views

  •  
    my private collection of absolutely free best drupal 6 templates all themes are categorized
1More

Create your own API Site in Drupal 6 | drupal.org - 2 views

  •  
    Method for setting up a local/mirror copy of api.drupal.org. Core and contrib explained (though see comments for more details).
2More

Programatic CCK Now Possible! | groups.drupal.org - 2 views

  • <?phpfunction mymodule_enable() {     // Get the files content   $filename = drupal_get_path('module','mymodule') . "/mymodule.cck";  $content = implode ('', file ($filename));      // Build form state    $form_state = array(       'values' => array(            'type_name' => '<create>',            'macro' => $content,      ),     );    // Put it in there     drupal_execute("content_copy_import_form", $form_state);}?>
  •  
    Start with comment 54181 - "This works for me in Drupal 6" and read along.
‹ Previous 21 - 40 Next › Last »
Showing 20 items per page