Перейти к содержанию

eh1

Пользователи
  • Постов

    108
  • Зарегистрирован

  • Посещение

  • Победитель дней

    1

Активность репутации

  1. Лайк
    eh1 получил реакцию от accop в промежутки   
    Да я понял , что лучше сделаю все с чего начинал)А то багов в стилях XenForo много)
  2. Лайк
    eh1 получил реакцию от Nikola_Telegin в Баг   
    Спасибо!
  3. Лайк
    eh1 отреагировална пост WoLFr4ge в Помогите с созданием страниц   
    Создаем в pages Manual HTML страницу

    Заполняем вкладку Details и ставим 'Use suite HTML wrapper' на true. Вкладки Title & Meta Tags и Menu настраиваем по желанию.

    Далее переходим в Content и с помощью HTML тегов форматирования текста заполняем нужный контент

    Сохраняем, выставляя права на просмотр страницы нужным группам.
    Далее осталось добавить страницу в меню:
    Заходим в menu manager, создаем новый пункт, выбираем page и нашу страницу, затем публикуем.

    Результат:

  4. Лайк
    eh1 отреагировална пост WoLFr4ge в Помогите с созданием страниц   
    если без этого, то делаете тоже самое, только убираете Use suite HTML wrapper, а в контект копируете globalTemplate, удалив лишнее из body и вписав туда свой текст.
  5. Лайк
    eh1 отреагировална пост WoLFr4ge в Помогите с созданием страниц   
    Делаете тоже самое, только выключаете Use suite HTML wrapper, в content:
    <!DOCTYPE html> <html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}"> <head> <title>{expression="output.getTitle( $title )"}</title> <!--[if lt IE 9]> {{foreach \IPS\Theme::i()->css( 'extra/ie8.css', 'core' ) as $css}}<link rel="stylesheet" type="text/css" href="{$css}">{{endforeach}} <script src="{url="applications/core/interface/html5shiv/html5shiv.js" base="none" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}"></script> <![endif]--> {template="includeMeta" app="core" group="global" location="global" params=""} {template="includeCSS" app="core" group="global" location="global" params=""} {template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""} {template="favico" app="core" group="global" location="front" params=""} </head> <body class='ipsApp ipsApp_front {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' {{if output.globalControllers}}data-controller='{expression="implode( ',', output.globalControllers )"}'{{endif}} {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}} data-pageApp='{$location['app']}' data-pageLocation='front' data-pageModule='{$location['module']}' data-pageController='{$location['controller']}'> <a href='#elContent' class='ipsHide' title='{lang="jump_to_content_desc"}' accesskey='m'>{lang="jump_to_content"}</a> {template="offlineMessage" if="!settings.site_online && \IPS\Member::loggedIn()->group['g_access_offline']" app="core" group="global" params=""} <div id='ipsLayout_header' class='ipsClearfix'> {template="updateWarning" app="core" group="global" params=""} {template="lkeyWarning" app="core" group="global" location="global" params=""} {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavBar" app="core" group="global" params=""}{{endif}} <header> <div class='ipsLayout_container'> {template="logo" app="core" group="global" params=""} </div> </header> </div> <main id='ipsLayout_body' class='ipsLayout_container'> <div id='ipsLayout_contentArea'> <div id='ipsLayout_contentWrapper'> <div id='ipsLayout_mainArea'> <a id='elContent'></a> <p>ВАШ КОНТЕНТ</p> </div> </div> </div> </main> <footer id='ipsLayout_footer' class='ipsClearfix'> <div class='ipsLayout_container'> {advertisement="ad_global_footer"} {template="footer" app="core" group="global" params=""} </div> </footer> {template="viglink" if="settings.viglink_enabled" app="core" group="global" params=""} {template="metaTagEditor" if="isset( $_SESSION['live_meta_tags'] ) and $_SESSION['live_meta_tags'] and member.isAdmin()" app="core" group="global" params=""} {template="guestTermsBar" if="!\IPS\Member::loggedIn()->member_id and \IPS\Settings::i()->guest_terms_bar" app="core" group="global" params="base64_encode( \IPS\Settings::i()->base_url )"} <!--ipsQueryLog--> <!--ipsCachingLog--> {expression="output.endBodyCode" raw="true"} </body> </html> "ВАШ КОНТЕНТ" заменяете на свой текст
  6. Лайк
    eh1 отреагировална пост WoLFr4ge в Аватарки   
    На стандартном шаблоне проверьте
×
×
  • Создать...