This one is going to be a little complicated.
What i'm trying to do is basically split the node edit form in multiple pages, for the main options to be displayed at the default /edit page and some additional ones on the other pages.

For example

siteurl.com/nodetype/1/edit - the default edit page
siteurl.com/nodetype/1/options - the additional options

I think the best way to make something like this work (and the way i want it to work) would be using a couple of variants for the node add/edit page, with the url path's being filtered through the string: url path selection rules.

But, I literally have no idea how to make those string url path's work like that, in fact - I practically dont know anything how the string url path's selection rules work for the node (or node add\edit pages) at all, since I've only seen people implementing the url path based selection rules on custom pages and never on nodes.

I've done some playing around setting url path's like: /option option */option nodetype/*/option etc. to the node template and the node add\edit form variants, the only thing that worked is when i set my main node view variant to trigger when: Current path is not "*/option" , and set the additional variant to trigger when Current path is "*/option", the exactly same thing didnt work for the node add\edit page.

I hope this screenshot will help you get the idea of what i said above a bit better.
The only working variant is using the Node template page, and adding forms there doesn't work which makes it useless for me.
Of course the */option is probably not the best thing to put there, it's just the only one I found that's at least a bit alive.

Some additional info

By default my url's work as I have explained in this issue. (i made those url aliases being created automatically but in a different way from using a pathauto + a custom token)
To make the links like siteurl.com/nodetype/25/edit work i use the sub-pathauto module (i have tried setting the sub-pathauto url depth to 2 and accessing siteurl.com/nodetype/25/edit/option with the settings on the screenshot above - didn't work).

Any help to get this work the right way would be appreciated, thank you!

Comments

FaintRush’s picture

Even more info

I also tried to make this work by creating a custom Page with the /node/%node/option path and assigning %node the Node edit form: node ID context, but then I'm running into another problem because the Node id doesn't actually match the url path and there's no way for me to assign the right context to the node edit form - the unique content type node id that i'm using in urls (again, read this issue) is not to get by any token or variable, the url alias is just being generated once by the rules module.

FaintRush’s picture

Component: Plugins - content types » Plugins - relationships
Status: Active » Fixed

For anyone who's interested read this

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

+notice about the */option selection rule