-
AuthorPosts
-
December 22, 2016 at 11:23 pm #996767
Are there any possibilities to get the accordion secction all tabs closed at the beggingin?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 23, 2016 at 2:09 am #996805Hi
Go to /templates/ja_mono/acm/accordion/tmpl/style-1.php line 31
Find and remove the below code.<?php if($i==0) echo 'in' ?>
save and check.
December 25, 2016 at 3:08 am #997110ok thats works,
but the tab looks blue with – symbol, the appearance must be grey and + symbol.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 26, 2016 at 1:46 am #997242Hi
may I have the screenshot please , how you would like to display the module ?brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
January 5, 2017 at 4:16 pm #999961Hi
ive deleted this code but i have the same problemThe first tab must be grey with plus icon like the second…
thanks Luca
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 6, 2017 at 1:41 am #1000074Hi @brusamolino
Kindly post the URL of site here.brusamolino Friendbrusamolino
- Join date:
- January 2009
- Posts:
- 273
- Downloads:
- 75
- Uploads:
- 70
- Thanks:
- 56
- Thanked:
- 10 times in 2 posts
January 6, 2017 at 11:57 am #1000263This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 8, 2017 at 3:32 pm #1000604Hi
I fixed it directly on your site .
Here is the modified code of this acm file<?php /** * ------------------------------------------------------------------------ * JA Mono Template * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - Copyrighted Commercial Software * Author: J.O.O.M Solutions Co., Ltd * Websites: http://www.joomlart.com - http://www.joomlancers.com * This file may not be redistributed in whole or significant part. * ------------------------------------------------------------------------ */ defined('_JEXEC') or die; ?> <div class="acm-accordion panel-group" id="acm-accordion<?php echo $module->id; ?>" role="tablist" aria-multiselectable="true"> <div class="block-desc"><?php echo $helper->get('block-intro'); ?></div> <?php $count = $helper->getRows('data.accordion-name'); ?> <?php for ($i=0; $i<$count; $i++) : ?> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="heading-<?php echo $module->id; ?><?php echo $i ?>"> <h4 class="panel-title"> <a class="panel-collapse collapsed" data-toggle="collapse" data-parent="#acm-accordion<?php echo $module->id; ?>" href="#collapse-<?php echo $module->id; ?><?php echo $i ?>" aria-expanded="false" aria-controls="collapse-<?php echo $module->id; ?><?php echo $i ?>"> <span class="marker"> <span class="marker-close"><i class="fa fa-plus"></i></span> <span class="marker-open"><i class="fa fa-minus"></i></span> </span> <?php echo $helper->get('data.accordion-name', $i) ; ?> </a> </h4> </div> <div id="collapse-<?php echo $module->id; ?><?php echo $i ?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="#acm-accordion<?php echo $module->id; ?>" aria-expanded="<?php if($i==0) echo 'false' ?>"> <div class="panel-body"><?php echo $helper->get('data.accordion-desc', $i) ; ?></div> </div> </div> <?php endfor ?> </div>
1 user says Thank You to Pankaj Sharma for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 3 voices, and was last updated by Pankaj Sharma 7 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
acordion tabs all closed?
Viewing 8 posts - 1 through 8 (of 8 total)