Project

General

Profile

Tools » History » Version 3

Max Milbers, 10/17/2011 09:40 PM

1 1 Max Milbers
h1. Tools
2 1 Max Milbers
3 1 Max Milbers
The tools in virtuemart 2 are meant for developers, testers, and in common professionals. Some people meant we should remove them, because they must use with care and they can just destroy your whole store. They should be never used in an already running store. But on the other hand, they help webdevelopers and spare a lot work. So to protect users from themselves we added an extra security for this commands. They must be enabled in the shop configuration first.
4 1 Max Milbers
When you use this tools right, you almost never have to reinstall virtuemart, even when you are tester and getting the newest svn daily.
5 1 Max Milbers
6 3 Max Milbers
h3. Renew config by file
7 3 Max Milbers
8 1 Max Milbers
Deletes the stored configuration in the database and reset it with the values from the file /administrator/components/com_virtuemart/virtuemart.cfg. Be aware that it does not take the values from the 
9 1 Max Milbers
virtuemart_defaults.cfg-dist. This file contains the default configuration shipped with the core. So you can adjust the virtuemart.cfg to your needs and use it as a kind of backup.
10 1 Max Milbers
11 3 Max Milbers
h3. Restore System Defaults
12 3 Max Milbers
13 1 Max Milbers
This deletes and restores the standard tables of vm, this means tables wich are most time not user generated, for exampel, admin menu, countries, currencies, orderstatus, states,... . This command maybe removed.
14 1 Max Milbers
15 1 Max Milbers
h3. Remove VirtueMart Data
16 3 Max Milbers
17 1 Max Milbers
This removes the user generated data, categories, products, manufacturers, calculation rules, ... This may help you, when you heavily customised your store with own currencies, countries, states and so on, but you want to remove the actually displayed data.
18 1 Max Milbers
19 1 Max Milbers
h3. Remove VirtueMart Tables
20 3 Max Milbers
21 1 Max Milbers
This just removes all _virtuemart_ tables. It is meant, when you want to completly uninstall VM, it is not senseful to use it for a reinstall
22 1 Max Milbers
23 1 Max Milbers
h3. Reset all tables and do a fresh install
24 3 Max Milbers
25 1 Max Milbers
One of the most interesting commands. It deletes all _virtuemart_ tables and executes the install function of the installer. So you have a completly renewed virtuemart. This is very interesting for developers, testers, and administrators for test purposes.
26 1 Max Milbers
27 1 Max Milbers
h3. Reset all tables and install sample data
28 3 Max Milbers
29 1 Max Milbers
Does the same as above, but installs directly the sampeldata.
30 1 Max Milbers
31 3 Max Milbers
h3. Install tables or if necessary update them
32 3 Max Milbers
33 1 Max Milbers
This is very important for people who use the svn. This executes the updater function of the installer and updates your tables to the newest layout.