test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Meng Fei Koo Friend
    #203108

    Would 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 Moderator
    #556881

    Hi HMF,

    You can go to template files of JA ACM module – type of CTA: templatesuberacmctatmpl

    Find & remove this attribute: target=”_blank” in the <a> tag

    Meng Fei Koo Friend
    #556911

    TQ sir. But I worry changing this code will cause the file over written when update new acm version?

    Saguaros Moderator
    #556913

    Try 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 Moderator
    #777342

    Hi
    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>
Viewing 5 posts - 1 through 5 (of 5 total)

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