What I am trying to do is get the router for the component (iCagenda) to work with a url of this form:
mysite.com/index.php/events/register?eid=1111, where I can map eid to the item id
The deafult is mysite.com/index.php/events/id-alias/register
In the component's router, there is a function iCagendaBuildRoute( &$query )
This function returns $segments (for the url string I guess), and I have it working so that the $segments array is the same whether the url form is default or as I have above. I thought that was good sign.
But then in the function iCagendaParseRoute( $segments )
The $segments variable is not the same as returned in iCagendaBuildRoute.
I think it has something to do with the local versus global variables. Joomla must be doing some additional checking which is resulting in the passed version of $segments to be different...
I can't figure this out...