Drupal Featured
Drupal: Clean URLs using IIS
Submitted by chris on January 9, 2006 - 13:45I now run my Drupal under Apache under Windows 2003 Server.
I think I finally got around this problem (for now).
I could not figure out how to exactly translate the rules for Apache:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Drupal error with upload image or upload attachment
Submitted by chris on September 23, 2010 - 15:52Problem:
When you upload an image using the built-in Drupal upload image or even the CCK imagefield feature you receive and error message that looks like raw html.
This problem does not appear consistently some node work some do not. This intermittent problem seems random but is consistent on a given page.
Display blocks inside nodes
Submitted by chris on March 20, 2006 - 00:16No PHP knowledge required.
Goal: I was looking to display the list of all books in a node (and more
generally trying to understand the design and logic of Drupal).
I'm using the book.module has an example, but this might also apply to all other
modules.
I came across this good article:
http://drupal.org/node/26502
The following is what I learned and extrapolated, from that article (read it first) and by digging a little further:
<?php
$block = module_invoke('module_name', 'block', 'Operation', delta);
print $block['content'];
?>
module_name: Is the module name.
