Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24867

    How do I remove/hide ‘Reset’ button in the Theme Option Panel?

    #125032

    Found a solution here:

    http://www.kriesi.at/support/topic/angular-template-builder-reset-all-options-button

    “It looks like this was added in the latest version of Angular or the latest edition of the framework Kriesi built:

    answer = confirm(“This will delete every theme setting made so far and revert the theme option pages to factory settings. nDo you really want to do that? “);

    But if you are determined to never use that button, why would you after having 40 dynamic templates, you can simply comment it out. You’ll see the button again when you patch to the latest version:

    In frameworkphpclass-htmlhelper.php

    Line 1161:

    function reset_button()

    {

    $output = ‘<span class=”avia_style_wrap”>Reset all options</span>’;

    return $output;

    }

    Change to

    function reset_button()

    {

    /*

    $output = ‘<span class=”avia_style_wrap”>Reset all options</span>’;

    return $output;

    */

    }”

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How do I remove/hide 'Reset' button in the Theme Option’ is closed to new replies.