Zobacz pełną wersję : SP Accordion module
Witam
zainstalowałęm w/w modul na test wrzucilem dane, problem jest taki że one są od razu rozwinięte a treść ma się rozwijać po kliknięciu ew najechaniu
w module poprzestawialem wszystko ale nic to nie zmienia proszę o info co jest nie tak
http://ozorkowstarowka.pl/index.php
siristru
08-08-2019, 15:14
Moja rada, rzuć ten moduł :) Utwórz zwykłym moduł typu "Własny" i skorzystaj z tego: https://getbootstrap.com/docs/4.1/components/collapse/#accordion-example
Ten kod:
<div class="accordion" id="accordionExample">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Collapsible Group Item #1
</button>
</h5>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample">
<div class="card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Collapsible Group Item #2
</button>
</h5>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionExample">
<div class="card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Collapsible Group Item #3
</button>
</h5>
</div>
<div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionExample">
<div class="card-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
</div>
I zobacz czy zadziała :)
tylko jak chce utworzyc wlasny modul to musze wybrac jakis typ z proponowanych w joomla
siristru
08-08-2019, 15:28
jakis typ z proponowanych w joomla
Dokładnie, taki typ nazywa się "Własny" :) lub "Custom" po angielsku :D
siristru
08-08-2019, 16:40
A u mnie tak: http://siristru.prolusatia.pl/ a przełącz na szablon Protostar?
to jest Protostar dodam że facebook slider także nie działa nie wiem czy to ten sam problem ma wplyw na to
siristru
08-08-2019, 17:28
Bosze... odmienione nie do poznania :)
<script src="http://ozorkowstarowka.pl/plugins/system/omgshortcodes/assets/js/all.js"></script>
<script src="http://ozorkowstarowka.pl/plugins/system/omgshortcodes/assets/js/imagesloaded.pkgd.min.js"></script>
<script src="http://ozorkowstarowka.pl/plugins/system/omgshortcodes/assets/js/isotope.pkgd.min.js"></script>
<script src="/components/com_creativeimageslider/assets/js/creativelib.js"></script>
<script src="/components/com_creativeimageslider/assets/js/creativelib-ui.js"></script>
<script src="/components/com_creativeimageslider/assets/js/jquery.mobile.custom.js"></script>
<script src="/components/com_creativeimageslider/assets/js/mousewheel.js"></script>
<script src="/components/com_creativeimageslider/assets/js/creativeimagesliderlightbox.js?version=3.1.0"></script>
<script src="/components/com_creativeimageslider/assets/js/creativeimageslider.js?version=3.1.0"></script>
<script src="/components/com_creativeimageslider/assets/js/main.js?version=3.1.0"></script>
<script src="/modules/mod_djmenu/assets/js/jquery.djselect.js"></script>
<script src="/modules/mod_djmenu/assets/js/jquery.djmenu.js"></script>
<script src="http://ozorkowstarowka.pl/modules/mod_facebook_slider_sidebar/assets/js/main.js"></script>
Masz mnóstwo różnych skryptów. Spróbuj wyłączać po kolei rozszerzenia powiązanie z nimi. Pewnie skrypty się "gryzą".
Powiem tak nie znalazlem rozwiazania w/w problemu :(
główny problem Uncaught TypeError: $(...).tooltip is not a function
siristru
09-08-2019, 19:48
Czy wyłączyłeś:
mod_djmenu
mod_facebook_slider_sidebar
com_creativeimageslider
omgshortcodes
Wyłącz i daj znać.
Wielkie dzieki mialem sporo syfu wiec zainstalowalem joomle od nowa i dziala teraz bede walczyl z fb -slider-em
a co powiesz na to tzn na slider http://ozorkowstarowka.pl/ powinien wygladac jak slider nr 2 wiem ze to problem w css ale nie moge go zlokalizowac
siristru
13-08-2019, 22:56
Błąd jQuery: http://prntscr.com/osa9rz
W pliku ROOT/templates/protostar/js/template.js na samym końcu masz funkcje:
$(document).ready(function() {
$("#news-slider2").owlCarousel({
items:3,
itemsDesktop:[1199,2],
itemsDesktopSmall:[980,2],
itemsMobile:[600,1],
pagination:false,
navigationText:false,
autoPlay:true
});
});
Zamień znaki $ na "jQuery" (bez cudzysłowu).
teraz wywalilo tak
template.js?84c40c39743136ebff70adaf40a099d5:77 Uncaught TypeError: jQuery(...).owlCarousel is not a function
at HTMLDocument.<anonymous> (template.js?84c40c39743136ebff70adaf40a099d5:77)
at u (jquery.min.js?84c40c39743136ebff70adaf40a099d5:2)
at Object.fireWith [as resolveWith] (jquery.min.js?84c40c39743136ebff70adaf40a099d5:2)
at Function.ready (jquery.min.js?84c40c39743136ebff70adaf40a099d5:2)
at HTMLDocument._ (jquery.min.js?84c40c39743136ebff70adaf40a099d5:2)
jQuery(document).ready(function() {
jQuery("#news-slider2").owlCarousel({
items:3,
itemsDesktop:[1199,2],
itemsDesktopSmall:[980,2],
itemsMobile:[600,1],
pagination:false,
navigationText:false,
autoPlay:true
});
}
co jest nie tak ?
vBulletin® v4.2.5, Prawa przedruku © 2024 vBulletin Solutions, Inc. Wszystkie prawa zastrzeżone.
Tłumaczenie: Polskie Centrum Joomla!