у меня сейчас установлено 2 плагина
Viewcount — Показывает кол-во просмотров топика.
Просмотры — Сортировка топиков по числу просмотров.
их нужно отключить?
Можно так, но задержка 10сек идет только перед первым слайдом остальные пролистываются за 1 секунду, а вот как сделать чтобы задержка 10 сек. шла перед каждым слайдом я незнаю, вот код
var ls = ls || {};
ls.plugin = ls.plugin || {};
/**
* Динамическая подгрузка блоков
*/
ls.plugin.simpletpl = (function ($) {
this.options = {
};
this.iPageCurr=1;
this.iCountPage=3;
this.init = function(iCountPage){
this.iCountPage=iCountPage;
};
this.page = function(iPage) {
var margin=744*(iPage-1);
//$('#slider-hidden').css({'margin-left':'-'+margin+'px'});
$('#slider-hidden').animate({
'margin-left':'-'+margin+'px'
});
$('#simple-topictop-nav-page-'+this.iPageCurr).removeClass('active');
$('#simple-topictop-nav-page-'+iPage).addClass('active');
this.iPageCurr=iPage;
return false;
}
this.next = function() {
var iPageNext=this.iPageCurr+1;
if (iPageNext>this.iCountPage) {
iPageNext=this.iCountPage;
}
this.page(iPageNext);
return false;
}
this.prev = function() {
var iPageNext=this.iPageCurr-1;
if (iPageNext<1) {
iPageNext=1;
}
this.page(iPageNext);
return false;
}
var that = this;
function setTime()
{
that.next();
setTimeout(setTime, 2000);
}
setTimeout(setTime, 2000); // Установка таймера вызова переключения слайда. Интервал 2 секунды
return this;
}).call(ls.plugin.simpletpl || {},jQuery);
Вот код кнопки в форуме LS Board
Вчем может быть причина?
Viewcount — Показывает кол-во просмотров топика.
Просмотры — Сортировка топиков по числу просмотров.
их нужно отключить?
Как сделать также как у Вас
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'topic_topic.tpl'' in /home/0000/public_html/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_template.php:168 Stack trace: #0 /home/0000/public_html/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_template.php(557): Smarty_Internal_Template->isExisting(true) #1 /home/klyet/public_html/templates/compiled/m/224f185132e0189b7916d68f46859d583094e6bc.file.topic_list.tpl.php(33): Smarty_Internal_Template->getRenderedTemplate() #2 /home/0000/public_html/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_template.php(439): include('/home/0000/pub...') #3 /home/0000/public_html/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_template.php(574): Smarty_Internal_Template->renderTemplate() #4 /home/0000/public_html/templates/compiled/m/047e4a0bfff8268c4b3ae4905b5f4f7dc6f99f50.file.index.tpl.php(23): Smarty_Internal_Template->getRenderedTemplate() #5 /home/0000/public_html/engine/lib/external/Smar in /home/0000/public_html/engine/lib/external/Smarty/libs/sysplugins/smarty_internal_template.php on line 168
на 4.2 в sidebar.tpl было прописано
а сейчас ошибку выдает
в чем может быть проблема?