On Thu, Jun 7, 2012 at 10:28 AM, Adm linuxloverstaff@gmail.com wrote:
Gerald Klein
I guess maybe I don't understand the question. exampleview/myarg should take you to exampleview and pass myarg in?
Yes: myarg is the view argument.
"Metzler, David"
If clean urls are enabled, drupal_goto('exampleview/myarg') should work. Are you 100% sure that the url is constructed properly and that there aren't other destination= urls in play or something like that?
Thanks for your replies. I'm not sure about others destination=. The result is part of ''exampleview/myarg' (final destination is ''exampleview'), not another page. That's very strange, seems like something transforms the string.
Seems to me there is no page callback for exampleview/myarg. The page callback is given in the hook_menu implementation that views would have created for the item. However a page callback does exist for exampleview but since no exampleview/myarg page callback exists then you get the default exampleview page.