1. WARNING - This part of forum is for English language writed posts ONLY! Any other language isn't alowed! Please respect forum rules, otherwise, your posts will be deleted, and you will be warned, one time only!
  2. Мы продолжаем публиковать интересные статьи на тему SocialEngine 4. Одна из статей посвящена правильному выбору сервера для вашей социальной сети, а другая содержит советы по увеличению производительности платформы. Также мы добавили большую статью о пользовательских уровнях. Ознакомиться со статьями вы можете в разделе Вопросы и Ответы SocialEngine 4.
  3. Вам кажется, что ваша версия SocialEngine 4, работает медленно?

    Голосуйте. Пишите свою версию системы, железо на чем работает и количество пользователей. Будем увеличивать производительность :-) Подробнее

  4. В связи с участившимися случаями попыток продажи пользователями форума различных "сборок" коммерческих социальных платформ, обычно основанных на SocialEngine 3, вводится новое правило для форума. Запрещается создание тем или размещение в уже созданных предложений о продаже или размещение ссылок на сайты, где происходит продажа "сборок". Пользователи, которые продолжат свою коммерческую деятельность в данном направлении, будут заблокированы. Подробнее.

Tutorial Making a new pages for se 3.18->

Dieses Thema im Forum 'Free' wurde von nadri gestartet, 23 April 2012.

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. nadri Themenstarter Administrator


    Оффлайн
    • Admin
    • Знаменитый
    Erstellte Beiträge:
    1.257
    Zustimmungen:
    392
    Версия SocialEngine:
    4.6.0
    Creating New Pages in SE v. 3.18->

    This tutorial shows you how to add a new page to your SE.


    1. Create a new .php file with a unique name, for example "newpage.php". (use Notepad2 and paste in it code below)
    Code:
    <?php
     
    $page = "newpage";
     
    include "header.php";
     
    include "footer.php";
    ?>
    

    2. Create a new .tpl file with the same name, for example "newpage.tpl".
    Code:
    {include file='header.tpl'}
     
    CONTENT OF YOUR PAGE GOES HERE
     
    {include file='footer.tpl'}
    

    3. Replace "CONTENT OF YOUR PAGE GOES HERE" with the HTML you want to be showed on your new page.

    4. Upload the php file to your main installation directory, and the tpl to .. /templates

    5. If you want to add a link to this page on your main menu, you will have to edit ../templates/header.tpl




    NOTICE:
    If you would like your page to be visible only to members who are logged in,
    simply add prefix "user_" to the name of the file. For example, "user_newpage.php" and "user_newpage.tpl".
Status des Themas:
Es sind keine weiteren Antworten möglich.

Die Seite empfehlen

All rights reserved SocEngine.ru ©