Axxxmatov Posted May 24 Report Share Posted May 24 Приветствую всех, подскажите как поднять меню, на потолок сайта как шапка что бы была, в шаблоне sendo Quote Link to comment Share on other sites More sharing options...
Axxxmatov Posted May 25 Author Report Share Posted May 25 хелп Quote Link to comment Share on other sites More sharing options...
AHristich Posted May 26 Report Share Posted May 26 В 25.05.2023 в 01:16, Axxxmatov сказал: Приветствую всех, подскажите как поднять меню, на потолок сайта как шапка что бы была, в шаблоне sendo в файле globalTemplate ищите подключение шаблона nav и переносите куда вам угодно. Quote Link to comment Share on other sites More sharing options...
Axxxmatov Posted May 26 Author Report Share Posted May 26 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> Quote Link to comment Share on other sites More sharing options...
AHristich Posted May 27 Report Share Posted May 27 {template="__menu" app="core" group="__sendo" params=""} переноси куда тебе надо. Axxxmatov 1 Quote Link to comment Share on other sites More sharing options...
Axxxmatov Posted June 1 Author Report Share Posted June 1 В 27.05.2023 в 04:10, AHristich сказал: {template="__menu" app="core" group="__sendo" params=""} переноси куда тебе надо. Помгло, спасибор огромное, а скажите как сделать так что бы оно закрепилась, в потолке сайта, когда спускаешь вниз Quote Link to comment Share on other sites More sharing options...
AHristich Posted June 2 Report Share Posted June 2 8 часов назад, Axxxmatov сказал: Помгло, спасибор огромное, а скажите как сделать так что бы оно закрепилась, в потолке сайта, когда спускаешь вниз https://invisionbyte.ru/docs/custom/javascript/ipsuisticky-r211/ Axxxmatov 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.