Axxxmatov Опубликовано 24 мая, 2023 Поделиться Опубликовано 24 мая, 2023 Приветствую всех, подскажите как поднять меню, на потолок сайта как шапка что бы была, в шаблоне sendo Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Axxxmatov Опубликовано 25 мая, 2023 Автор Поделиться Опубликовано 25 мая, 2023 хелп Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
AHristich Опубликовано 26 мая, 2023 Поделиться Опубликовано 26 мая, 2023 В 25.05.2023 в 01:16, Axxxmatov сказал: Приветствую всех, подскажите как поднять меню, на потолок сайта как шапка что бы была, в шаблоне sendo в файле globalTemplate ищите подключение шаблона nav и переносите куда вам угодно. Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Axxxmatov Опубликовано 26 мая, 2023 Автор Поделиться Опубликовано 26 мая, 2023 18 часов назад, AHristich сказал: в файле globalTemplate ищите подключение шаблона nav и переносите куда вам угодно. Помогите пожалуйста, я поискал не могу найти что то вот код мне надо прям в потолок сайта Спойлер <!DOCTYPE html> {{$themeColor = \in_array( request.cookie['userSendo_color'], array( "dark", "white" ) ) ? request.cookie['userSendo_color'] : theme.sendo__color_default;}} <html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}" {{if theme.sendo__color_on == '1'}}class='theme--{$themeColor}'{{else}}class='theme--{theme="sendo__color_default'}'{{endif}}> <head> <meta charset="utf-8"> {{if settings.core_datalayer_enabled}} {template="includeDataLayer" app="core" group="global" location="front"} {{endif}} <title>{expression="output.getTitle( $title )"}</title> {{if settings.ga_enabled}} {setting="ga_code"} {{endif}} {{if settings.matomo_enabled}} {setting="matomo_code"} {{endif}} {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_head_code"} {{endif}} {template="includeMeta" app="core" group="global" location="global" params=""} {template="includeCSS" app="core" group="global" location="global" params=""} {template="__include__js" if="theme.js_include != 'footer'" app="core" group="__sendo" params=""} {template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""} {template="favico" app="core" group="global" location="front" params=""} {template="__include__css" app="core" group="__sendo" 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']}' {{if isset( \IPS\Request::i()->id )}}data-pageID='{expression="(int) \IPS\Request::i()->id"}'{{endif}} {{if isset( \IPS\Dispatcher::i()->dispatcherController ) AND !\IPS\Dispatcher::i()->dispatcherController->isContentPage }}data-nocontent{{endif}} {{if output.pageName}}data-pageName="{expression="output.pageName"}"{{endif}}> {theme="headerHtml"} {{if settings.googletag_enabled AND !(settings.core_datalayer_use_gtm AND settings.core_datalayer_enabled)}} {setting="googletag_noscript_code"} {{endif}} {{if settings.core_datalayer_enabled}} {template="includeDataLayerBody" app="core" group="global" location="front"} {{endif}} <a href='#ipsLayout_mainArea' class='ipsHide' title='{lang="jump_to_content_desc"}' accesskey='m'>{lang="jump_to_content"}</a> <div id='ipsLayout_header' class='ipsClearfix'> {template="updateWarning" app="core" group="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="__header" app="core" group="__sendo" params=""} </div> </header> </div> {template="__menu" app="core" group="__sendo" params=""} {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"} {template="__menu" app="core" group="__sendo" params=""} {template="__slider" app="core" group="__sendo" params=""} <main id='ipsLayout_body' class='ipsLayout_container'> <div id='ipsLayout_contentArea'> <div id='ipsLayout_contentWrapper'> {template="breadcrumb" app="core" group="global" params="'top'"} <div id='ipsLayout_mainArea'> {advertisement="ad_global_header"} {template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"} {{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}} {template="profileNextStep" group="global" app="core" params="$nextStep, true"} {{endif}} {template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"} {$html|raw} {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"} </div> {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} {template="breadcrumb" app="core" group="global" params="'bottom'"} </div> </div> {template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"} </main> <div id='sendo__footer'> {template="__footer__top" app="core" group="__sendo" params=""} <footer id='ipsLayout_footer' class='ipsClearfix'> <div class='ipsLayout_container'> {template="__footer" app="core" group="__sendo" params=""} </div> </footer> </div> {template="mobileNavigation" if="theme.responsive" 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 )"} {template="__include__js" if="theme.js_include == 'footer'" app="core" group="__sendo" params=""} {template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""} {template="metaTagEditor" if="isset( $_SESSION['live_meta_tags'] ) and $_SESSION['live_meta_tags'] and member.isAdmin()" app="core" group="global" params=""} <!--ipsQueryLog--> <!--ipsCachingLog--> {expression="output.endBodyCode" raw="true"} {{if settings.fb_pixel_enabled and settings.fb_pixel_id and $noscript = \IPS\core\Facebook\Pixel::i()->noscript()}} <noscript> {$noscript|raw} </noscript> {{endif}} {{if settings.custom_body_code}} {setting="custom_body_code"} {{endif}} {theme="footerHtml"} {template="__svg" app="core" group="__sendo" params=""} {{if theme.sendo__goup_sticky == '1'}}<button id='sendo__go_up'><i class="{theme='sendo__goup_sticky_icon'}"></i></button>{{endif}} </body> </html> Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
AHristich Опубликовано 27 мая, 2023 Поделиться Опубликовано 27 мая, 2023 {template="__menu" app="core" group="__sendo" params=""} переноси куда тебе надо. Axxxmatov и MikeWolf 2 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Axxxmatov Опубликовано 1 июня, 2023 Автор Поделиться Опубликовано 1 июня, 2023 В 27.05.2023 в 04:10, AHristich сказал: {template="__menu" app="core" group="__sendo" params=""} переноси куда тебе надо. Помгло, спасибор огромное, а скажите как сделать так что бы оно закрепилась, в потолке сайта, когда спускаешь вниз Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
AHristich Опубликовано 2 июня, 2023 Поделиться Опубликовано 2 июня, 2023 8 часов назад, Axxxmatov сказал: Помгло, спасибор огромное, а скажите как сделать так что бы оно закрепилась, в потолке сайта, когда спускаешь вниз https://invisionbyte.ru/docs/custom/javascript/ipsuisticky-r211/ Axxxmatov 1 Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.