I have a template ready, and a page created, and now I need to create about 150 more of them!
It is an insane nightmare to drag and drop one page at a time, each time having to select copy, say OK to the dialog, wait for the page to refresh, etc. I am looking for a fast way to streamline this process. Any ideas?
I can't seem to find any really fast ways to edit/move/copy mass files!
It takes a while to script a complex site but it definitely works. But 150 pages isn't that much, not sure if it's really worth the effort. But it's more fun to write a script than creating 150 pages manually for sure ;-)
remo's right, you can write a script, but what does that really buy you? You still need to put content on these pages and get em lookin right.
When we built schoolPulse.com and had to make several hundred thousand areas, one for each school in the US, which each included a photogallery, calendar, and message board - yeah we wrote a script...
I've the same problem and I need to create about 1100 pages!
I'm thinking of creating a new page type, create all the blocks required as "Defaults" for this type and create the pages & dump the contents directly into the database. What do you think? is it a good idea?
Is there any description of db structure? Can somebody help me on how to do dump the contents & link the blocks on the DB?
If you figure it out (sorry, I know nothing about sql) I'd like to help if I can in any way (I'm mostly a graphic artist, though, doubt I can do much!) let me know -- I'm perpetually interested in this.
Application procedures are promoted to the marketplace.
However, much is going to be released first.
So I want to use it first.
Csv file that contains reference together.
if you need 1100 pages someone can figure it out. I have a wordpress thing in marketplace submission that takes wordpress xml export, creates the pages based on page_type, fills in a content block and imports linked files into the filesystem.
It is of course tied to the wordpress xml format so I am not sure exactly how it would transcribe over in your case, but whenever it hits marketplace feel free to do something fun with it. I found it fun to write it.
Thanks Scott for the suggestion but I think this will not help in my case. The pages I have are in html format. they belong to a 5 years old website.
I think Kino's module is nice & can be modified to handle page contents & attributes but I couldn't do that as I'm new to C5 and still trying to find my way on it :(
I put this in a file called import.php and dropped it into the tools folder. So I can execute it going to mysite/tools/import
c5 will load all the required libraries if you do it this way.
Of course, you'll need to modify it to your needs, but in the same way you add the content block, you can add any block you want. You can even use some more complex code to find the first existing content block and replace it. The sky's the limit.
Thanks!
Darren