-
AuthorPosts
-
Meng Fei Koo Friend
Meng Fei Koo
- Join date:
- September 2014
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
November 27, 2014 at 9:30 am #203108Would like to know how to fix the button link on CTA or most of JACM so that they open page in same window instead of new window.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
Meng Fei Koo FriendMeng Fei Koo
- Join date:
- September 2014
- Posts:
- 76
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
November 28, 2014 at 8:17 am #556911TQ sir. But I worry changing this code will cause the file over written when update new acm version?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 28, 2014 at 8:43 am #556913Try to use our JA Extension manager component (free extension) to update our product. It provides option so that you can make a comparison between current file and file in update package, then you will know which one will be changed. Backup the old file and update for the new one.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 9, 2015 at 3:13 am #777342Hi
in this case u need to make custom work in the acm file . Here you can find the file
templatesja_directoryacmctatmplstyle-1.php
Here is code of the button`
<div class="acm-cta-buttons">
<?php $count = $helper->getRows(‘data.button’); ?><?php for ($i=0; $i<$count; $i++) : ?> <?php if($helper->get('data.button',$i) && $helper->get('data.link',$i)): ?> <a href="<?php echo $helper->get('data.link',$i) ?>" class="btn <?php if($helper->get('data.button_class',$i)): echo $helper->get('data.button_class',$i); else: echo 'btn-default'; endif; ?>"> <div class="pull-left"><?php echo $helper->get('data.button',$i) ?></div> <?php if($helper->get('data.btn-icon',$i)) : ?><div class="pull-right"><i class="<?php echo $helper->get('data.btn-icon',$i) ?>"></i></div><?php endif ;?> </a> <?php endif; ?> <?php endfor; ?> </div>
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by Pankaj Sharma 8 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum