-
☆ A M B ☆
- 339 Posts
Do they contain all currently existing TVs? That - in the end - you can replace the whole table without losing any TVs?
The list doens't contain all TV's right now, but I could do an export of the resources and merge the current values with the new ones in excel - this was my initial plan. My problem is how to reimport the whole list. I was thinking of using Mark Hamstra's ImportX. But that doesn't work on tv's when you do a update, only if you create.
...and this got me thinking:
Since I have all the values I want in the end. If I use phpmyadmin to delete all current tv values that I want to update, and then create a temporary table from my list with the new tv's I could use that temp table to create new tv values directly with sql...
discuss.answer
-
☆ A M B ☆
- 339 Posts
Why yould you like to edit TV values outside of MODX anyway? Wouldnt be "export via phpMyAdmin -> edit in notepad++ -> reimport" the easiest thing to do?
Outside modx because the new prices is exported from another system.
Since I already had the list, formatting it correctly and then importing it directly in phpmyadmin did the trick. Thx for your help!
I can't remember if ImportX supports updating existing resources rather than just adding knew ones but it could be handy for things like this. Would backup db before trying
jpdevries