+ Reply to Thread
Results 1 to 5 of 5

Thread: "Registration" button for guests at contact owner / seller info tab

  1. #1
    Senior Member
    Join Date
    Oct 2011
    Posts
    113

    "Registration" button for guests at contact owner / seller info tab

    Hello,


    I want to create a registration button for guests at "contact owner"/"seller info" tab.
    It should only be visible for guest and invisible for logged in users.
    Something like "please register to contact owner" would be great.

    Has someone of you an idea?




    Thanks & best regards
    Andreas

  2. #2
    Hello Andreas,

    yes you may create it.
    Please check there code for .tpl file
    PHP Code:
    Only registered members can view the code
    insert it in place where do you want on listing details
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Hello Viktor,


    thanks a lot!



    Best regards
    Andreas

  4. #4
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Hello Viktor,


    I tried your code, but it is for registered users / logged in. How should the code changed to, that only not logged in visitor can see the button?


    Thanks & best regards
    Andreas

  5. #5
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Hello,

    In the above code minor typo. You should change the condition to reverse in code.

    Code:
    Only registered members can view the code.
    In this case the button will be available only guests.

+ Reply to Thread