Jump to content

Сохранение GlobalTemplate

Featured Replies

Posted
comment_150261

Приветствую, файл GlobalTemplate отказывается сохраняться пишет "Невозможно сохранить стиль", как быть?

comment_150262
13 минут назад, nicked25 сказал:

Приветствую, файл GlobalTemplate отказывается сохраняться пишет "Невозможно сохранить стиль", как быть?

значит неверные правки вносишь 

  • Author
comment_150263
3 минуты назад, WOLF сказал:

значит неверные правки вносишь 

Как понять не верные правки? 

Есть код:

<footer>
  <ul>
    Тут разная шляпа
  </ul>
  
  
  бла бла бла
</footer>  

Убираю <ul> ----- </ul>

Пытаюсь сохранить и оно не хочет.

comment_150264
1 минуту назад, nicked25 сказал:

Как понять не верные правки? 

Есть код:


<footer>
  <ul>
    Тут разная шляпа
  </ul>
  
  
  бла бла бла
</footer>  

Убираю <ul> ----- </ul>

Пытаюсь сохранить и оно не хочет.

нужно показать какой код был и какой он стал, без всяких бла бла

  • Author
comment_150265
6 минут назад, WOLF сказал:

нужно показать какой код был и какой он стал, без всяких бла бла

<footer class="flex-rw"> 
<ul class="footer-list-top"> 
<li> 
<div class="footer-list-header">Портал</div></li> 
<li><a href='/promos.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">PROMOS</a></li> 
<li><a href='/retailers/new-retailers.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">BECOME A RETAILER</a></li> 

<li><a href='/job-openings.html' itemprop="significantLink" class="generic-anchor footer-list-anchor">JOB OPENINGS</a></li> 

<li><a href='/shop/about-show-schedule' class="generic-anchor footer-list-anchor" itemprop="significantLink">EVENTS</a></li> 
</ul> 
<ul class="footer-list-top"> 
<li> 
<div class="footer-list-header">Обсуждения</div></li> 
<li><a href='/shop/about-mission' class="generic-anchor footer-list-anchor" itemprop="significantLink">GET TO KNOW US</a></li> 
<li><a href='/promos.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">PROMOS</a></li> 
<li><a href='/retailers/new-retailers.html' class="generic-anchor footer-list-anchor" itemprop="significantLink">BECOME A RETAILER</a></li> 

<li><a href='/job-openings.html' itemprop="significantLink" class="generic-anchor footer-list-anchor">JOB OPENINGS</a></li> 

<li><a href='/shop/about-show-schedule' class="generic-anchor footer-list-anchor" itemprop="significantLink">EVENTS</a></li> 
</ul> 
<ul class="footer-list-top" style="border-left: 1px solid rgba(0,0,0,0.1);"> 
<li> 
<div class="footer-list-header">cs-babe.ru</div></li> 


<li><a href="/Angels/cat/id/70" class="generic-anchor footer-list-anchor">Главная страница</a></li> 
<li><a href="/Home-Decor/cat/id/64" class="generic-anchor footer-list-anchor">Новости</a></li> 
<li><a href="/Mugs/cat/id/32" class="generic-anchor footer-list-anchor">Технический раздел</a></li> 
<li><a href="/Pet-Lover/cat/id/108" class="generic-anchor footer-list-anchor">Конкуры</a></li> 
<li><a href="/Ladies-Accessories/cat/id/117" class="generic-anchor footer-list-anchor" target="_blank">Отзывы</a></li> 
</ul> 
<ul class="footer-list-top"> 
<li id='help'> 
<div class="footer-list-header">Баннеры</div></li> 
<li id='user-registration'> 

<!— Yandex.Metrika informer —> <a href="https://metrika.yandex.ru/stat/?id=45390006&from=informer..; target="_blank" rel="nofollow"><img src="https://informer.yandex.ru/informer/45390006/3_1_FFFFFFFF_EFE..; style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" class="ym-advanced-informer" data-cid="45390006" data-lang="ru" /></a> <!— /Yandex.Metrika informer —> <!— Yandex.Metrika counter —> <script type="text/javascript" > (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter45390006 = new Ya.Metrika({ id:45390006, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true, ecommerce:"dataLayer" }); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = "https://mc.yandex.ru/metrika/watch.js";; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <!— /Yandex.Metrika counter —> 

</li> 
<li id='order-tracking'><!--LiveInternet counter--><script type="text/javascript"> 
document.write("<a href='//www.liveinternet.ru/click'; "+ 
"target=_blank><img src='//counter.yadro.ru/hit?t15.6;r"+ 
escape(document.referrer)+((typeof(screen)=="undefined")?"": 
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? 
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ 
";"+Math.random()+ 
"' alt='' title='LiveInternet: показано число просмотров за 24"+ 
" часа, посетителей за 24 часа и за сегодня' "+ 
"border='0' width='88' height='31'><\/a>") 
</script><!--/LiveInternet--> 
</li> 
<li id='order-tracking'> 
<a href="https://www.cy-pr.com/a/cs-babe.ru"; target="_blank"><img
Авторизация
metrika.yandex.ru
GIF0 КБ
file.gif
src="https://www.cy-pr.com/e/cs-babe.ru_1_107.138.206.gif"; alt="Анализ сайта cs-babe.ru"/></a> 
</li> 
</ul>
<section class="footer-social-section flex-rw"> 
<span class="footer-social-overlap footer-social-connect"> 
CS-<span class="footer-social-small">BABE</span>.RU 
</span> 
<span class="footer-social-overlap footer-social-icons-wrapper"> 
<a href="/" class="generic-anchor" target="_blank" title="Pinterest" itemprop="significantLink"><i class="fa fa-pinterest"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Facebook" itemprop="significantLink"><i class="fa fa-facebook"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Twitter" itemprop="significantLink"><i class="fa fa-twitter"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Instagram" itemprop="significantLink"><i class="fa fa-instagram"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Youtube" itemprop="significantLink"><i class="fa fa-youtube"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Google Plus" itemprop="significantLink"><i class="fa fa-google-plus"></i></a> 
</span> 
</section> 
<section class="footer-bottom-section flex-rw"> 
<div class="footer-bottom-wrapper"> 
<i class="fa fa-copyright" role="copyright"> 

</i> 2018 style <address class="footer-address" role="company address">By Rouch</address><span class="footer-bottom-rights"> - All Rights Reserved - </span> 
</div> 
<div class="footer-bottom-wrapper"> 
{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'contact' ) ) and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}} 
{{$themes = \IPS\Theme::getThemesWithAccessPermission();}} 
{{if count ( $themes ) > 1 }} 
<a href='#elNavTheme_menu' id='elNavTheme' data-ipsMenu data-ipsMenu-above class="generic-anchor">{lang='skin'} <i class='fa fa-caret-down'></i></a> 
<ul id='elNavTheme_menu' class='ipsMenu ipsMenu_selectable ipsHide'> 
{{foreach $themes as $id => $set }} 
{{if $set->canAccess()}} 
<li class='ipsMenu_item{{if \IPS\Theme::i()->id == $id}} ipsMenu_itemChecked{{endif}}'> 
<form action="{url="app=core&module=system&controller=theme" noprotocol="true" csrf="true" seoTemplate="theme"}" method="post"> 
<button type='submit' name='id' value='{$id}' class='ipsButton ipsButton_link'>{lang="$set->_title"} {{if $set->is_default}}{lang="default"}{{endif}}</button> 
</form> 
</li> 
{{endif}} 
{{endforeach}} 
</ul> 
{{endif}} 
{{if \IPS\Settings::i()->privacy_type != "none"}} 
<li><a href='{{if \IPS\Settings::i()->privacy_type == "internal"}}{url="app=core&module=system&controller=privacy" seoTemplate="privacy"}{{else}}{setting="privacy_link"}{{endif}}'>{lang="privacy"}</a></li> 
{{endif}} | <a href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' data-ipsdialog data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}' data-ipsdialog-title="{lang="contact"}" class="generic-anchor">{lang='contact'}</a> 
{{endif}} | <a href="/" class="generic-anchor" rel="nofollow">Правила</a> 
</div> 
</section> 
{{if \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets()}} 
<button type='button' id='elWidgetControls' data-action='openSidebar' data-ipsTooltip title='{lang="manage_blocks"}' class='ipsButton ipsButton_primary ipsButton_narrow'><i class='fa fa-chevron-right'></i></button> 
{{endif}} 
</footer>

Который хочу сохранить.

<footer class="flex-rw"> 

<section class="footer-social-section flex-rw"> 
<span class="footer-social-overlap footer-social-connect"> 
CS-<span class="footer-social-small">BABE</span>.RU 
</span> 
<span class="footer-social-overlap footer-social-icons-wrapper"> 
<a href="/" class="generic-anchor" target="_blank" title="Pinterest" itemprop="significantLink"><i class="fa fa-pinterest"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Facebook" itemprop="significantLink"><i class="fa fa-facebook"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Twitter" itemprop="significantLink"><i class="fa fa-twitter"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Instagram" itemprop="significantLink"><i class="fa fa-instagram"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Youtube" itemprop="significantLink"><i class="fa fa-youtube"></i></a> 
<a href="/" class="generic-anchor" target="_blank" title="Google Plus" itemprop="significantLink"><i class="fa fa-google-plus"></i></a> 
</span> 
</section> 
<section class="footer-bottom-section flex-rw"> 
<div class="footer-bottom-wrapper"> 
<i class="fa fa-copyright" role="copyright"> 

</i> 2018 style <address class="footer-address" role="company address">By Rouch</address><span class="footer-bottom-rights"> - All Rights Reserved - </span> 
</div> 
<div class="footer-bottom-wrapper"> 
{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'contact' ) ) and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}} 
{{$themes = \IPS\Theme::getThemesWithAccessPermission();}} 
{{if count ( $themes ) > 1 }} 
<a href='#elNavTheme_menu' id='elNavTheme' data-ipsMenu data-ipsMenu-above class="generic-anchor">{lang='skin'} <i class='fa fa-caret-down'></i></a> 
<ul id='elNavTheme_menu' class='ipsMenu ipsMenu_selectable ipsHide'> 
{{foreach $themes as $id => $set }} 
{{if $set->canAccess()}} 
<li class='ipsMenu_item{{if \IPS\Theme::i()->id == $id}} ipsMenu_itemChecked{{endif}}'> 
<form action="{url="app=core&module=system&controller=theme" noprotocol="true" csrf="true" seoTemplate="theme"}" method="post"> 
<button type='submit' name='id' value='{$id}' class='ipsButton ipsButton_link'>{lang="$set->_title"} {{if $set->is_default}}{lang="default"}{{endif}}</button> 
</form> 
</li> 
{{endif}} 
{{endforeach}} 
</ul> 
{{endif}} 
{{if \IPS\Settings::i()->privacy_type != "none"}} 
<li><a href='{{if \IPS\Settings::i()->privacy_type == "internal"}}{url="app=core&module=system&controller=privacy" seoTemplate="privacy"}{{else}}{setting="privacy_link"}{{endif}}'>{lang="privacy"}</a></li> 
{{endif}} | <a href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' data-ipsdialog data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}' data-ipsdialog-title="{lang="contact"}" class="generic-anchor">{lang='contact'}</a> 
{{endif}} | <a href="/" class="generic-anchor" rel="nofollow">Правила</a> 
</div> 
</section> 
{{if \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets()}} 
<button type='button' id='elWidgetControls' data-action='openSidebar' data-ipsTooltip title='{lang="manage_blocks"}' class='ipsButton ipsButton_primary ipsButton_narrow'><i class='fa fa-chevron-right'></i></button> 
{{endif}} 
</footer>

 

Даже стандартный не хочет сохранять

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.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.