This was suggested by miglius over at #51226-23: allow users to edit their own signup:

I [wonder] if there is a way to display the signup fieldset expanded if it is referenced in the url with the anchor tag 'node/NID/#signup'? This would be useful for other contrib module which could send invites to signup, i.e. afore mentioned link in the email message.

There's already a setting to control if the fieldset is expanded or collapsed by default. But, I can see how it'd be slick to leave it collapsed by default, and expand it via a URL like this. However, I'm not sure about testing for the anchor like that, since the anchor itself is only added via a theme function, and I'm slightly hesitant to build in logic that depends on the anchor being there. Maybe I'll take a quick stab and see how feasible this is...

Anyway, this should definitely be a separate issue, and shouldn't hold up #51226...

Comments

dww’s picture

Status: Active » Closed (won't fix)

Wow, after trying to debug this myself, and according to http://www.zend.com/forums/index.php?t=rview&th=3616&goto=10051 and some other stuff I found searching google, it's not possible to get the current URL anchor via PHP at all. :( Apparently, the only way to find the current URL, with anchor, is in JS, and somehow pass that back to the server side. No thanks.

Sorry, this would have been a nice idea, but if PHP isn't going to make this easy, it's definitely not worth messing with it.