User login

Complete

To be used with care. Pages are complete only when they meet the posting guidelines.

Passing an argument from a block to a page with Views 6

Posting an old and embarrassing note, but this may help other hapless googlers find that the answer is right at home in their Views user interface.

Skip to the conclusion for the answer

apologies for a question that feels like support, but it is either too advanced or too simple to be documented anywhere. We have a block view that shows

where can one put custom code to run even if an argument is provided -- code to modify/transform an argument, not just provide a default if none is present?

Upgrade Subversion on Mac OS X using MacPorts

Disclaimer: I have no idea if this is the best or cleanest way to replace the svn used by Mac OS X, but it's what worked.

(I did not use this way, "Upgrade subversion client on mac osx," gridshore.nl/2008/12/21/upgrade-subversion-client-on-mac-osx/ )

Instead, I used MacPorts:

http://www.macports.org/ports.php?by=name&substr=subversion

Using jQuery to auto select text in a field

So you've custom themed a search bar into your brand spanking new custom theme using my handy tutorial covering that topic (http://www.agaricdesign.com/note/theme-search-form-drupal-6)

How Google users search

books.google.com
Will let you "Find this book in my local library"
Using their deal with http://WorldCat.org

My friend, built a lot of Google's search, searches for "Patience, Grasshopper" and find nothing that explains the reference (from Kung Fu).

92% say they are good at search
66% search less than one a day

How are they confident in a complex skill

People get answers and are happy. We can make them two or three times as happy.

We count on many searches being simple.

Change the SVN branch your repository checkout is using

As shown here http://svnbook.red-bean.com/en/1.4/svn.branchmerge.switchwc.html

it is simply the svn switch statement with the path to the respository (which in our case was at svn://example.com...)

svn switch http://svn.example.com/repos/calc/branches/my-calc-branch

Resolution

DHTML suggestion

Siavash: If you brought in the DHTMLX package, it would help a lot of these things.

Resolution

RDF options in Drupal

Ask Agaric, from a semantic web mailing list:

I need to redo a few websites I've been totally neglecting and obviously wanted to to have RDF support in the software. Does anyone have opinions on which sort of Wiki or CMS system has either good plugins or built in support for metadata management and embedding? I've been looking at Drupal and Mediawiki so far. My hosting service doesn't support anything well except PHP based systems, which is a shame as I really don't like PHP.

Opinions? Experiences?

Loading included files the Drupal way

The usual PHP functions include, require, include_once, and require_once should not be used in Drupal to load files from modules that aren't your own. Instead, use module_load_include():

http://api.drupal.org/api/function/module_load_include/6

See also http://api.drupal.org/api/function/drupal_load/6

Documenting a Drupal site using the Advanced Help module

In the Agaric annual brainstorm, it occurred to me that the Advanced Help module could also be used for site-specific documentation— both for users and developers.

Documentation is not something you want to trust to the vagaries of the often unstable content of a site in development, but at the same time you would rather have configuration and use information embedded in the site than in a separate document of which everyone needs to keep track.

Where to save configuration settings for MacVim

UPDATE: I'm off the Mac for development and onto Ubuntu so now see at the link for the latest version of my .vimrc file for PHP.

MacVim configuration should be put in a file called "gvimrc" in your user directory:

~/.gvimrc

Here are some configurations used for Drupal:

set expandtab
set tabstop=2
set shiftwidth=2
set autoindent
set smartindent

Syndicate content