Drupal Featured
Drupal: Clean URLs using IIS
Submitted by chris on January 9, 2006 - 13:45. Drupal Configuration | Drupal Featured | IIS Clean URLs
Update: This technique will work but will require more labor then just
running Apache.
I 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
I 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
Display blocks inside nodes
Submitted by chris on March 20, 2006 - 00:16. Drupal Featured | Drupal First StepsNo 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.

