tip

Stupid monitor tricks

Show the options for using more than one monitor with X.

    Cover these points (done)

  • Clone two monitors for more viewers
  • Extend the desktop to additional monitors
  • Remote
    Cover these points (not yet done)

  • multiseat
  • Multiseat plus a surprise
  • kiosk

Drupal: One web form for each product.

in

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.  read more »

  1. Create some product nodes with CCK
  2. Create the web form with webform.module

Mailwatch : Release quarantine fails - Solved

MailWatch logoMailwatch is a GUI maintenance interface for MailScanner. One feature of the combined system is email quarantine. This traps dangerous email, perhaps you consider email with executable attachments dangerous, in a quarantine and advises the recipient. In the event that your users periodically expect and need email with executable attachments to be delivered normally, they can manage this themselves.  read more »

Installing drupal on ubuntu 7.10 localhost ( Gutsy Gibbon )

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

[Updated for Jaunty]

Configure /etc/apache2/sites-available/default by allowing overrides

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

Start apache
 read more »

Drupal import_html module

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

IPCOP can't reach ORANGE from GREEN

in

IPCOP is a specialty Linux Distribution for creating firewalls. Very nice. It uses colours to describe the security "Zones" that it creates. RED is the internet, GREEN is a local, protected network. ORANGE and BLUE are DMZ and wireless zones. It is all quite handy and easy to use.  read more »

Importing data from a homebrew CMS to Drupal

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"

Drupal views exposed filters need a range operator

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.

Drupal imagecache doesn't create thumbnails

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.

Postfix relayhosts Ubuntu 6.06

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.

Syndicate content