This is an fabulous module that I'm expecting for a long time.

I'm a deep page/panels, and trying to use page to override all menus so that can put all related content blocks easily.

As 'user/%user/edit' is not supported in default, can we add it here?

thanks!

Comments

swentel’s picture

Hmm, that would mean I'd expose other entities as contexts as well, which actually makes sense! I'll post a patch for this.

swentel’s picture

Title: Add 'user being viewed' context in 'user/%user/edit' like menus » Bring back all core entities for the contexts (user, node, comment)
Status: Active » Needs review
StatusFileSize
new755 bytes

Changing title so it reflects the change better. Patch attached (untested though yet) I still ignore 'rules_config' as I'm pretty sure that's not something that can be 'varianted' - could you give this a quick run ?

rogical’s picture

I've added this page 'user/%user/edit', no errors, no warnings, just works excellent!

Only one thing , can't retrieve the user edit form.

Is that possible to add those related forms by this module, or only can by ourself manually?

page 'user/%user/edit' added by this module:
aa

page 'node/%node/edit' by default
aa

swentel’s picture

Status: Needs review » Fixed

The fields that are available are field api fields, so those are fine. The other ones are missing because there is no plugin at this point for that. Compare it to 'ctools/plugins/content_types/node_form' folder: they are defined over there for node. CTools has no plugin(s) for the user form however. I'm going to commit this one as a starter and see what I should do with those user form fields. I'll talk to merlinofchoas about this before opening an issue on either ctools or this module.

Status: Fixed » Closed (fixed)

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