test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • global21 Friend
    #944898

    Hello,

    Im using the ACM module as a connection to social media.

    My issue is that when i put something in the Google Plus section the link comes out with a + in it.
    eg. https://plus.google.com/+1007045

    This is breaking the link to google plus.

    Is there a way to remove the + from being added.

    Thanks

    pavit Moderator
    #944941

    Hi there

    Try in this way

    Edit this file /templates/ja_directory/acm/follow/tmpl/style-1.php and find

            <?php if($helper->get('google-plus')): ?>
            <a class="addthis_button_google_follow" addthis:userid="+<?php echo $helper->get('google-plus')?>"><i class="fa fa-google-plus"></i></a>
            <?php endif; ?>

    Change it to

            <?php if($helper->get('google-plus')): ?>
            <a class="addthis_button_google_follow" addthis:userid="<?php echo $helper->get('google-plus')?>"><i class="fa fa-google-plus"></i></a>
            <?php endif; ?>

    As you can see it removes the + from generated url

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  pavit 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum