Overriding Node Paths

Posted by fighella on Stack Overflow See other posts from Stack Overflow or by fighella
Published on 2010-04-22T13:50:34Z Indexed on 2010/04/22 13:53 UTC
Read the original article Hit count: 337

Filed under:
|

Can a PAGE override the priority of a NODE?

I want to use the power of "Pages" to override my links from the nodes...

For example: A nodes link is

/content/202/hello-world

I want to use my Panels to use the URL to create a "PAGE"... The panels can use the arguments from the URL to create a pretty cool page around the content of a node...

So the PAGE path I've made is /content/%argument1/%title...

I need the links created to the node from the node itself to go to this panel page and not to the content created by the node on its own... so i make the path alias do the same as the PAGE settings... /content/nid/title...

A hand typed in link to this PAGE works fine when I dont have this as the path alias... It does exactly what I need... but as soon as I make this the Path Alias, it's like it goes to the single NODE before it goes to the PAGE...

Anyone have any clues... Is there an order which Drupal looks for the correct URL?

Im sure I have done this before.

JD

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-panels