drupal 7 - drupal_goto arguments -


i made view views module: "exampleview"

view needs argument: "myarg"

i can load page @ "exampleview/myarg" , @ "exampleview".

when call drupal_goto('exampleview/myarg'); destination "exampleview".

same result with:

$arr = array('exampleview','myarg'); drupal_goto($arr);

can me?

this drupal_goto

usually redirected url constructed function's input parameters. may override behavior setting destination in either $_request-array (i.e. using query string of uri) used direct user proper page after completing form. example, after editing post on 'admin/content'-page or after having logged on using 'user login'-block in sidebar. function drupal_get_destination() can used set destination url.

it seems destination parameter set have clear destination parameter or use header function


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -