See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

a comparison of drupal access control modules

I investigated existing drupal access control modules to determine what I was going to do on some sites I am working on.
I cleaned up my notes and they are here, for whatever use anyone might want to make of them:
http://apacam.org/drupalaccess.html
I discuss these modules: groups, taxonomy_access, groupapi, term_access, node_permissions

-mda

Working on Search (vol. 1)

Hi all,

i've been doing some work on 4.3.x search. Although it's still a work in
progress, i'd like to share some of the improvements and maybe get some
feedback.

Phase 1, which i'll describe here, involves: making it possible to group
search results by type, getting subtotals (by type) and total number of search results,
giving modules the possibility of providing a 'module title' != module name and
moving all HTML to the theme.

Content generation with default field values loses GET edit[...] parameters during user authentication

Disclaimer - I've only just started using drupal and am also new to PHP. So there may well be a better solution to my original problem. But anyway...

I'm integrating another application (a content source) with drupal by adding a button that triggers a browser pop with a URL like http://drupalhost/?q=node/add/story&edit[title]=The%20Story%20Title which opens a node creation pane with the title or body, or other fields already filled in. (Actually I've extended flexinode a little so I can default file uploads and such, but that's a different question.)

When you've already got a session running, this works fine. But if the button triggers a new session, it correctly redirects to the login page first, then drupal_goto()s the add page once you've done so. But in the final redirection, it only preserves the 'q' parameter, none of the others, so you don't get any defaults.

conf.php: $custom_links idea (localization-related)

I know I'm no expert when it comes to Drupal, but I'm learning. I thought I'd share what I came up with when attempting to localize a site I'm working on...

Basically, if you change the way the $custom_links is created in the conf.php from:

# Custom navigation links:
#
# Custom navigation links override the standard page links offered
# by most Drupal modules. Administrators may add/remove/reorder all
# links here.  These links are typically displayed in a row near the
# top of every page.
// $custom_links = array(
//  "<a href=\"index.php\">home</a>",
//  "<a href=\"blog\">journal</a>",
//  "<a href=\"story\">articles</a>");

to:

#
# Custom navigation links:
#
# Custom navigation links override the standard page links offered
# by most Drupal modules. Administrators may add/remove/reorder all
# links here.  These links are typically displayed in a row near the
# top of every page. ("link" => "display name to be localized")
$custom_links = array(
"intro" => "Introduction", 
"user/login" => "Login", 
"mission" => "Mission", 
"contact" => "Contact");

and then modify includes/common.inc; change:


function link_page() {
global $custom_links;

if (is_array($custom_links)) {
$links = "";
foreach($custom_links as $key => $value) {
$links[] = l(t($value), $key, array());

Browsing taxonomy (Provinces in Canadian election)

I have a site at http://www.digital-copyright.ca where I have put all the electoral districts (Ridings) of Canada into the Taxonomy. I wrote a module which allows people to do postal code lookups to find their riding.

Need to contribute Polish Translation!

I've just started translating polish Drupal and would like to send it to cvs but don't know how.
Besides I wouldn't repeat someone so tell me about any polish translations.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core