Internal and external links
Request Type:
General Assistance
Forums:
Issue/Request:
To whom it may concern,
I’m working on linking individual names on the site above to various pages with more information about the degree recipients. All of the links currently listed are external. My question is whether the same field (the title is External_links, but it’s from the Links module) can be used to apply to internal links as well (on secretary.yale.edu) or if that would pose a problem for usability. If it would be better not to use the same field for internal links, what might be the alternative? (another field used exclusively for internal ones?)
Thank you!
Armando
Hello Florencio,
It wouldn’t be a question of usability but functionality. Drupal wouldn’t allow an external link field to contain internal links since internal links are usually paths. You’d would need to add absolute URL’s which would break should the pages/URLs change.
Josue
Hi Josue,
Thanks so much for your response. We’re planning on linking the nodes in the site above to their respective pages on secretary.yale.edu, but are a little worried that if we do a redesign, the absolute paths might break. Might there be any way to have a separate field in the nodes for internal links (and just not use the external link field for the nodes we’re editing)?
Thanks again!
Hi Josue,
Just following up to see if you might have any advice on this front.
Thanks!
Hello Florencio,
I’ve tested this and even thought the field is labeled External Link, it accepts both internal & external links. This means you can enter the full URL or a path. There would be no need to have a separate field for this functionality.
Josue