Jump to content

Theme configurator - reset


Recommended Posts

I want to add theme configurator reset button.

<input id="reset_editor" type="submit" class="button" style="background: #7a7a7a; color: #fff; border: none;" value="' . $this->l('Reset') . '" name="reset_editor">

    public function getContent()
    {
        if (Tools::isSubmit('reset_editor')) {
            Configuration::updateValue('primarycolor', '#fff');
        }
......

Am I right?

Dont work.

Link to comment
Share on other sites

×
×
  • Create New...