Mobile app version of vmapp.org
Login or Join
Jamie184

: Are all URLs in Drupal in the "body" of "pages" hardcode, or is there a way to localize them? Currently links, images, files, etc. http://1.1.1.1/drupal/../<resource_name.ext> Is it possible

@Jamie184

Posted in: #Drupal #Url

Currently links, images, files, etc.
1.1.1.1/drupal/../<resource_name.ext>

Is it possible to do:

/../<resource_name.ext>


If the questions is not clear, just let me know. Thanks!

UPDATES:

Node could be a number of different types of content: pages, stories, etc. -- I'm only talking about pages, but it's possible it (and likely) that it the question applies to all node types. And yes, the text area called "body" on the content type "page" (basically where you insert the full text of the page) ... hope that answers your question, if not, just let me know.

RE: Types of links: Images and files, since I just figured out how to do text to link to other nodes.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jamie184

1 Comments

Sorted by latest first Latest Oldest Best

 

@Twilah146

My preferred method to insert files and images in body text is to use the combination of the Filefield, Imagefield and Insert modules. Filefield allows you to attach files to nodes in a separate field. Imagefield adds image handling to filefields. Insert allows you to insert the uploaded file or image into your body text.

A huge advantage to this method is that you store your attached files and images as separate fields. That means that you can also access the files and images from the Views module.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme