I guess maybe I don't understand the question. exampleview/myarg should take you to exampleview and pass myarg in? 

On Wed, Jun 6, 2012 at 4:59 PM, Adm <linuxloverstaff@gmail.com> wrote:
I posted this question on stackoverflow and on drupal.stackexchange,
but no one solved my problem. I hope you can help me:

I made a view with views module: "exampleview"

View needs an argument: "myarg"

I can load my page at "exampleview/myarg" and at "exampleview".

When I call

<?php
 drupal_goto('exampleview/myarg');
?>

 the real destination is only "exampleview".

Same result with:

<?php
 $arr = array('exampleview','myarg');
 drupal_goto($arr);
?>

Have you any good idea about?

Thanks all!
ADM

PS:
http://stackoverflow.com/questions/10902254/drupal-7-drupal-goto-arguments
http://drupal.stackexchange.com/questions/33125/why-can-i-redirect-the-user-to-my-view
--
[ Drupal support list | http://lists.drupal.org/ ]



--

Gerald Klein DBA

ContactMe@geraldklein.com

www.geraldklein.com

jk@zognet.com

708-599-0352


Arch Awesome, Ranger & Vim the coding triple threat.

Linux registered user #548580