By nathanpalmer on
I currently am setting custom paths for my node content and I think it would look nice to have the edit page directly off of my url alias. Let me give an example.
http://www.domain.com/custom_node_title - to view the node
http://www.domain.com/custom_node_title/edit - to edit the node
Currently it seems the only way to edit the node is
http://www.domain.com/node/1983/edit
I've done a lot of searching on this and it doesn't seem like the path module supports aliasing the edit screens? Is there a different way that I can accomplish this? Can I create a menu hook and then load the form manually?
Thanks,
Nathan
Comments
custom module
I am not aware of anything in existence that does this. You would have to write a custom module that does this.
I have to ask, what is your business case for this?
--
Matt
http://www.mattfarina.com
I love the clean urls and
I love the clean urls and with path you can build a clean hierarchy when navigating the site. But when I go three steps in and click on edit then the url pops out of context momentarily and then back again once you submit. So it's simply for the visuals that I want this.
Here is an example. I have multiple sections with each section holding a type of node content. Within those sections they can view the node or edit the node. When they click on edit however it breaks the path.. goes somewhere completely different and then bounces back.
http://www.domain.com/section1/nodetype1/nodeid
http://www.domain.com/section1/nodetype1/nodeid
http://www.domain.com/section2/nodetype2/nodeid
http://www.domain.com/section2/nodetype2/nodeid
Nathan
pretty custom
What you are asking for is a pretty custom thing. Especially, the way you want it laid out.
The only thing I can think of is custom coding this. Shouldn't be to hard.
--
Matt
http://www.mattfarina.com