1.1 --- a/public_html/docs/english/staticpages.html Fri Oct 30 13:57:11 2009 +0100
1.2 +++ b/public_html/docs/english/staticpages.html Sat Nov 07 18:22:52 2009 +0100
1.3 @@ -26,7 +26,7 @@
1.4 <li>Static pages can be displayed on Geeklog's <a href="#frontpage">index and topic pages</a> and can even replace it entirely ("splash screen")</li>
1.5 <li>"<a href="#cloning">cloning</a>" of existing pages</li>
1.6 <li>Makes use of Geeklog's <a href="#url">URL rewrite feature</a></li>
1.7 - <li>Provides <code>[staticpage:]</code> and <code>[staticpage_content:]</code> autotags</li>
1.8 + <li>Provides <a href="#autotags">two autotags</a></li>
1.9 <li>proper support for Geeklog permissions</li>
1.10 </ul>
1.11
1.12 @@ -135,11 +135,11 @@
1.13
1.14 <p>To make use of URL rewriting, you will need to set the option "Enable URL Rewriting" to True in Geeklog's Configuration admin panel.</p>
1.15
1.16 -<h3><a name="delete">Deleting pages with their owner</a></h3>
1.17 +<h2><a name="delete">Deleting pages with their owner</a></h2>
1.18
1.19 <p>As all objects in Geeklog, static pages have an owner (the user that created the static page). When that user's account is deleted for some reason, any static pages owned by that user can either be deleted as well or they can be assigned to another user in Geeklog's Root group.</p>
1.20
1.21 -<p>In the Configuration admin panel for the static pages plugin, you can set the "Delete Pages with Owner?" option to either "False" (which is also the default), meaning that static pages will not be deleted withtheir owner, but assigned to a member of the Root group instead (the user withthe lowest user ID, most likely the Admin). Setting the option to "True" means that static pages will be deleted when their owner's account is deleted.</p>
1.22 +<p>In the Configuration admin panel for the static pages plugin, you can set the "<a href="#desc_delete_pages">Delete Pages with Owner?</a>" option to either "False" (which is also the default), meaning that static pages will not be deleted withtheir owner, but assigned to a member of the Root group instead (the user withthe lowest user ID, most likely the Admin). Setting the option to "True" means that static pages will be deleted when their owner's account is deleted.</p>
1.23
1.24 <h2><a name="config.php">Configuration</a></h2>
1.25
1.26 @@ -283,6 +283,22 @@
1.27 <td valign="top">Set to true to include static pages that execute PHP.</td></tr>
1.28 </table>
1.29
1.30 +
1.31 +<h2><a name="autotags">Autotags</a></h2>
1.32 +
1.33 +<p>The Static Pages Plugin provides 2 <a href="http://www.geeklog.net/article.php/autolinks" title="geeklog.net: About Autolinks and Autotags">autotags</a>,
1.34 +<code>[staticpage:]</code> and <code>[staticpage_content:]</code>.</p>
1.35 +
1.36 +<ul>
1.37 +<li>The <code>[staticpage:]</code> autotag will provide a link to a static page.
1.38 + Simply add the page's ID after the colon. By default, the title of the
1.39 + static page will be used as the link text. You can provide your own link
1.40 + text after the page ID (but before the closing bracket).</li>
1.41 +<li>The <code>[staticpage_content:]</code> autotag will be replaced with the
1.42 + contents of the static page in question. This can be useful when you need
1.43 + to use a piece of text in more than one place.</li>
1.44 +</ul>
1.45 +
1.46 <div class="footer">
1.47 <a href="http://wiki.geeklog.net/">The Geeklog Documentation Project</a><br>
1.48 All trademarks and copyrights on this page are owned by their respective owners. Geeklog is copyleft.