+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Links dont open in blank page

  1. #1

    Links dont open in blank page

    Hello

    After update to 4.5 when click a link in the listing details it will open in same page not in a blank page like in previous version. This fact will increase the bounce rate of the site

  2. #2
    No one else has a problem with this?

  3. #3
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Ionut Barabasa View Post
    No one else has a problem with this?
    go to your admin panel > basic settings > listings > Listing details in a new window | enable / disable

  4. #4
    No is not this i am talking about. I am talking about the link users submit in their listing. This link they submit will open in same page not a blank page.

  5. #5
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    OK sorry, if you find the answer please post it up. I am sure there is a setting some where for that ?

  6. #6
    Hello

    Yes, must change something in rlCommon.class inside includes>>classes

    case 'text':
    if (in_array($field['Condition'], array('isUrl', 'isDomain'))) {
    $value = !(bool)preg_match('/https?\:\/\//', $value) ? 'http://'.$value : $value;
    $out = $value;
    } else {
    if ($field['Multilingual'] || (bool) preg_match('/\{\|[\w]{2}\|\}/', $value)) {
    $out = $this -> parseMultilingual($value, $preferred_lang);
    } else {
    $out = $value;
    Is last line of above code where must make a change. In previous version was like this
    $out = '<a target="_blank" href="' . $value . '">' . str_replace('http://', '', $display_value) . '</a>';
    Last edited by Ionut Barabasa; June 2, 2016 at 11:40 AM.

  7. #7
    In case you visitor will arrive directly on your listing details page and will click on the listing web link ( any domaina user will submit to their listing) you will increase your bounce rate because the link will not open in a blank page but in same page Higher bounce rate is bad for seo

  8. #8
    No solution for this? It will really increase the bounce rate

  9. #9
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    as last line of above code where must make a change. In previous version was like this
    $out = '<a target="_blank" href="' . $value . '">' . str_replace('http://', '', $display_value) . '</a>';
    Have you tried just replacing that bit of code with what you have, also interested in a solution to this ?

    Edit, tried replacing that code and it gave a > symbol and no link, tried to modify the code but that produced another error, you are editing the right place by the looks it is just the code that seems a little out ?
    Last edited by Pete Young; July 29, 2016 at 03:04 PM.

  10. #10
    Quote Originally Posted by Ionut Barabasa View Post
    Hello

    After update to 4.5 when click a link in the listing details it will open in same page not in a blank page like in previous version. This fact will increase the bounce rate of the site
    If you send me your ftp login I think I can manage

+ Reply to Thread