Thanks for the great module....

Could we have an option to show either url alias or /node/NID in the link box?

Thanks.

Comments

todd nienkerk’s picture

ranavaibhav: I don't see a use case for displaying the node's URL alias. A link that uses the alias is no different than the one provided by the teaser, view, or wherever you're listing linked content. (A user could simply copy/paste that URL from their browser's location bar.) Additionally, the URL alias of a node could change, making it impermanent; the node's NID is truly permanent, which makes it the ideal permanent link ("permalink").

What use case do you have for using the URL alias instead of the node's true, permanent link at /node/NID?

keith_k’s picture

Can I follow up? I have two sites. Both have pathauto installed with clean URLs

1 - One one site, the permalink links go to the /node/NID
2 - On the other site, the permalink links go to the pathauto alias.

I actually want #1, not #2, on both sites. Can you tell me how to fix it?

asb’s picture

Same issue like #2, subscribing.

todd nienkerk’s picture

Component: User interface » Code
Category: feature » support

keith_k and asb: I'm afraid I don't understand what you're asking. What do you mean by "the permalink links go to" a particular path? Is the Permalink module not functioning properly?

asb’s picture

@Todd Nienkerk (#4):

I was looking for a simple and fast way to print something like Permanent URL: http://myblog.tld/node/12345 on the bottom of every node. Honestly, I was simply too lazy to look up the variables and syntax required to put this directly into node.tpl.php. After installing the module, I noticed that it generated Links to the aliased (Pathauto generated) path, not to the NID; that I don't need, so I uninstalled the module and modified my template.

If the 'Permalink' module is supposed to offer really permanent links, then it should IMHO at least point to the NID, not to an alias (which might change anytime). According to #1 I would say "yes", the 'Permalink' module wasn't functioning properly for me. But that's no big issue since modifying the template does more or less what I need.

Greetings, -asb

todd nienkerk’s picture

Status: Active » Closed (won't fix)