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 frabas on
I just installed my new drupal site.
I have a lot of html files that I need to reuse from my old website
My question is: creating a new menu item, how can I refer to this item an html file to be opened within the main drupal "frame"?
thx
f.
Comments
import_html?
Have you seen what import_html.module can help you with?
If that's to complex for your needs, you might be able to get the right effect by just making sure that your new nodes are given aliases to match the old filenames.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
aliases?
Hi,
thanks for your response...
So ... suppose that I have an html file to reuse named "test.html" and suppose that I created a new page content (e.g. a new node/32).
What should I do?
How should I rename the test.html file?
Where should I copy this file?
thx
f.
in 4.7 you can just set the
in 4.7 you can just set the path to reflect where the file used to be found.
Set it on the node edit form, or via the path aliases admin.
Discard the old file.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards