drupal
awesome Drupal Modules for a killer instant site
This is a list of Drupal modules that I try to start with.
monetize
- adsense
- adsense injector
- amazon tools
analyze
- google analytics
- nodewords
automate
- pathauto
- service links
- category
- textile
As you may see, my tool-set is google-centric and my focus is usually on blogging and monetization. Much like this site, you can tell that I like to whore my blog to AdSense, Amazon, and whatever other residual income type things I can cram on the page without looking too tacky. However, tacky is subjective. I strive to make mine the NASCAR of blogs.
How to make a FAQ that has a Table of Contents at the top in Drupal.
The Table of Contents module will make an FAQ for you automagically.
You would think this isn't such a hard thing to do but I had a hell of a time figuring this one out. By default, most people expect you to use Drupal's Book module to create a FAQ that has page-by-page navigation and a menu that lists all the questions.
E.g.
====
- Why am I here?
- What is this?
- Who cares?
Why am I here?
NObody knows.
What is this?
An freakin' FAQ man.
Who cares?
Not you. Not me.
login to post comments
Drupal API for Themeable functions
I had to mess around with Drupal theming a little bit. Overriding theme functions, especially for item lists has been helpful. Once you figure out how to override one function, the others. See the link for the full list of themeable functions.
login to post comments
Configure Drupal on LigHTTPD
Since I use Drupal quite a bit for this website I thought it would be a good idea to setup a test environment for myself so that I can tinker with themes and explore the system some more. Unfortunately Drupal's community documentation is terrible because the support forums get off-topic frequently and the search mechanism they have a wretched search system.
These 2 sets of instructions have been particularly helpful in setting up the environment.
- Install Drupal to Ubuntu
- Then Configure LigHTTPD fastcgi for Drupal
- Remember to (1) restart your Lighttpd server OR (2) run from the command line to get errors and warnings.
1. sudo /etc/init.d/lighttpd restart
2. sudo lighttpd -D -f /etc/lighttpd/lighttpd.conf
If you try to run it before step 2 you will get an error because FastCGI isn't configured yet.
strict warning: var: Deprecated. Please use the public/private/protected modifiers in /usr/share/drupal/themes/engines/xtemplate/xtemplate.inc on line 42.
Long story short, this chunk of LigHTTPD config that I use that let's me get to drupal on http://localhost/drupal.
var.drupal="/var/www/drupal"
$HTTP["url"]=~"^/drupal" {
#rails-stuff
fastcgi.server = (".php" =>
("localhost" =>
(
"min-procs" => 1,
"max-procs" => 2,
"socket" => "/tmp/drupal.socket",
"bin-path" => "/usr/bin/php4-cgi"
)))
}
Nuts!
My ISP crashed and consequently went out of business. I have moved my blog. For new articles visit blog.infoentropy.com
tags in Articles
User login
Other blogs
Recent blog posts
- Step-by-step to build a facebook app with CakePHP
- Enabling CakePHP 1.1 on Lighttpd 1.5
- Install and configure PHP5 and lighttpd on mac os x 10.4
- lighttpd as a startup item on os x
- Mac tips for Unix users
- Moving your cursor in a terminal with bash shell (Mac OS X, and Ubuntu Linux compatible)
- linux user management commands
- Setup LigHTTPD virtual hosting by hand
- Reload your hosts file in Mac
- Using MochiKit doXHR