Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By nprmike on
I'm sure this question has been asked before but here we go again is there a way for me to use any HTML file in drupal 6 for instance I need to create new content but the content is an HTML file present on my server I see no option for importing or linking to this file in my page content
can someone point me in the right direction
thank you
mike
Comments
You can use file attachments
You can use file attachments to attach the HTML file with the node.
FCKeditor
Importing and linking are two different processes.
If you install FCKeditor module:
http://drupal.org/project/fckeditor
You will find it easy to copy and paste HTML from various sources. You may call this process as "importing".
Or for easy linking without copying code - you may just use iframe tags.
-Babu
Promote Drupal with Tshirts/merchandise: http://paramprojects.com/drupalstore
Drupal Projects showcase: http://paramprojects.com/website/drupal-servicesprojects
We are working on a website
We are working on a website that currently resides on a server that is not our main server. We were wondering how we could migrate the entire website from the existing server to our main server.
Use PHP
You can use a snippet of PHP to import your HTML file into a page or blog entry or whatever. For example:
That function can also fetch the file from another server (i.e. an URL) if your PHP installation is set up for it.