Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Solved] how to edit config info added via this plugin?

meadwaykmeadwayk New
edited October 2011 in Vanilla 2.0 - 2.8
Hi,

I installed this plugin as I have problems manually editing my config file (the file permissions changed by the system, and my ISP keep dropping that permission from my FTP login). It worked in so much as it added my new code, but I entered it wrong (some help in what is acceptable for the format would be useful as well), and this bonked my site. I was able to revert back to an old copy of my config file, but how am I supposed to edit config lines already in the config file, or at least the ones added via the plugin?
Tagged:

Best Answer

  • SS ✭✭
    Answer ✓
    There is an hint in fields.
    1) Name = Plugins.QuickConfigSave.Test

    For example,
    You need set $Configuration['Plugins]['PageSpeed']['DeferJavaScript'] = 1 in config.

    Name = Plugins.PageSpeed.DeferJavaScript
    Value = 1
    Type = Integer

    2) 2) You can paste here part of configuration file.

    $Configuration['Garden']['Search']['Mode'] = 'like';
    $Configuration['Garden']['Modules']['NoCanonicalUrl'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['Linkify'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['AutoParagraph'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['RemoveEmpty'] = TRUE;
    $Configuration['HtmlPurifier']['URI']['MakeAbsolute'] = TRUE;


    These lines will be added to end of the config file.

Answers

  • SS ✭✭
    Answer ✓
    There is an hint in fields.
    1) Name = Plugins.QuickConfigSave.Test

    For example,
    You need set $Configuration['Plugins]['PageSpeed']['DeferJavaScript'] = 1 in config.

    Name = Plugins.PageSpeed.DeferJavaScript
    Value = 1
    Type = Integer

    2) 2) You can paste here part of configuration file.

    $Configuration['Garden']['Search']['Mode'] = 'like';
    $Configuration['Garden']['Modules']['NoCanonicalUrl'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['Linkify'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['AutoParagraph'] = TRUE;
    $Configuration['HtmlPurifier']['AutoFormat']['RemoveEmpty'] = TRUE;
    $Configuration['HtmlPurifier']['URI']['MakeAbsolute'] = TRUE;


    These lines will be added to end of the config file.
  • Cheers, I realised my mistake in the formatting of the name field, as mine had $Configuration twice! However maybe an example on the input screen to remove any doubt would be useful?

    Not sure how much of an issue it was, but my values were added to the top of the config file, under the opening line - < ? php if (!defined('APPLICATION')) exit();

    Any way to edit values entered by the plugin, or any values generally?
Sign In or Register to comment.