New Landing How can we help? Themeforest Theme Support Joyn Clients default url resolution

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Joyn
  • #163381
    basoncia
    Member
    Post count: 28

    Hi,
    We’ve been experiencing some problems with the default url resolution by the swift framework in your JOYN theme.

    Specifically, it seems that no matter where our contents come from, the $client_link_url is always assumed as hosted on a different server, rather than from an internal folder/address.

    This is causing some annoying problems with the clients component, for example. As you can see from http://camuti.add-design.it/clienti/ , despite most URLs are resolving internally they still show their page on a different window/tab.

    Is this a bug? Otherwise, could you point us which changes could be required on our part in order to let the theme correctly identify its contents locations?

    Thanks,

    Claudio

    #163391
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    The idea for clients is to set their website url for the link, so that users can visit the actual website of the client/sponsor etc. This is why we have it set to open a new tab

    – Kyle

    #205618
    Nomulus
    Member
    Post count: 23

    I’m using the client post type and therefore the client carousel to display brands that we carry. I’m sure many other people are using this post type for other things too rather than referring to an external website, because the client carousel is a great feature.

    I would like to link those client/brand logos to another page on our website or a section in woocommerce. Is it possible to have these links open in the same window?

    It would be awesome if there was an option to set the target to _blank, _self, etc in the client post type. Or is there a way we could do that?

    Cheers

    #205647
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Go to plugins/swift-framework/includes/page-builder/shortcodes/clients.php and edit line 110:

    $items .= '<a href="' . $client_link_url . '" target="_blank"><img src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $image_alt . '" /></a>';

    – Kyle

    #206022
    Nomulus
    Member
    Post count: 23

    Brilliant. Worked like a charm.

    Thank you very much.

    Can I copy that file and folder structure to somewhere in my child theme to avoid this being changed by updates?

    #206045
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Unfortunately not as it’s in a plugin not the parent theme

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register