Commit e130614b authored by gisle's avatar gisle
Browse files

Issue #1980936 by gisle: Added .htaccess to repo

parent 2814a0f3
.advanced-help-topic code,
.advanced-help-topic pre {
background: #f1f1f1;
border: 1px solid #444;
<Files *>
Order Allow,Deny
Deny from all
\ No newline at end of file
title = README
weight = -11
title = Using advanced help
weight = -10
<h2 id="project-description">Synopsis</h2>
<p>The <strong>Advanced help</strong> module provides a framework that allows
module and theme developers integrate help texts in a Drupal site.</p>
<p>These help texts are stored in ordinary <code>.html</code>-files
that lives in the file system (as opposed to the database). These
files are distributed from the project repo in the same
package as the module or theme, and placed in a subdirectory named
<code>help</code> in the project or theme directory. This means that
the help texts can be easiely kept in sync with the project they
provide help texts for, but also that read access to these files
are not managed by any content access restrictions imposed by Drupal.</p>
<p>The help texts can be marked up with standard HTML, but are
rendered within your site's Drupal theming structure.</p>
<p>If the module or theme author does not make use of the full
<em>Advanced help</em> framework, but if there is a
<code></code> or <code>README.txt</code> in the package,
the content of that file will be shown instead.</p>
<p>The help texts may appear in a popup or not as the module prefers.
By taking away access to view the popups, a site can hide popups from
<p>The help texts can be placed in a hierarchy, allowing for top down
navigation of help.</p>
<p>The hierarchy is tied into Drupal's search system. If this is
enabled, all help texts are fully indexed. This means that the entire
contents of the advanced help set of pages can be searched for
<h2 id="use">Using the module</h2>
<p>By itself, this module doesn't do much. The <strong>Advanced
help</strong> assists other modules and themes in showing help texts.
Nothing will show up until you enable at least one other module that
makes use of the advanced help framework or comes with a file
named <code></code> or <code>README.txt</code>. However, it
comes with a small companion demo module named
<strong>Advanced help example</strong> to demonstrate how it works.
For more extensive example of use of the advanced help features, see
the <strong>Views</strong> project.</p>
<h2 id="project-recommended">Recommended modules</h2>
<li><a href="">Markdown filter</a>:<br>
When this module is enabled, display of any <code></code> the
module shows will be rendered with markdown.</li>
<h2 id="">Support status</h2>
<p>Reported bugs for the Drupal 7 branch will be fixed in a timely
manner. Bugs in the issue queue for the Drupal 6 branch will only be
fixed if accompanied with a patch, after the patch has been reviewed
and tested by the community. No Drupal 8 version is currently under
development. Post a message in
the <a href="">issue queue</a> if
you're interested in managing a port of the project to to Drupal
8. Older versions are no longer supported.</p>
<p>Community support in the form of patches are very welcome for both
Drupal 6 and Drupal 7 versions, and will be given priority. For QA,
the project needs community support in the form of reviews of patches,
development versions and releases.</p>
<p>The primary goal of the module is to remain <strong>light-weight
and simple</strong>. This means that not all feature requests will be
implemented, even if they are a good idea. Feature requests
accompanied by patches are more likely to make it into a release.</p>
<p>The maintainer hopes that the community is willing to help out by
answering &amp; closing support requests.</p>
<h2 id="project-problems">Known problems</h2>
<li>As noted in the introduction, the help texts are stored as plain files
and can, unless protected, be accessed by anyone who knows their URL.
To protect them, place the following four lines in a file named
<code>.htaccess</code> in all directories that contain files for
the help texts:
&lt;Files *&gt;
Order Allow,Deny
Deny from all
See also issue :
<a href="">#1980936 Typing complete path to .html help files in module bypasses user permissions</a>.
<h2 id="project-maintainers">Credits</h2>
<li><a href=""">merlinofchaos</a> (52 commits, original creator)</li>
<li><a href="">redndahead</a> (8 commits)</li>
<li><a href="">dmitrig01</a> (3 commits)</li>
<li><a href="">amitgoyal </a> (5 commits)</li>
<li><a href="">gisle</a> (current maintainer)</li>
......@@ -4,6 +4,19 @@
and easy framework that modules and themes may use to provide their own help.
<h2 id="access-control">Access control</h2>
<p>When this module is installed, users with the
<code>view advanced help index</code>
permission can access the advanced help index by going to
<em>Administer &rarr; Advanced Help</em>
(<code>admin/advanced_help</code>). Additional permissions
<code>view advanced help topic</code> and
<code>view advanced help popup</code>
enable users to access the actual help pages and popups.</p>
<p>Modules and themes utilizing <em>Advanced help</em> should create a 'help'
subdirectory inside their own main directory. Place the file (resp. in this subdirectory, formatted
<Files *>
Order Allow,Deny
Deny from all
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment