Hi there,
I'm working on a module which creates a new note type called "group", which will have two subpages linked off it.
Using Path Alias (I'm not sure if I can actually program the alias automatically within my module for when its first installed?), my group path will look like so... \group\[title]
With my two subpages, i'm registering them in the module using the Menu hook. If I register them as...
\node\%nid\subpage1
and \node\%nid\subpage2
... would they be picked up sufficiently by the alias, i.e. via ... \group\\subpage1 ?
If not, is there any way of getting such a scenario working? Or any steps I should consider taking? ... The one thing I need to obtain somehow from the two menu hooks is the NID, so the subpages can have their content generated based on the Node they are attached to using a DB query.
Any help/suggestions would be really useful! thanks in advance!
Comments
Sorry ... \group\\subpage1
Sorry ... \group\\subpage1 should have come out as \group\[page title]\subpage1
Also interested
Hi I am also interested in this issue as I think it is related the problem that I am experiencing.
http://drupal.org/node/376778
Cheers,