Pageroute

Last modified: March 29, 2009 - 07:00

This page deals with pageroute for drupal 6.x. For previous version have a look at http://drupal.org/node/130498 and the documentation distributed with the module (README.txt, API.txt!).

Description

This module can be used to provide a user friendly wizard for creating and editing several nodes. You can use the module to create a "route" which leads users through multiple pages, which can be e.g. node creation forms.

For example this allows you to build a user profile which consists of multiple content types. Then users can easily create and edit their nodes through the same pageroute. (Have a look at the nodeprofile project if you are interested in building user profiles with nodes).

Introduction

Pageroute allows you define a route through various pages. There are several different type of pages available. Pageroute comes with the following page types:

  • node view
  • node add form
  • node edit form
  • node management page
  • user edit page

Pageroute Path & Arguments

route-path/page-name/uid/nid

route-path
The unique path of the route. You can link to the first page of a route with just the path (omitting all arguments).
page-name
Use it to start the route at a specific page or omit it to start at the beginning (e.g. /route-path//uid/nid).
uid
Will be interpreted as a user id. This effects for example content creation (node add form) and user editing (user edit page). Other page types may utilize this argument too.
nid
Will be interpreted as a node id. This effects the node edit form. The node view can also be configured to display a given node.

Page Types

Node View

Displays a node. Can be configured to show a node given by the 'nid' argument.

Node Add Form

Add content of a configured content type.

Node Edit Form

Edit a node given by the 'nid' argument or show a node add form of a configured content type.

Node Managment Page

The node management page allows one to add/edit/delete nodes from a configurable content type. It shows a themeable list of all already created nodes of this type and allows editing and deleting if the user has access.

User Edit Page

Edit a user account for the given user id ('uid' argument).

Developers

Implement custom page types.

 
 

Drupal is a registered trademark of Dries Buytaert.