- Posts: 2
- Thank you received: 0
K2 Accordion Collapse by Default
- Marcus Odum
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
10 years 3 months ago #7960
by Marcus Odum
K2 Accordion Collapse by Default was created by Marcus Odum
Please see attached image. The initial item is currently expanded. I tried to modify in the mod_k2_content/accordion defult file, but it does not affect the module.
Attachment accordino.jpg not found
Attachments:
Please Log in or Create an account to join the conversation.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
10 years 3 months ago #7966 by Trung Duong
Replied by Trung Duong on topic K2 Accordion Collapse by Default
Hi,
If you want closed all items as default then you can edit file: templates/ot_clinical/html/mod_k2_content/accordion/default.php
then remove this code:
on line 23
and
on line 32.
Best Regards
If you want closed all items as default then you can edit file: templates/ot_clinical/html/mod_k2_content/accordion/default.php
then remove this code:
Code:
<?php echo $key==0 ? ' active' : ''; ?>
and
Code:
<?php echo $key==0 ? ' in' : ''; ?>
Best Regards
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!


[img]...[/img]
[img]...[/img]
[img]...[/img]
The following user(s) said Thank You: Marcus Odum
Please Log in or Create an account to join the conversation.
- Marcus Odum
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 2
- Thank you received: 0
10 years 3 months ago #7969
by Marcus Odum
Replied by Marcus Odum on topic K2 Accordion Collapse by Default
That did the trick. Thanks!
Please Log in or Create an account to join the conversation.
Time to create page: 0.187 seconds