Hey guys,
I am trying to add a ton of new pages without having to manually enter each one. I exported one field in table modx_site_content, so I can see how its structured. Using that template, I added new pages in the CSV file and removed the example entry, so there are no duplicates.
When I tried to upload the CSV in phpmyadmin, I did this:
Checked, CSV
Checked, Replace table data with file
Fields terminated by, Changed from ; to ,
When I did this, it added all fields, but when I try to view the page, it said ti didn’t exist. I made sure that the page was published, and it was.
Please help!
Faithfully using MODx since 2007!
-
MODX Staff
- 10,725 Posts
You just need to clear/rebuild the cache once you import the data into the table.
How do I clear/rebuild the cache? I clicked the "Clear Cache" link but it still doesn’t show the pages I added...
Faithfully using MODx since 2007!