Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Danny

    (@dannycare)

    After a little bit of digging, I’ve found the code to modify – It does mean changing the core files so be sure to make a backup before you update the plugin to a newer version.

    Connect to your FTP, find the plugin directory (should be business-directory-plugin)

    Open api.php

    In the file, search for “URLValidator” – You’ll see a HTML tag, simply add onto the end of the opening tag target="_blank"

    Here’s an example of how mine is set up:

    <a class="listing-url" href="%s" rel="follow" target="_blank">Visit Website</a>

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Thanks for that Danny. We have this on the list for things to address in an upcoming release.

    Hi guys,

    Has this been added to the plugin? I don’t see the option anywhere, maybe I’m missing it?

    I also can’t find “URLValidator” in the api.php file to make this change.

    I need the URLs in my directory to open in a new window.

    Thanks for your help!

    Dave

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Yes, it’s in 3.0.2, look under the field configuration for an URL field (Edit link on Manage Form Fields)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Business Directory Plugin] Open Listing URL in New Window/Tab’ is closed to new replies.