<p>Dokumentaci k tomuto pluginu přeložil do češtiny Vladimír Ajgl (vlada [zavinac] ajgl [tecka] cz) dne 4.5.2013. Od té doby mohl být plugin pozměněn nebo mohly být rozšířené jeho funkce. Zkontrolujte pro jistotu i <ahref="../documentation_en.html">aktuální anglickou dokumentaci</a>, <ahref="../ChangeLog">ChangeLog</a>, <ahref="../README_FOR_RELATED_CATEGORIES.txt">README_FOR_RELATED_CATEGORIES.txt</a>, <ahref="../Smarty_and_CSS_Tags">Smarty_and_CSS_Tags</a> a <ahref="../TODO">TODO</a>.
</p>
<h2>Popis pluginu</h2>
<p>
Zobrazuje v blogu statické stránky se stejným designem jako mají běžné přspěvky. Přidá nové menu do adminstrátorského rozhraní.
</p>
<h2>Vypsání odkazů na související statické stránky ve výpisu kategorií</h2>
Podívejte se na šalbony <i>staticpage-entries-listing.tpl</i> a <i>plugin_staticpage_related_category.tpl</i>!
<p>
Aby se ve výpisu kategorie zobrazovaly i související statické stránky, přidejte následující kód do šablony <i>entries.tpl</i>:
<br/>
(můžete použít {$CONST.PLUGIN_STATICPAGELIST_FRONTPAGE_LINKNAME} místo {$blogTitle})
<h2>Seznam použitých CSS tagů a Smarty proměnných</h2>
<h3>Proměnné Smarty</h3>
<pre>bool $staticpage_articleformat
string $staticpage_articleformattitle
string $staticpage_headline
array $staticpage_navigation
string $staticpage_navigation.prev.link
string $staticpage_navigation.prev.name
string $staticpage_navigation.top.link
string $staticpage_navigation.top.name
string $staticpage_navigation.next.link
string $staticpage_navigation.next.name
string $staticpage_pass
string $staticpage_form_pass
string $staticpage_form_url
array $staticpage_extchildpages
string $staticpage_extchildpages[i].image
string $staticpage_extchildpages[i].permalink
string $staticpage_extchildpages[i].precontent
string $staticpage_author
timestamp $staticpage_lastchange
array $staticpage_adminlink
bool $staticpage_adminlink.page_user
string $staticpage_adminlink.link_edit
string $staticpage_adminlink.link_name
string $staticpage_precontent
string $staticpage_content
array $staticpage_childpages
string $staticpage_childpages[i].permalink
string $staticpage_childpages[i].pagetitle
string $staticpage_categorypage.id
string $staticpage_categorypage.pagetitle
string $staticpage_categorypage.permalink
string $staticpage_categorypage.publishstatus
</pre>
<h3>CSS-Tagy</h3>
Backend:
<pre>#serendipityStaticpagesNav ul
#serendipityStaticpagesNav ul li
#serendipityStaticpagesNav ul li a
#serendipityStaticpagesNav ul li a#active
</pre>
Frontend:
<pre>.staticpage_navigation_left
.staticpage_navigation_center
.staticpage_navigation_right
#staticpage_childpages
.staticpage_author
.staticpage_metainfo
.staticpage_metainfo_lastchange
.staticpage_metainfo_editlink
#staticpage_related_category_entry_list
#static-entries
</pre>
<h2>TODO (zbývá dodělat)</h2>
<ul>
<li>Hezčí vzhled</li>
<li>Schopnost mít více než jeden postranní sloupec, který bude zobrazovat různé stránky.</li>
<li>Kopírování existujících stránek.</li>
<li>Podpora oprávnění "může vytvářet statické stránky" pro jednotlivé autory s použitím systému oživatelských oprávnění ve verzi serendipity 0.9 a vyšší.</li>
</ul>
<h2>Historie verzí (ChangeLog)</h2>
<pre>
4.02 Removed some & references, trying to fix issues with more recent PHP versions and core dumps / memory corruption
4.01 PHP 5.4 compat reference fix (~L 1097)
4.00 rewrote document.write replacement (81e9911) to be more html standard conform
3.99 fixed disabling collapsible structure box in case of wysiwyg-editor use
3.98 Changed custom <title>, meta description, and meta keywords to be regular fields,
not custom properties.
3.97: Changed breadcrumb navigation so it is an independent option. Templates that use custom