User login

How to

Information on how to do something... anything.

Use Drush to sync files from one site to another

Believe it or not, this is the function you want:

core-rsync (rsync) Rsync the Drupal tree to/from another server using ssh.

For example:

drush rsync @example.stage:%files @example.local:%files

Can't do remote to remote though.

Pushing our local repository to Gitorious


git checkout master
git remote add origin git@gitorious.org:remarkup/remarkup.git
git push origin master

This was for a module named "remarkup" as covered in http://definitivedrupal.org/node/90

Increase main partition size in Ubuntu within VMWare Fusion

That was well nigh impossible. GUI fail, on gparted's part.

These steps won't be 100% complete because it's 7:15am and i spent the last hour frying my brain on this stuff (after the brain unilaterally called a break about 2:15am and i fell asleep), but they do fill in some gaps other resources out there don't quite cover. Some even seem to (falsely) suggest that unallocated space must be made into its own partition first. Here are some of the better links; my (final working) steps below.

Dvorak international keyboard makes typing on Ubuntu awesome

The Dvorak international layout makes Ubuntu as smart as a Mac for dead-straightforward sensible access to accented characters and other goodies.

It adds a "third layer" (after plain key presses as the first layer and after typing with the shift key held down as the second layer), and it puts all the international-style characters we are likely to use

So let's do it.

Remove the main content title from the front page of the site

Sometimes we have a lot of blocks from views and such on our front page, going where the content usually goes, so we don't want our front page to be the /node stream. We could make it a View page but if all the other Views are blocks, it seems wrong to play favorites (and may be annoying for theming or changing things later). Plus, it's nice to have that one node for the little bit of (easily editable) static content.

Here's the function for "example" theme's template.php to remove the page title:

Open folders in terminal in Ubuntu

sudo aptitude install nautilus-open-terminal

Installing Cygwin for Drupal patch testing and development

Update: See Randy Fay's Cygwin quickstart tutorial, http://randyfay.com/node/70

Many Drupal things are best done in a UNIX-like environment. One solution is to run a Linux distribution like Ubuntu in a virtual machine, as is provided by http://drupal.org/project/quickstart. Another solution (on Microsoft Windows) is Cygwin, to bring the power of the UNIX command line to Windows.

Send an e-mail to an administrator when a new user registers on a Drupal 7 site

10:13 benjamin-agaric: Drupal 7 - the simplest way to have an administrator e-mailed when a new user signs up? Can't find any core setting and no trigger does it either? Seems we should have a way to get this functionality short of Rules module... thoughs?
10:22 benjamin-agaric: Answer: it can be done through Drupal core- an advanced action simply has to be configured first at admin/config/system/actions/configure and then back to trigger configuration.

Syndicate content