Create new Nodes/Entities for Reference Fields on the fly

For the Entity Reference (http://drupal.org/project/entityreference) there exist two modules, which make it possible to create the nodes you want to reference on the fly.

Those are

The Drupal backend for editors

The backend of a Drupal site basically is used by two very different groups of people. First, the developers who build the site and do a lot of stuff usually called "administration" of the site. On the other end, there are the editors, who mainly create and edit content. On content heavy sites the editors probably spent a lot of time using the backend to do their work - and at the same time they probably are not computer experts.

Delete menu items created by Views

With Views module you can create pages and add menu items to them. The ugly thing is: once you have created a menu item via Views, you can not get rid of it, because even if you remove it in the Views interface, its corresponding row in the database still hangs around. There is a issue where the maintainer of Views says its a bug in Drupal core: http://drupal.org/node/1200576 - And also provides a workaround which hinders the menu item from being displayed.

Ideas to make Drupal Backend better

Some Taxonomy enhancement modules

Redirect after node save (Drupal 7)

Here is a snippet to redirect a user after a node save


function mymodule_form_offer_node_form_alter( &$form, &$form_state, $form_id ){
$form['actions']['submit']['#submit'][] = '_mymodule_offer_edit_redirect';
}


function _mymodule_offer_edit_redirect( $form, &$form_state ){
global $user;
$path = 'user/'. $user->uid . '/edit';
$form_state['redirect'] = $path;
}

Module discoveries

Here are some short notes about interesting module I recently discovered. All the listed module are available for Drupal 7 already. I have to admit, that I had no time to try them so far.

views_ui_basic

Provides an "Edit" Button on View pages, with a simplified UI to edit some views data like header, footer and so on. Tries to provide a simple interface for editors to edit _some_ views data. See the demo

Entity Views Attachment vs. Viewfield (or Viewreference)

Recently a module by eaton catched my attention: Entity Views Attachement (EVA). As I have been using Viewfield quite often I was wondering, what the actual difference between those two modules is. So a quick try gave the answer:

Code your own entity

Fago did a presentation about how to implement your own entity. Basically you would like to create your own entity when you need objects that have a different behavior to the existing entities like nodes, user or vocabularies. One of the most prominent features of entities is, that they can be fieldable - which means you can attach fields to them.

Each entity has a base table; the table for the node entities for example is called "node". It has a couple of columns, which are referred to as properties of the entities.

drupalcity decoration

DrupalCity Berlin pushed the level of Drupal event-decoration. Look at this crazy stuff...

Pages

push