Wikiarguments add page — различия между версиями

Материал из Вікі Фаланстэра
Перейти к: навигация, поиск
(Новая страница: «Example for about page. * add entry to public_html/commonHeaders.php: <pre> include("./pages/about.php"); </pre> * add entry to 'pages' table: <pre> about, abou…»)
 
м (Bot: Adding category Non-category)
 
Строка 31: Строка 31:
 
RewriteRule ^about/$        index.php?pageTitle=about [L]
 
RewriteRule ^about/$        index.php?pageTitle=about [L]
 
</pre>
 
</pre>
 +
 +
[[Категория:Non-category]]

Текущая версия на 22:14, 14 апреля 2017

Example for about page.

  • add entry to public_html/commonHeaders.php:
include("./pages/about.php");
  • add entry to 'pages' table:
about, about, PageAbout, about.php
  • add entries to localization table:
ABOUT_US, be, <text>
ABOUT_US, ru, <text>
ABOUT_US, ru, <text>
HTML_META_TITLE_ABOUT, be, <title text>
HTML_META_TITLE_ABOUT, be, <title text>
HTML_META_TITLE_ABOUT, be, <title text>
  • add files:
public_pages/pages/about.php
public_pages/tpl/charity/about.php
  • add entry to .htaccess:
RewriteRule ^about/$         index.php?pageTitle=about [L]