Прошу сильно не пинать, вроде в поиске был, темы поднимавшиеся - читал, но полдня пытаюсь вставить карусель на основе jcarousel и не получается:
установил модуль jCarousel 6.x-2.6, в page.tpl.php в области шапки вставил код из примера:
<li><img src="http://static.flickr.com/66/199481236_dc98b5abb3_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/75/199481072_b4a0d09597_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/57/199481087_33ae73a8de_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/77/199481108_4359e6b971_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/58/199481143_3c148d9dd3_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/72/199481203_ad4cdcf109_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/58/199481218_264ce20da0_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/69/199481255_fdfe885f87_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/60/199480111_87d4cb3e38_s.jpg" width="75" height="75" alt="" /></li>
<li><img src="http://static.flickr.com/70/229228324_08223b70fa_s.jpg" width="75" height="75" alt="" /></li>
</ul>
<?php jcarousel_add('horizontalcarousel'); ?>
но на месте карусели - список из вертикально расположенных картинок.
Обратил внимание, что карусель на странице /admin/help/jcarousel работает, в админке - тема garland, во фронтэнде своя - переделанная из garland.
Также при сравнении исходного кода видно, что в админке подгружаются следующие стили и скрипты:
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/admin_menu/admin_menu.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/admin.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/lightbox2/css/lightbox.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/modules/fieldgroup/fieldgroup.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/jcarousel/skins/default/jcarousel-default.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/jcarousel/skins/tango/jcarousel-tango.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/themes/garland/style.css?l" />
<link type="text/css" rel="stylesheet" media="print" href="/themes/garland/print.css?l" />
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js?l"></script>
<script type="text/javascript" src="/misc/drupal.js?l"></script>
<script type="text/javascript" src="/sites/default/files/languages/ru_52b5585c5ae0771f3308a56a9d69925b.js?l"></script>
<script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?l"></script>
<script type="text/javascript" src="/sites/all/modules/lightbox2/js/lightbox.js?l"></script>
<script type="text/javascript" src="/misc/collapse.js?l"></script>
<script type="text/javascript" src="/sites/all/modules/jcarousel/js/jquery.jcarousel.min.js?l"></script>
<script type="text/javascript" src="/sites/all/modules/jcarousel/js/jcarousel.js?l"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "jcarousel": { "ajaxPath": "/jcarousel/ajax/views", "carousels": { "horizontalcarousel": { "skin": "default", "selector": ".horizontalcarousel" }, "verticalcarousel": { "vertical": true, "skin": "default", "selector": ".verticalcarousel" }, "differentskin": { "skin": "tango", "selector": ".differentskin" }, "jcarousel-id-1": { "buttonNextEvent": "mouseover", "buttonPrevEvent": "mouseover", "skin": "default", "selector": ".jcarousel-id-1" }, "jcarousel-id-2": { "wrap": "circular", "skin": "default", "selector": ".jcarousel-id-2" }, "jcarousel-id-3": { "buttonNextEvent": "mouseover", "buttonPrevEvent": "mouseover", "skin": "default", "selector": ".jcarousel-id-3" }, "jcarousel-id-4": { "wrap": "circular", "skin": "default", "selector": ".jcarousel-id-4" } } }, "lightbox2": { "rtl": "0", "file_path": "/(\\w\\w/)sites/default/files", "default_image": "/sites/all/modules/lightbox2/images/brokenimage.jpg", "border_size": 10, "font_color": "000", "box_color": "fff", "top_position": "", "overlay_opacity": "0.8", "overlay_color": "000", "disable_close_click": true, "resize_sequence": 0, "resize_speed": 400, "fade_in_speed": 400, "slide_down_speed": 600, "use_alt_layout": false, "disable_resize": false, "disable_zoom": false, "force_show_nav": false, "show_caption": true, "loop_items": false, "node_link_text": "View Image Details", "node_link_target": false, "image_count": "Image !current of !total", "video_count": "Video !current of !total", "page_count": "Page !current of !total", "lite_press_x_close": "press \x3ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\x3e\x3ckbd\x3ex\x3c/kbd\x3e\x3c/a\x3e to close", "download_link_text": "Download Original", "enable_login": false, "enable_contact": false, "keys_close": "c x 27", "keys_previous": "p 37", "keys_next": "n 39", "keys_zoom": "z", "keys_play_pause": "32", "display_image_size": "", "image_node_sizes": "()", "trigger_lightbox_classes": "", "trigger_lightbox_group_classes": "", "trigger_slideshow_classes": "", "trigger_lightframe_classes": "", "trigger_lightframe_group_classes": "", "custom_class_handler": 0, "custom_trigger_classes": "", "disable_for_gallery_lists": true, "disable_for_acidfree_gallery_lists": true, "enable_acidfree_videos": true, "slideshow_interval": 5000, "slideshow_automatic_start": true, "slideshow_automatic_exit": true, "show_play_pause": true, "pause_on_next_click": false, "pause_on_previous_click": true, "loop_slides": false, "iframe_width": 600, "iframe_height": 400, "iframe_border": 1, "enable_video": false } });
//--><!]]>
</script>
<!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="/themes/garland/fix-ie.css" /> <![endif]-->
а во фронтэнде:
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/lightbox2/css/lightbox.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/modules/fieldgroup/fieldgroup.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/east-map/style.css?l" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/east-map/css/jcarousel-default.css?l" />
<link type="text/css" rel="stylesheet" media="print" href="/sites/all/themes/east-map/print.css?l" />
<script type="text/javascript" src="/sites/all/modules/jquery_update/replace/jquery.min.js?l"></script>
<script type="text/javascript" src="/misc/drupal.js?l"></script>
<script type="text/javascript" src="/sites/default/files/languages/ru_52b5585c5ae0771f3308a56a9d69925b.js?l"></script>
<script type="text/javascript" defer="defer" src="/sites/all/modules/admin_menu/admin_menu.js?l"></script>
<script type="text/javascript" src="/sites/all/modules/lightbox2/js/lightbox.js?l"></script>
<script type="text/javascript" src="/sites/all/themes/east-map/calc.js?l"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "jcarousel": { "ajaxPath": "/jcarousel/ajax/views" }, "lightbox2": { "rtl": "0", "file_path": "/(\\w\\w/)sites/default/files", "default_image": "/sites/all/modules/lightbox2/images/brokenimage.jpg", "border_size": 10, "font_color": "000", "box_color": "fff", "top_position": "", "overlay_opacity": "0.8", "overlay_color": "000", "disable_close_click": true, "resize_sequence": 0, "resize_speed": 400, "fade_in_speed": 400, "slide_down_speed": 600, "use_alt_layout": false, "disable_resize": false, "disable_zoom": false, "force_show_nav": false, "show_caption": true, "loop_items": false, "node_link_text": "View Image Details", "node_link_target": false, "image_count": "Image !current of !total", "video_count": "Video !current of !total", "page_count": "Page !current of !total", "lite_press_x_close": "press \x3ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\x3e\x3ckbd\x3ex\x3c/kbd\x3e\x3c/a\x3e to close", "download_link_text": "Download Original", "enable_login": false, "enable_contact": false, "keys_close": "c x 27", "keys_previous": "p 37", "keys_next": "n 39", "keys_zoom": "z", "keys_play_pause": "32", "display_image_size": "", "image_node_sizes": "()", "trigger_lightbox_classes": "", "trigger_lightbox_group_classes": "", "trigger_slideshow_classes": "", "trigger_lightframe_classes": "", "trigger_lightframe_group_classes": "", "custom_class_handler": 0, "custom_trigger_classes": "", "disable_for_gallery_lists": true, "disable_for_acidfree_gallery_lists": true, "enable_acidfree_videos": true, "slideshow_interval": 5000, "slideshow_automatic_start": true, "slideshow_automatic_exit": true, "show_play_pause": true, "pause_on_next_click": false, "pause_on_previous_click": true, "loop_slides": false, "iframe_width": 600, "iframe_height": 400, "iframe_border": 1, "enable_video": false } });
//--><!]]>
</script>
<!--[if lt IE 7]>
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/east-map/fix-ie.css" /> <![endif]-->
Как я понимаю не подгружаются во фронтэнде вот эти скрипты:
Из-за чего это может быть и как поправить?