News:

Looking for documentation? Take a look on our wiki

Main Menu

How to write/update virtuemart.cfg with the current settings?

Started by rvbgnu, May 23, 2012, 16:02:12 PM

Previous topic - Next topic

rvbgnu

Hi,
And first thank you to the dev team for making VM 2! Sometimes challenging to use and understand, but I really like the MVC implementation, the plugin system and the template overrides (useful with the language override in Joomla 2.5 as well).

I found in the Tools > DB Tools, the "Renew config by file" function, but I could not find a reverse function, like "Update config file with current settings". Does it exists?
I will find it useful to store different settings, for example with a LOCAL server, a DEV one, and a PRODuction server. And to have a template one too, for the next shop configuration  8).

In the meantime, I can still write in the configuration.cfg directly, but I don't know all the params name yet  :'(

Any ideas or links?
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

Merry

Quote from: rvbgnu on May 23, 2012, 16:02:12 PM
I found in the Tools > DB Tools, the "Renew config by file" function, but I could not find a reverse function, like "Update config file with current settings". Does it exists?
I will find it useful to store different settings, for example with a LOCAL server, a DEV one, and a PRODuction server. And to have a template one too, for the next shop configuration  8).
In the meantime, I can still write in the configuration.cfg directly, but I don't know all the params name yet  :'(
Any ideas or links?

RVBGnu,

There is no UNDO. This "renew config by file" function does not write to the default configuration, it uses the file virtuemart.cfg, which can be customised by developers. The default is virtuemart.cfg-dist. I would simply make a backup copy of virtuemart.cfg when it is to your liking, before you make any changes.

Good luck,
Merry


Answer is probably from my VirtueMart 2 User Manual ebook, includes FREE updates. FREE Admin Menu Cheatsheet, Quick Install Guide & 30-Minute Quick Setup Guide http://showmeguides.com/

rvbgnu

Hi Merry,
Thanks for your reply. I know that. Maybe my post wasn't clear enough.

What I am looking for is a feature to write from the current settings (stored in DB) to the virtuemart.cfg (or another file name). The other way round function, not any kind of undo for "Renew config by file".

Thanks,
Hervé
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart