On Tue, 21 Sep 2004, Simon Flack wrote:
>> $r->{cgi}->path_info;
>
> A more portable method of getting the maypole request path would be:
> $r->{path};
with a slight difference at least for me (but maybe it is due to the patch
I use) for me, the former returns the path with the leading slash while
the one you suggested returns it without
/authors/view/SIMONFLK
authors/view/SIMONFLK
>
> As I mentioned in a previous post, third part of the path is either:
> $r->objects->[0]->$id;
> (where $id = $r->objects->[0]->primary_column->name)
>
> or
> $r->{args}[0];
thanks, the former works in my case
Gabor
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT