I want the URL section to automatically link to the new page it is being created with, similar to how the Views "Node: Title:" automatically links. Is this possible?
Why would you want it to show the link url?
For better SEO you should have the link display something that would describe what on the other side of the link " See how you could save _____ using this ____", Or the dumb "learn More"
I have a block displaying the Date and Title of the "latest articles." I want the title to automatically link to the node where the article is contained.
The problem is that sometimes the title of the article is very long. I wanted to have a way to show an optional shorter title on the home page and still have it link to the full article.
You probably figured it out by now but just in case.
The auto link feature is when you select the node as the field. Then you can call it anything you like and it will still take you to the page.
It looks like you created the field title and it doesn't have anything to tie it back to the node.
Name the link something the search engines will love
I did figure out a solution, but I'm not sure what you mean. I'm attaching a screenshot of the options I see. None of them did exactly what I wanted, but I found a workaround.
Use node title and that will provide the correct link.
The name that displays can be controlled by you.
I some times use a catch all get listing or learn more etc.
Ron
Yeah, the "Node: title" works, but I wanted the same feature for other fields besides the title. That's what I tried to explain before. It's heard to say exactly what I mean on a forum sometimes. :)
This is a wider problem than just link.module, as the same problem exists for all CCK fields. It's worth noting that this is a feature in Views2, that all CCK fields can automatically be linked to the originating node. Considering this is a Drupal 5 specific problem, and it has already been fixed in Drupal 6, I don't think we're likely to see a fix for the old version. (Note, you can always theme a view to link fields to the node. In Drupal 6 they've just made it an option in the UI.)
Comments
Comment #1
JonMB commentedI think someone said this feature is called "linking this field to its node" but I do not see this anywhere in my version.
Comment #2
ron_mahon commentedWhy would you want it to show the link url?
For better SEO you should have the link display something that would describe what on the other side of the link " See how you could save _____ using this ____", Or the dumb "learn More"
Regards
Ron
Comment #3
JonMB commentedI have a block displaying the Date and Title of the "latest articles." I want the title to automatically link to the node where the article is contained.
The problem is that sometimes the title of the article is very long. I wanted to have a way to show an optional shorter title on the home page and still have it link to the full article.
Comment #4
ron_mahon commentedYou probably figured it out by now but just in case.
The auto link feature is when you select the node as the field. Then you can call it anything you like and it will still take you to the page.
It looks like you created the field title and it doesn't have anything to tie it back to the node.
Name the link something the search engines will love
Regards
Ron
Comment #5
JonMB commentedHi Ron,
I did figure out a solution, but I'm not sure what you mean. I'm attaching a screenshot of the options I see. None of them did exactly what I wanted, but I found a workaround.
Regards,
Jon
Comment #6
ron_mahon commentedUse node title and that will provide the correct link.
The name that displays can be controlled by you.
I some times use a catch all get listing or learn more etc.
Ron
Comment #7
JonMB commentedYeah, the "Node: title" works, but I wanted the same feature for other fields besides the title. That's what I tried to explain before. It's heard to say exactly what I mean on a forum sometimes. :)
Comment #8
quicksketchThis is a wider problem than just link.module, as the same problem exists for all CCK fields. It's worth noting that this is a feature in Views2, that all CCK fields can automatically be linked to the originating node. Considering this is a Drupal 5 specific problem, and it has already been fixed in Drupal 6, I don't think we're likely to see a fix for the old version. (Note, you can always theme a view to link fields to the node. In Drupal 6 they've just made it an option in the UI.)
Comment #9
quicksketch