<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
			<channel>
			<title>Не работает скроллинг / Вопросы, проблемы и их решения / Alto CMS</title>
			<link>http://79.174.14.219/comments/1807/</link>
			<description><![CDATA[Перестали работать кнопки скролла по топикам и комментам, кнопка вверх работает. Если поставить другой шаблон, то весь скролл работает нормально.]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>Не работает скроллинг (comment #28743)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1807/#comment28743</guid>
					<link>http://79.174.14.219/1807.html#comment28743</link>
					<author>lk0dee@abrahabr.ru</author>
					<description><![CDATA[А на каком шаблоне не работает то]]></description>
					<pubDate>Tue, 28 Feb 2017 03:45:26 +0300</pubDate>
									</item>
							<item>
					<title>Не работает скроллинг (comment #28744)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1807/#comment28744</guid>
					<link>http://79.174.14.219/1807.html#comment28744</link>
					<author>vladislav2189@mail.ru</author>
					<description><![CDATA[Brand, не могу понять где именно косяк, все файлы посмотрел отвечающие за скролл, вроде все нормально]]></description>
					<pubDate>Tue, 28 Feb 2017 23:15:16 +0300</pubDate>
									</item>
							<item>
					<title>Не работает скроллинг (comment #28745)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1807/#comment28745</guid>
					<link>http://79.174.14.219/1807.html#comment28745</link>
					<author>vladislav2189@mail.ru</author>
					<description><![CDATA[Нашел из-за чего не работает скролл, но ни как не могу понять что и где надо поменять. Проблема в файле \tpls\topics\topic.type_default-list.tpl <br>
В настройках шаблона можно выбрать разный вывод топиков. У меня выбран стиль модерн. Если заменить файл «topic.type_default-list.tpl» из стоковых шаблонов то скролл работает отлично. Возвращаем все обратно скролл не работает =(<br>
<pre class="prettyprint"><code>
{$oBlog=$oTopic-&#62;getBlog()}
{$oUser=$oTopic-&#62;getUser()}	

{if Config::Get(&#39;view.site.topic_list&#39;) == &#39;modern&#39; or Config::Get(&#39;view.site.topic_list&#39;) !== &#39;standart&#39; and R::GetAction()==&#39;feed&#39;}
{if $oTopic-&#62;getPreviewImage()}
    {$sUrl=$oTopic-&#62;getPreviewImageUrl()}
{elseif $oTopic-&#62;getPhotosetMainPhoto()}
    {$sUrl=$oTopic-&#62;getPhotosetMainPhotoUrl()}
{/if}	
		{include file=&#39;tpls/topics/type/modern.tpl&#39;}
		
{elseif Config::Get(&#39;view.site.topic_list&#39;) == &#39;plitka&#39; and R::GetAction()!==&#39;feed&#39;}		
{if $oTopic-&#62;getPreviewImage()}
    {$sUrl=$oTopic-&#62;getPreviewImageUrl(&#39;400x250crop&#39;)}
{elseif $oTopic-&#62;getPhotosetMainPhoto()}
    {$sUrl=$oTopic-&#62;getPhotosetMainPhotoUrl(&#39;400x250crop&#39;)}
{/if}	
		{include file=&#39;tpls/topics/type/plitka.tpl&#39;}

{elseif Config::Get(&#39;view.site.topic_list&#39;) == &#39;classic&#39; and R::GetAction()!==&#39;feed&#39;}		
{if $oTopic-&#62;getPreviewImage()}
    {$sUrl=$oTopic-&#62;getPreviewImageUrl()}
{elseif $oTopic-&#62;getPhotosetMainPhoto()}
    {$sUrl=$oTopic-&#62;getPhotosetMainPhotoUrl()}
{/if}			
		{include file=&#39;tpls/topics/type/classic.tpl&#39;}

{elseif Config::Get(&#39;view.site.topic_list&#39;) == &#39;grid&#39; and R::GetAction()!==&#39;feed&#39;}	
{if $oTopic-&#62;getPreviewImage()}
    {$sUrl=$oTopic-&#62;getPreviewImageUrl(&#39;400x250crop&#39;)}
{elseif $oTopic-&#62;getPhotosetMainPhoto()}
    {$sUrl=$oTopic-&#62;getPhotosetMainPhotoUrl(&#39;400x250crop&#39;)}
{/if}	
			
		{include file=&#39;tpls/topics/type/grid.tpl&#39;}
					
{else}		
	
{$oVote=$oTopic-&#62;getVote()}
&#60;article class=&#34;topic topic-type_{$oTopic-&#62;getType()} js-topic&#34;&#62;
    {block name=&#34;topic_header&#34;}
        &#60;header class=&#34;topic-header&#34;&#62;
            {if E::IsUser() AND ($oTopic-&#62;CanEditedBy(E::User()) OR $oTopic-&#62;CanDeletedBy(E::User()))}
                &#60;ul class=&#34;list-unstyled list-inline small pull-right actions&#34;&#62;
                    &#60;li&#62;&#60;span class=&#34;glyphicon glyphicon-cog actions-tool&#34;&#62;&#60;/span&#62;&#60;/li&#62;
                    {if $oTopic-&#62;CanEditedBy(E::User())}
                        &#60;li&#62;
                            &#60;a href=&#34;{router page=&#39;content&#39;}edit/{$oTopic-&#62;getId()}/&#34; title=&#34;{$aLang.topic_edit}&#34; class=&#34;actions-edit&#34;&#62;
                                {$aLang.topic_edit}
                            &#60;/a&#62;
                        &#60;/li&#62;
                    {/if}

                    {if $oTopic-&#62;CanDeletedBy(E::User())}
                        &#60;li&#62;
                            &#60;a href=&#34;#&#34; class=&#34;actions-delete&#34; title=&#34;{$aLang.topic_delete}&#34;
                               onclick=&#34;ls.topic.remove(&#39;{$oTopic-&#62;getId()}&#39;, &#39;{$oTopic-&#62;getTitle()}&#39;); return false;&#34;&#62;
                                {$aLang.topic_delete}
                            &#60;/a&#62;
                        &#60;/li&#62;
                    {/if}
                &#60;/ul&#62;
            {/if}

            &#60;h2 class=&#34;topic-header-title&#34;&#62;
                &#60;a href=&#34;{$oTopic-&#62;getUrl()}&#34;&#62;{$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#60;/a&#62;

                {if $oTopic-&#62;getPublish() == 0}
                    &#60;span class=&#34;glyphicon glyphicon-file text-muted&#34; title=&#34;{$aLang.topic_unpublish}&#34;&#62;&#60;/span&#62;
                {/if}

                {if $oTopic-&#62;getType() == &#39;link&#39;}
                    &#60;span class=&#34;glyphicon glyphicon-globe text-muted&#34; title=&#34;{$aLang.topic_link}&#34;&#62;&#60;/span&#62;
                {/if}
            &#60;/h2&#62;

            &#60;div class=&#34;topic-header-info&#34;&#62;
                &#60;a href=&#34;{$oBlog-&#62;getUrlFull()}&#34; class=&#34;topic-blog&#34;&#62;{$oBlog-&#62;getTitle()|escape:&#39;html&#39;}&#60;/a&#62;

                &#60;time datetime=&#34;{date_format date=$oTopic-&#62;getDate() format=&#39;c&#39;}&#34;
                      title=&#34;{date_format date=$oTopic-&#62;getDate() format=&#39;j F Y, H:i&#39;}&#34; class=&#34;topic-info-date&#34;&#62;
                    {date_format date=$oTopic-&#62;getDate() hours_back=&#34;12&#34; minutes_back=&#34;60&#34; now=&#34;60&#34; day=&#34;day H:i&#34; format=&#34;j F Y, H:i&#34;}
                &#60;/time&#62;
            &#60;/div&#62;
        &#60;/header&#62;
    {/block}

    {block name=&#34;topic_content&#34;}
        &#60;div class=&#34;topic-content text&#34;&#62;
            {hook run=&#39;topic_content_begin&#39; topic=$oTopic bTopicList=true}

            {$oTopic-&#62;getTextShort()}

            &#60;div class=&#34;clearfix&#34;&#62;&#60;/div&#62;

            {if $oTopic-&#62;getTextShort()!=$oTopic-&#62;getText()}
                &#60;br/&#62;
                &#60;a href=&#34;{$oTopic-&#62;getUrl()}#cut&#34; title=&#34;{$aLang.topic_read_more}&#34; class=&#34;read-more&#34;&#62;
                    {if $oTopic-&#62;getCutText()}
                        {$oTopic-&#62;getCutText()}...
                    {else}
                        {$aLang.topic_read_more}...
                    {/if}
                &#60;/a&#62;
            {/if}

            {hook run=&#39;topic_content_end&#39; topic=$oTopic bTopicList=true}
        &#60;/div&#62;
    {/block}

    {block name=&#34;topic_footer&#34;}
        {$oBlog=$oTopic-&#62;getBlog()}
        {$oUser=$oTopic-&#62;getUser()}
        {$oVote=$oTopic-&#62;getVote()}
        {$oFavourite=$oTopic-&#62;getFavourite()}
        &#60;footer class=&#34;topic-footer&#34;&#62;
            {include file=&#34;fields/field.tags-list.tpl&#34;}

            &#60;div class=&#34;topic-share&#34; id=&#34;topic_share_{$oTopic-&#62;getId()}&#34;&#62;
                {hookb run=&#34;topic_share&#34; topic=$oTopic bTopicList=true}
                    &#60;div class=&#34;yashare-auto-init&#34; data-yashareTitle=&#34;{$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#34;
                         data-yashareLink=&#34;{$oTopic-&#62;getUrl()}&#34; data-yashareL10n=&#34;ru&#34; data-yashareType=&#34;none&#34;
                         data-yashareQuickServices=&#34;yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,gplus&#34;&#62;&#60;/div&#62;
                {/hookb}
            &#60;/div&#62;

            &#60;ul class=&#34;list-unstyled list-inline small topic-footer-info&#34;&#62;
                &#60;li class=&#34;topic-info-author js-popover-user-{$oUser-&#62;getId()}&#34;&#62;
                    &#60;a href=&#34;{$oUser-&#62;getProfileUrl()}&#34; class=&#34;avatar&#34;&#62;
                        &#60;img src=&#34;{$oUser-&#62;getAvatarUrl(&#39;mini&#39;)}&#34; alt=&#34;{$oUser-&#62;getDisplayName()}&#34; /&#62;
                    &#60;/a&#62;
                    &#60;a rel=&#34;author&#34; href=&#34;{$oUser-&#62;getProfileUrl()}&#34;&#62;{$oUser-&#62;getDisplayName()}&#60;/a&#62;
                &#60;/li&#62;
                &#60;li class=&#34;topic-info-favourite&#34;&#62;
                    &#60;a href=&#34;#&#34; onclick=&#34;return ls.favourite.toggle({$oTopic-&#62;getId()},this,&#39;topic&#39;);&#34;
                       class=&#34;favourite {if E::IsUser() AND $oTopic-&#62;getIsFavourite()}active{/if}&#34;&#62;&#60;span
                                class=&#34;glyphicon glyphicon-star&#34;&#62;&#60;/span&#62;&#60;/a&#62;
                    &#60;span class=&#34;text-muted favourite-count&#34;
                          id=&#34;fav_count_topic_{$oTopic-&#62;getId()}&#34;&#62;{$oTopic-&#62;getCountFavourite()}&#60;/span&#62;
                &#60;/li&#62;
                &#60;li class=&#34;topic-info-share&#34;&#62;&#60;a href=&#34;#&#34; class=&#34;glyphicon glyphicon-share-alt&#34;
                                                title=&#34;{$aLang.topic_share}&#34;
                                                onclick=&#34;jQuery(&#39;#topic_share_&#39; + &#39;{$oTopic-&#62;getId()}&#39;).slideToggle(); return false;&#34;&#62;&#60;/a&#62;
                &#60;/li&#62;

                &#60;li class=&#34;topic-info-comments&#34;&#62;
                    {if $oTopic-&#62;getCountCommentNew()}
                        &#60;a href=&#34;{$oTopic-&#62;getUrl()}#comments&#34; title=&#34;{$aLang.topic_comment_read}&#34; class=&#34;new&#34;&#62;
                            &#60;span class=&#34;glyphicon glyphicon-comment icon-active&#34;&#62;&#60;/span&#62;
                            &#60;span&#62;{$oTopic-&#62;getCountComment()}&#60;/span&#62;
                            &#60;span class=&#34;count&#34;&#62;+{$oTopic-&#62;getCountCommentNew()}&#60;/span&#62;
                        &#60;/a&#62;
                    {elseif $oTopic-&#62;getCountComment()}
                        &#60;a href=&#34;{$oTopic-&#62;getUrl()}#comments&#34; title=&#34;{$aLang.topic_comment_read}&#34;
                           class=&#34;icon-active&#34;&#62;
                            &#60;span class=&#34;glyphicon glyphicon-comment&#34;&#62;&#60;/span&#62;
                            &#60;span&#62;{$oTopic-&#62;getCountComment()}&#60;/span&#62;
                        &#60;/a&#62;
                    {else}
                        &#60;a href=&#34;{$oTopic-&#62;getUrl()}#comments&#34; title=&#34;{$aLang.topic_comment_read}&#34;&#62;
                            &#60;span class=&#34;glyphicon glyphicon-comment&#34;&#62;&#60;/span&#62;
                            &#60;span&#62;{$oTopic-&#62;getCountComment()}&#60;/span&#62;
                        &#60;/a&#62;
                    {/if}
                &#60;/li&#62;

                {hook run=&#39;topic_show_info&#39; topic=$oTopic oVote=$oVote}

            &#60;/ul&#62;

        &#60;/footer&#62;
    {/block}
&#60;/article&#62; &#60;!-- /.topic --&#62;
{/if}
{hook run=&#39;topic_list_end,topic_show_end&#39; topic=$oTopic bTopicList=true}

</code></pre><br>
\tpls\topics\type\modern.tpl<br>
<pre class="prettyprint"><code>
{$oFavourite=$oTopic-&#62;getFavourite()}
	&#60;div id=&#34;topic-thumbs&#34; class=&#34;row&#34;&#62;

&#60;article class=&#34;col-xs-12 topic item&#34;&#62;
    {block name=&#34;topic_header&#34;}

	&#60;div class=&#34;blog-classic-itemmood isotope-item&#34;&#62;
		&#60;div class=&#34;topic-plitka imgmooder&#34;&#62;
	    {if $oTopic-&#62;getPreviewImage() or $oTopic-&#62;getPhotosetMainPhoto()}
			&#60;a href=&#34;{$oTopic-&#62;getUrl()}&#34;&#62;&#60;img class=&#34;topic_previewhead zoom-it three&#34; src=&#34;{$sUrl}&#34; title=&#34;{$oBlog-&#62;getTitle()|escape:&#39;html&#39;}&#34;&#62;&#60;/a&#62;
		{/if}	
		&#60;/div&#62;
		&#60;div class=&#34;blog-modern-social-section&#34;&#62;&#60;div class=&#34;blog-share-container&#34;&#62;&#60;div class=&#34;blog-modern-share pow-toggle-trigger&#34;&#62;&#60;i class=&#34;icon-export&#34;&#62;&#60;/i&#62;&#60;/div&#62;
		    &#60;ul class=&#34;blog-social-share&#34;&#62;
			   &#60;li&#62;&#60;a href=&#34;http://share.yandex.ru/go.xml?service=vkontakte&url={$oTopic-&#62;getUrl()}&title={$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#34; rel=&#34;nofollow&#34; target=&#34;_blank&#34; class=&#34;icon-vkontakte&#34;&#62;&#60;/a&#62;&#60;/li&#62;			
		       &#60;li&#62;&#60;a href=&#34;http://share.yandex.ru/go.xml?service=facebook&url={$oTopic-&#62;getUrl()}&title={$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#34; rel=&#34;nofollow&#34; target=&#34;_blank&#34; class=&#34;icon-facebook&#34;&#62;&#60;/a&#62;&#60;/li&#62;
			   &#60;li&#62;&#60;a href=&#34;http://share.yandex.ru/go.xml?service=twitter&url={$oTopic-&#62;getUrl()}&title={$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#34; rel=&#34;nofollow&#34; target=&#34;_blank&#34; class=&#34;icon-twitter&#34;&#62;&#60;/a&#62;&#60;/li&#62;
			   &#60;li&#62;&#60;a href=&#34;http://share.yandex.ru/go.xml?service=odnoklassniki&url={$oTopic-&#62;getUrl()}&title={$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#34; rel=&#34;nofollow&#34; target=&#34;_blank&#34; class=&#34;icon-odnoklassniki&#34;&#62;&#60;/a&#62;&#60;/li&#62;
			&#60;/ul&#62;
			&#60;/div&#62;			
		&#60;a class=&#34;blog-modern-comment&#34; href=&#34;{$oTopic-&#62;getUrl()}#comments&#34;&#62;&#60;i class=&#34;icon-chat-empty&#34;&#62;&#60;/i&#62;&#60;span&#62;{$oTopic-&#62;getCountComment()}&#60;/span&#62;&#60;/a&#62;
		&#60;div class=&#34;pow-love-holder&#34;&#62;&#60;a href=&#34;#&#34; onclick=&#34;return ls.favourite.toggle({$oTopic-&#62;getId()},this,&#39;topic&#39;);&#34;
                       class=&#34;favourite {if E::IsUser() AND $oTopic-&#62;getIsFavourite()}activem{/if}&#34;&#62;&#60;i class=&#34;icon-heart-3&#34;&#62;&#60;/i&#62;&#60;span class=&#34;pow-love-count&#34; id=&#34;fav_count_topic_{$oTopic-&#62;getId()}&#34;&#62;{$oTopic-&#62;getCountFavourite()}&#60;/span&#62;&#60;/a&#62;&#60;/div&#62;&#60;/div&#62;
		
		&#60;div class=&#34;pow-blog-meta2&#34;&#62;
		{if Config::Get(&#39;user.autor.data&#39;)== &#39;true&#39;}
		&#60;div class=&#34;pow-blog-author&#34;&#62;{$aLang.modern_autor} &#60;a href=&#34;{$oUser-&#62;getUserWebPath()}&#34;&#62;{if Config::Get(&#39;user.name&#39;) == &#39;true&#39;}{if $oUser-&#62;getProfileName()}{$oUser-&#62;getProfileName()|escape:&#39;html&#39;}{else}{$oUser-&#62;getLogin()}{/if}{else}{$oUser-&#62;getLogin()}{/if}&#60;/a&#62;&#60;span class=&#34;sep&#34;&#62;/&#60;/span&#62;&#60;/div&#62;
        &#60;span class=&#34;pow-categories&#34;&#62;{$aLang.modern_publisher} &#60;a rel=&#34;category tag&#34; title=&#34;{$oBlog-&#62;getTitle()|escape:&#39;html&#39;}&#34; href=&#34;{$oBlog-&#62;getUrlFull()}&#34;&#62;{$oBlog-&#62;getTitle()|escape:&#39;html&#39;}&#60;/a&#62;&#60;/span&#62;
		&#60;span class=&#34;sep&#34;&#62;/&#60;/span&#62;
        &#60;time datetime=&#34;{date_format date=$oTopic-&#62;getDateAdd() format=&#39;c&#39;}&#34; title=&#34;{date_format date=$oTopic-&#62;getDateAdd() format=&#39;j F Y, H:i&#39;}&#34; class=&#34;moderntime&#34;&#62;
					{date_format date=$oTopic-&#62;getDateAdd() hours_back=&#34;12&#34; minutes_back=&#34;60&#34; now=&#34;60&#34; day=&#34;day H:i&#34; format=&#34;j F Y, H:i&#34;}
		&#60;/time&#62;
		{/if}
				&#60;h3 class=&#34;h3modern&#34;&#62;&#60;a href=&#34;{$oTopic-&#62;getUrl()}&#34;&#62;{$oTopic-&#62;getTitle()|escape:&#39;html&#39;}&#60;/a&#62;&#60;/h3&#62;
			
		
			{if Config::Get(&#39;www.topic.desc&#39;)== &#39;true&#39; and !$bTopicthumbText}
				{if $oTopic-&#62;getPreviewImage() or $oTopic-&#62;getPhotosetMainPhoto() and ($oTopic-&#62;getTitle()|count_characters:true &#60; 100)}
					&#60;p class=&#34;descmodern&#34;&#62;{$oTopic-&#62;getText()|strip_tags|truncate:260:&#34;...&#34;}&#60;/p&#62;
				{elseif !$oTopic-&#62;getPreviewImage() or !$oTopic-&#62;getPhotosetMainPhoto()}
					&#60;p class=&#34;descmodern&#34;&#62;{$oTopic-&#62;getText()|strip_tags|truncate:360:&#34;...&#34;}&#60;/p&#62;
				{/if}
			{/if}
			&#60;a href=&#34;{$oTopic-&#62;getUrl()}&#34; class=&#34;blog-modern-btn&#34;&#62;{$aLang.read}&#60;/a&#62;
		&#60;/div&#62;
		
	&#60;/div&#62;
    {/block}
	
&#60;/article&#62;
	&#60;/div&#62;
</code></pre>]]></description>
					<pubDate>Wed, 01 Mar 2017 00:59:44 +0300</pubDate>
									</item>
							<item>
					<title>Не работает скроллинг (comment #28746)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1807/#comment28746</guid>
					<link>http://79.174.14.219/1807.html#comment28746</link>
					<author>contidim@gmail.com</author>
					<description><![CDATA[Так может, стоит к продавцу шаблона обратиться?]]></description>
					<pubDate>Wed, 01 Mar 2017 11:26:05 +0300</pubDate>
									</item>
							<item>
					<title>Не работает скроллинг (comment #28749)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1807/#comment28749</guid>
					<link>http://79.174.14.219/1807.html#comment28749</link>
					<author>vladislav2189@mail.ru</author>
					<description><![CDATA[Он ушел отдавать долг родине на год... Вот и приходиться сидеть искать и исправлять все косяки =(]]></description>
					<pubDate>Thu, 02 Mar 2017 01:59:07 +0300</pubDate>
									</item>
					</channel>
	</rss>
