+ Reply to Thread
Results 1 to 5 of 5

Thread: Get user Image to open in same window

  1. #1
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028

    Get user Image to open in same window

    At the moment if you select view all members listings it opens in the same window, but if you select the users image it opens in a new window where / how do I edit the code to get if they select the image it also opens in the same window please. (general simple 4.5.2)

  2. #2
    Hello Pete,

    1. You need find link:

    Code:
    Only registered members can view the code.
    2. and change "target" attribute to "_self":

    Code:
    Only registered members can view the code.
    Thank you, Curtis.
    @Flynax Company

  3. #3
    Hello Pete,

    Would you please show us on a screenshot what do you mean when you said 'users image'.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Viktor View Post
    Hello Pete,

    Would you please show us on a screenshot what do you mean when you said 'users image'.
    http://screencast-o-matic.com/watch/cbeY3M6CNE

    /\ see attached link Viktor, this is the users profile image, and when you click it, it opens in a new screen (you do not see it open a new page in the video but it does/ just hid the top part from film), it is not to bad on a desktop / laptop but I found when you are using the mobile that you quite often hit the image opening up multiple pages on the phone browser, so by making it open in the same screen you can avoid this problem.

    For people wanting to edit this you should find the code by curtis in > yourtemplate/tpl/blocks/listing_details_seller.tpl
    Last edited by Pete Young; March 20, 2017 at 11:49 PM.

  5. #5
    Hello Pete,

    Open file: ftp://templates>>your_template>>tpl>>blocks>>listing_det ails_seller.tpl

    find line:
    Code:
    Only registered members can view the code.
    and remove: target="_blank" save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread