I have a node template where I check the url for the existance of some parts and play with that, eg, if the node is called your/recipies
, I catch urls like
/your/recepies/bananas
/your/recepies/apples
/your/recepies/oranges
and check the url for bananes,apples,oranges in the template.
I used aliases to point those urls to the original node, but they keep on dissapearing. It's probably be a breeze to set up a module router, like
function kitchen_menu() {
$items = array();
$items['your/recipies/%'] = array(
'title' => t('Recipies'),
'page callback' => 'drupal_magic',
'page arguments' => array('your/recipies')
);
}
to make drupal just render the node (and not redirect somewhere).
however, i cant find out what to write instead of drupal_magic
.
(recipies, if you must know, is a webform; not something i can easily generate myself)