[support] drupal_goto and views arguments

Adm linuxloverstaff at gmail.com
Wed Jun 6 21:59:59 UTC 2012


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


More information about the support mailing list