LSGallery и Мобильный шаблон
Если вы используете галерею в мобильном шаблоне, то загрузка изображений просто не работает или устарела. Чиним так:
В templates/skin/mobile/settings/config/config.php
Меняем:
На:
В templates/skin/mobile/settings/config/config.php
Меняем:
$config['head']['default']['js'] = array( "___path.root.engine_lib___/external/html5shiv.js" => array('browser'=>'lt IE 9'), "___path.root.engine_lib___/external/jquery/jquery.js", "___path.root.engine_lib___/external/jquery/jquery.jqmodal.js", "___path.root.engine_lib___/external/jquery/jquery-ui.js", "___path.root.engine_lib___/external/jquery/jquery.notifier.js", "___path.root.engine_lib___/external/jquery/jquery.scrollto.js", "___path.root.engine_lib___/external/jquery/jquery.rich-array.min.js", "___path.root.engine_lib___/external/jquery/markitup/jquery.markitup.js", "___path.root.engine_lib___/external/jquery/jquery.form.js", "___path.root.engine_lib___/external/jquery/jquery.jqplugin.js", "___path.root.engine_lib___/external/jquery/jquery.cookie.js", "___path.root.engine_lib___/external/jquery/jquery.serializejson.js", "___path.root.engine_lib___/external/jquery/jquery.file.js", "___path.root.engine_lib___/external/jquery/jquery.placeholder.min.js", "___path.root.engine_lib___/external/jquery/jquery.charcount.js", "___path.root.engine_lib___/internal/template/js/main.js", "___path.root.engine_lib___/internal/template/js/favourite.js", "___path.root.engine_lib___/internal/template/js/blocks.js", "___path.root.engine_lib___/internal/template/js/talk.js", "___path.root.engine_lib___/internal/template/js/vote.js", "___path.root.engine_lib___/internal/template/js/poll.js", "___path.root.engine_lib___/internal/template/js/subscribe.js", "___path.root.engine_lib___/internal/template/js/geo.js", "___path.root.engine_lib___/internal/template/js/wall.js", "___path.root.engine_lib___/internal/template/js/usernote.js", "___path.root.engine_lib___/internal/template/js/comments.js", "___path.root.engine_lib___/internal/template/js/blog.js", "___path.root.engine_lib___/internal/template/js/user.js", "___path.root.engine_lib___/internal/template/js/userfeed.js", "___path.root.engine_lib___/internal/template/js/userfield.js", "___path.root.engine_lib___/internal/template/js/stream.js", "___path.root.engine_lib___/internal/template/js/photoset.js", "___path.root.engine_lib___/internal/template/js/toolbar.js", "___path.root.engine_lib___/internal/template/js/settings.js", "___path.root.engine_lib___/internal/template/js/topic.js", "___path.root.engine_lib___/internal/template/js/hook.js", "___path.static.skin___/js/template.js", "___path.static.skin___/js/lightbox.js", "___path.static.skin___/js/libs/jquery.touchswipe.js", "___path.static.skin___/js/libs/jquery.swipegallery.js", "___path.static.skin___/js/libs/jquery.fitvids.js", "http://yandex.st/share/share.js" => array('merge'=>false), );
На:
$config['head']['default']['js'] = Config::Get('head.default.js'); $config['head']['default']['js'][] = '___path.root.engine_lib___/external/html5shiv.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.jqmodal.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery-ui.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.notifier.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.scrollto.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.rich-array.min.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/markitup/jquery.markitup.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.form.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.jqplugin.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.cookie.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.serializejson.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.file.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.placeholder.min.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/external/jquery/jquery.charcount.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/main.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/favourite.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/blocks.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/talk.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/vote.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/poll.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/subscribe.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/geo.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/wall.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/usernote.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/comments.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/blog.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/user.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/userfeed.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/userfield.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/stream.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/photoset.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/toolbar.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/settings.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/topic.js'; $config['head']['default']['js'][] = '___path.root.engine_lib___/internal/template/js/hook.js'; $config['head']['default']['js'][] = '___path.static.skin___/js/template.js'; $config['head']['default']['js'][] = '___path.static.skin___/js/lightbox.js'; $config['head']['default']['js'][] = '___path.static.skin___/js/libs/jquery.touchswipe.js'; $config['head']['default']['js'][] = '___path.static.skin___/js/libs/jquery.swipegallery.js'; $config['head']['default']['js'][] = '___path.static.skin___/js/libs/jquery.fitvids.js'; $config['head']['default']['js'][] = '___http://yandex.st/share/share.js';