Révision 86fa8ee5
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/advanced_help/help/using-advanced-help.html | ||
---|---|---|
1 |
<p>The <strong>Advanced help</strong> module provides a framework that
|
|
1 |
<p>The <strong>Advanced Help</strong> module provides a framework that
|
|
2 | 2 |
allows module and theme developers integrate help texts in a Drupal |
3 | 3 |
site.</p> |
4 | 4 |
|
... | ... | |
20 | 20 |
|
21 | 21 |
<h2 id="ah_crehlp">Creating help</h2> |
22 | 22 |
|
23 |
<p>Modules and themes utilizing <strong>Advanced help</strong> should
|
|
23 |
<p>Modules and themes utilizing <strong>Advanced Help</strong> should
|
|
24 | 24 |
create a subdirectory named <code>help</code> inside their own main |
25 | 25 |
directory. Place the file |
26 | 26 |
<em>MODULENAME</em>.help.ini (resp. <em>THEMENAME</em>.help.ini) in this subdirectory. |
... | ... | |
113 | 113 |
<div class="help-img-caption" style="max-width:180px">Question mark help icon</div> |
114 | 114 |
</div> |
115 | 115 |
|
116 |
<p>See the source code of demo module <strong>Advanced help
|
|
117 |
example</strong> for link examples.</p>
|
|
116 |
<p>See the source code of demo module <strong>Advanced Help
|
|
117 |
Example</strong> for link examples.</p>
|
|
118 | 118 |
|
119 | 119 |
<p>You may link to other help topics inside your HTML help file using |
120 | 120 |
this format:</p> |
121 | 121 |
|
122 | 122 |
<pre> |
123 |
<a href="&topic:module/topic&">topic</a> |
|
123 |
<a href="&topic:moduleshortname/moduletopic&">anchortext</a> |
|
124 |
<a href="&topic:help_example/lorem&">Lorem ipsum</a> |
|
124 | 125 |
</pre> |
125 | 126 |
|
127 |
<p>The second line show how to link to a help page provided by the |
|
128 |
module with shortname <code>help_example</code>, with the |
|
129 |
topic <code>lorem</code>.</p> |
|
130 |
|
|
126 | 131 |
<p>To reference items within the help directory, such as images you wish to embed within the help text, use:</p> |
127 | 132 |
|
128 | 133 |
<pre> |
Formats disponibles : Unified diff
Weekly update of contrib modules