Attend and OpenStreetMap speaking engagement or mapping event in your town. Or organize a mapping event for your town.
Are you using the Drupal webform.module to get visitor feedback? Do you want to indicate in the webform, from where the visitor chose to contact you? Here you go.
Let's suppose that the site has many products and the visitor can request additional information on each product, directly from the product node. It will be helpful if the product name is automatically included in the web form when submitted by the user.
Here's how to do it.
This presumes that you will install drupal 6 in /var/www/drupal6/
Prerequisites
apt-get install apache2 php5-mysql php5-gd libapache2-mod-php5 mysql-server
Configure httpd.conf by adding a ServerName line
ServerName localhost
Start apache
sudo /etc/init.d/apache2 restart
Create the database
sudo mysqladmin create drupal6 -p
sudo mysql -p
Configure database permissions
sudo mysql -p
use drupal6
The Drupal import_html module needs tidy and xsl. These are not installed by default on a ubuntu 6.06 server. The solution was easily found on Soledad's blog.
XSL support in php5 is deactivated by default. Go to Synaptic Package Manager and search for php5-xsl. Mark the package for installation, apply the changes and once it's finished, don't forget to restart the server!
sudo /usr/sbin/apache2 -k restart
The contemplate (Content template) module is awesome. Since I can't leave well-enough alone, I thought it could be extended to add similar templates for adding and editing content.
We all know how awesome contemplate module is. (If you don't know, go download it and try it out. Then come back. I'll wait here.) This is why I think extending it would be awesome.
This question is often asked in the forums and on IRC.
lyricnz: on irc.freenode.net #drupal-support said: "use get_form to find what's in the form, then populate an array, and call drupal_execute"
The filter operations for views can be used to filter nodes. Multiple filters on the same operand is a hack that results in a filter range. But exposing those filters causes the range-hack to fail and only consider one of your two desired filters.
Views needs and exposed filter range operator.
And now they can now they can have it.
From the Imagecache project page
Drupal 4.7.3 generated a .htaccess file in the public files folder. If you are running Drupal 4.7.3 [or later, apparently] the following lines in that .htaccess file need to be changed.
Options None -> Options FollowSymlinks
RewriteEngine Off -> #RewriteEngine Off.Do not delete this .htaccess file as Drupal will regenerate it.
Drupal installation not sending mail to users on Ubuntu 6.06?
dpkg --remove postfix
dpkg --purge postfix
apt-get -V install postfix
choose satellite
for relayhost use smtp.yourisp.example.com
try now.
/etc/apache2/sites-available/default
<Directory /var/www/>
...
# AllowOverride None
AllowOverride All
...
Restart apache