by default forward will take me to the homepage (by the way is not the page i defined as HOME in admin>setting, but the default home by drupal)

i would like it instead to stay on the same node.
i think i found something regarding this in the code, but i dont know how to use it..
thanks!

Comments

jacopo3001’s picture

Component: Miscellaneous » Code
Category: support » bug

i found the problem, but not the solution:

on my form page (on the node), there is this in my code:

when i submit, it get spit in array to $form_state['redirect']:
$form_state['redirect'] = Array ( [0] => node [1] => 18 ) ;

but the final output of this is:
mysite.com/node?18

so the "?" is completely at the wrong place (plus, why using ?)
any idea?

seanr’s picture

Yeah, that was pretty screwed up. LOL. Please try the HEAD version from CVS. If that works for everyone, I'll get a new release posted. Please note that the theme functions have changed as well, so if you've customized them, you'll want to update your versions.

seanr’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.