User login

Complete

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

How does a Drupal module show...? Biblio listing

Situation is that we want autocomplete for referenced bibliography nodes to show authors, journal title, and year as well as article (node) title.

  1. Look at the module's implementation of hook_menu().

    If what you are looking is visible on your Drupal site, it is probably at a specific path. That means it is put there by the menu system, and Drupal modules can define their own menu items by implementing hook_menu.

Taking it to that level with cufon

So you've got yourself a solid drupal theme, and now you're sitting back looking at your work and thinking that it's good, but it could still be taken to that level.

Well, replacing some titles, basically some h1s and h2s with custom rendered fonts is one way to get it there, and using cufon is the answer. Sure, you could use the Dynamic Rendering module and sifr and do pretty much the same thing, but c'mon, cufon just sounds cooler than sifr... and it'll only take you about ten minutes to do this

and we all know quick and easy is the answer...

Getting Views as Data with Drupal 6 Views 2

Is there a standard way to get views as data? (to count the rows and such) or is it expected that this will be done in the preprocess functions, and views methods always return themed output?

Kathleen worked around this by making changes directly in the theme's views-view.tpl.php.

Alternatively,

<?php
function pdtheme_preprocess_views_view__contributions(&$variables) { //...
?>

should let you see the variables. see if $rows exist, and in theory decide how to output from there.

Agaric hereby claims the install* project namespace on Drupal.org for all modules that install and configure

So long as the best way to automate the setup of Drupal modules is in another module, we should claim a namespace for that. For modules not spaces and context, that namespace can be install* or install_*

What I most want this for right now is not for deploying a new site but for doing development work on a site. For instance, it would be fantastic to encode all of this setup in a module:

http://zzolo.org/thoughts/api-module

Close tags in a Drupal so they don't break your site

http://drupal.org/project/htmltidy

The http://drupal.org/project/htmlcorrector module made it into Drupal core. It should handle most issues involving closing tags.

Seeing what HTMLTidy gains, it should capture everything.

Current status: HTML Tidy not ready for Drupal 6.

Resolution

Open File Browser from Terminal Window in Ubuntu

nautilus foldername

or for the current folder:

nautilus .

To go the other way, File browser to terminal, you need to install:

sudo apt-get install nautilus-open-terminal

Resolution

Writing Help Documentation for Drupal Developers and Administrators: Tools needed

Kathleen: I want to be able to click on a link to write help on admin pages.

We have to be able to integrate this with the advanced_help

Wow. The Advanced Help Injection and Export module,
http://drupal.org/project/helpinject
is already a good bit there.

Filed an issue asking about getting the rest of the way there
http://drupal.org/node/416068

Decisionmaking API & Consensus Module, and bringing more people into funding Drupal

Posted to the Drupal consultant list:

One thing that frustrates me as a consultant is that for funding easily available to aggregated small-money people using Drupal for web sites, we could more than match the invaluable corporate and foundation contributions– but as yet, the key part - aggregating needs and funds - has not happened.

I'd very much like to see Sam Boyer's Decision-making API funded and built (approved by the community but unfortunately not ultimately by the Knight Foundation).

A fatal error without any of your code in the backtrace: check your form_alter

Fatal error: Cannot use string offset as an array in /home/ben/code/pdonline/drupal/includes/form.inc on line 976
Call Stack
# Time Memory Function Location
1 0.0019 64260 {main}( ) ../index.php:0
2 2.7990 23389320 menu_execute_active_handler( ) ../index.php:18
3 2.8490 23579028 call_user_func_array ( ) ../menu.inc:348
4 2.8490 23579192 node_add( ) ../menu.inc:0
5 2.8490 23580296 drupal_get_form( ) ../node.pages.inc:58
6 3.3649 29258140 drupal_process_form( ) ../form.inc:119

Syndicate content