The page that is redirected too gets a bug ol' URL in the camefrom variable. I'd also like to be able to access the nid by itself without having to parse it out of camefrom. This seems like a simple change, and helps out when you're trying to do more advanced things on the page that is being redirected too.

Otherwise, awesome module, thanks!

Comments

Aran Deltac’s picture

Umm, I meant "big", not "bug". :)

introfini’s picture

I’m very busy lately, but I’ll try to check that soon.

Thanks,
introfini

philippejadin’s picture

Version: 4.7.x-1.x-dev » 5.x-1.0

Simply change line 38 (in current version) inside nodegoto_nodeapi()

$camefrom='camefrom='.urlencode('node/'.$nid) . '&nid=' . $nid;  

... to pass node id as nid

introfini’s picture

Status: Active » Fixed

Hi,

Fixed in the latest version.

It just gives the nid, I think it's enough and simpler.

Thanks,
introfini

Anonymous’s picture

Status: Fixed » Closed (fixed)

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