I got this little snippet off of drupal.org somewhere, but it's proving remarkabley handy for everyday development.
Create a php node with the following content:
BlogsQuick Drupal function referencetags:
Submitted by Harry Slaughter on July 27, 2006 - 7:47pm
I got this little snippet off of drupal.org somewhere, but it's proving remarkabley handy for everyday development. Create a php node with the following content: "You are not authorized to access this page" checklistSubmitted by Harry Slaughter on April 30, 2006 - 9:11pmThis is a surprisingly common error for drupal users. Drupal has very powerful access control features, this is good. But it also means it's pretty easy to configure things in such a way that you prevent your users (usually the anonymous ones) from accessing content, this is bad. I've run across this problem on many occassions, so I've put together a checklist that may help you debug your access problems.
Well, that's it for now. As always, if you have any tips or ideas, please add a comment here. redirecting all possible hostnames to one using mod_rewriteSubmitted by Harry Slaughter on April 25, 2006 - 8:38pmSEO experts claim that having multiple hostnames point to the same site will result in lower rankings for that site. It's common to see sites accept both "www.foo.com" and "foo.com". I have no idea if this is true, but it makes a bit of sense, so why take the chance. I want to direct everyone to "devbee.com" regardless of what they type in, with one exception. I want to allow for a hostname test.devbee.com for my own devious purposes. This is what I'd put in the mod_rewrite section of my .htaccess or httpd.conf file: module for managing multi-dimensional node objectstags:
Submitted by Harry Slaughter on April 21, 2006 - 10:13am
I've got a problem I'm trying to solve. I want to a module to manage inter-related data sets. Imagine a chain of retail stores that carry different products and have a multiple ongoing sales. We'll call the module "storemanager". Each store will have its own properties along with various active sales and its own unique products. Each sale will have properties plus a list of products that make up the sale. One or more stores may have the same sale. Finally, products will have properties, and they may be present at one or more stores and in one or more sales. |
SearchRecent blog posts
|