Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation update #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ So please be careful and note where you are installing this plugin. If you
follow the instructions above however, then you should have no problem
whatsoever.

Another note is that both StaticFilePath and StaticWebPath configuration
directives should be used. The plugin wont install without StaticFilePath,
which is used in copying of static files to the support folder. StaticWebPath
is used to properly include some static content within the Movable Type App.


# Upgrading

If you are upgrading from a previous version of Config Assistant, you should
Expand Down
7 changes: 4 additions & 3 deletions addons/ConfigAssistant.plugin/lib/ConfigAssistant/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1364,11 +1364,12 @@ sub xfrm_cfg_plugin {
<button
mt:mode="save_plugin_config"
type="submit"
class="primary-button"><__trans phrase="Save Changes"></button>
class="action primary-button"><__trans phrase="Save Changes"></button>
<mt:if name="plugin_settings_id">
<button
onclick="resetPlugin(getByID('plugin-<mt:var name="plugin_id">-form')); return false"
type="submit"><__trans phrase="Reset to Defaults"></button>
type="submit"
class="action"><__trans phrase="Reset to Defaults"></button>
</mt:if>
</div>
</div>
Expand All @@ -1380,7 +1381,7 @@ END_TMPL
my $slug2 = <<END_TMPL;
<mt:setvarblock name="html_head" append="1">
<link rel="stylesheet" href="<mt:PluginStaticWebPath component="configassistant">css/app.css" type="text/css" />
<script src="<mt:StaticWebPath>jquery/jquery.js" type="text/javascript"></script>
<mt:ignore><script src="<mt:StaticWebPath>jquery/jquery.js" type="text/javascript"></script></mt:ignore>
<script src="<mt:PluginStaticWebPath component="configassistant">js/options.js" type="text/javascript"></script>
</mt:setvarblock>
END_TMPL
Expand Down