User login

How to

Information on how to do something... anything.

Publishing from iPhoto to Drupal image gallery with iPhotoToGallery and Image Publisher module

Background searches and thoughts on iPhoto to Drupal publishing.

Resolution

  1. Download and install iPhotoToGallery
  2. on your Mac.

  3. Install Image Publishing module in Drupal.
  4. (Probably needed) add this line to your conf or .htaccess: SecFilterEngine Off

@TODO ben-agaric: look up the security implications of that last line.

Setting up cscope for Drupal: the find command to list the files to index

Thanks to one of a whole slew of development environment tips from chx, Agaric is going to try to install and use cscope.

Installing cscope on a Mac with the fink package manager is as easy as typing on the command line:

fink install cscope

There is also a graphical interface for Fink called Fink Commander, I think.

Telling fink what to index is a little harder.

How to translate a Drupal site using .po (Portable Object) files

[By Thiago Bennicchio]

Hi friends,
please read the whole email before starting the work.

Now we have offline text files to translate the interface. I'm sending Judith the Portuguese file. Mathias, Leo, please tell me in which languages are you going to translate so I can send you the proper files (please reply to all so we know who's doing what).

As we talked before, we need to be very careful when dealing with this files (not to erase commas, quotes and #).

The basic structure of the files is the following:

: modules/nonon nonno ononon

How do I put Drupal's sitewide contact form on any page or panel I want?

Is Drupal's default contact form page a tad too restrictive? Do you want to have more than comfortably fits in the little option to have some text above the contact form? Do you need even that text to be multilingual? Would you rather not try to do all this with form_alter and creative use of blocks? Why can't one simply embed the contact form in a page, or better yet as one element in a panel, you ask? Why, indeed. Agaric has no idea why. But Agaric can tell you how (with or without generous use of text emphasis, we're flexible).

Ask Agaric: Trying to deny access...

Hi there,

I am putting together a site that has very strict access requirements, there must be no access to content beyond the home page by anonymous users. To this end, I removed Anon. User 's access to Node Module content. This does the trick, no access to anonymous. However I was using 'node/1' as the home page which is now access denied :( Changing the access denied page to node/1 doesn't fix the issue either)

Import photographs from iPhoto to Drupal with comments

UPDATE: For the Agaric-approved method, see the iPhotoToGallery and Image Publisher module how to.

This AppleScript proved a dead end.

http://ruk.ca/article/2604

Did not work for Agaric:

I receive an error about:

Avoiding loopy merges when cleaning up Place vocabularies with Taxonomy Manager

The key to preventing infinite loops in a Place vocabulary, which can be introduced while cleaning it up via Taxonomy Manager, is not to assume that just because something has the name of a country that it is a country.

Users have on occasion mistakenly put a town name in the country field and a country in the town field.

Now, I had already adapted taxonomy manager (via form_alter, without touching the its code, we did it the Drupal way!) to show this information provided by the Place module.

Putting several nodes or views on a page as tabs

<?php print theme_menu_local_tasks(menu_get_local_tasks()); ?>

“local tasks” are things like view, edit, track. they are usu. styled as tabs. menu_get_local_tasks() gets the menu structure in an array.

Menu Local Tasks - Tutorial?
http://drupal.org/node/122262

mdixoncm - February 24, 2007 - 13:12

2 simple steps to understanding local tasks.

How to make patches that involve multiple files and adding new files

making multiple file patches:

when adding new files, I always used diff -urpN instead of just diff -urp, so that new files are also rolled inside the patch. But please double-check, that no other files got rolled-in accidentally (such as automated back-up files made by some text editors and such).

– JirkaRybka

http://drupal.org/patch

Resolution

Syndicate content