Hi
I have a whole bunch of HTML files from a legacy site that I'd like to import.
The "upload" option in Admin->Pages doesn't seem to do this - I get and error say that file type is not allowed.
Is it possible to do this with the existing Admin or do I need to write something that will do it for me?
TIA
Comments
Cheers
I pulled your changes into my 1.05 install (not the whole development branch) but still get the file type error - and the codeigniter upload function fails. If I edit your code and change "php|html|txt" to "*", the codeigniter upload works but I get a new Fuel error saying there was a problem uploading the file. If I move the file into the views directory, it works (with "*" but not "php|html|txt"). It's not quite doing what I expected - which is my fault, not fuel's so...
Given the number of pages I have to import (and sanitise en-route), I've started writing my own importer which squirts straight into fuel_pages and fuel_page_variables...