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

Thread: Contact form at the bottom of listing detail page

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

    Contact form at the bottom of listing detail page

    Hello,



    I would like to show the contact owner form at the bottom of listing detail pages and I also need a checkbox before sending the message, like I accept the terms of use and privacy policy.

    Do anyone have this solution?

    Would it also be possible to put more contact owner buttons into the detail pages / between the field groups?
    I tried to copy the code, but every time just one of these buttons was working.




    Thanks & best regards
    Andreas

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    238
    Hello,

    I suggest that you make it the following way:

    1.
    - open file: libs/javascript/flynax.lib.js
    - find this code:

    Code:
    Only registered members can view the code.
    and replace it by:

    Code:
    Only registered members can view the code.
    2.
    - open file: templates/your_template/tpl/controllers/listing_details.tpl
    - find this code:

    Code:
    Only registered members can view the code.
    and replace it by:

    Code:
    Only registered members can view the code.
    ("f1_" - it is the prefix of first form)

    - after then you should to change IDs of html fields.

    For example:

    -- find this code: id="contact_owner_message" and change it to: id="f1_contact_owner_message".

    3.
    - Can you please do the things described in point 2 for the second contact form.

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

    thanks for your help.
    I had no time at the weekend, will try it next days and come back with the result.

  4. #4
    Hi Viktor,
    I tried but its not working.May be I did not understand clearly.I change in java script and listing detail files.
    Can you please provide complete instructions.

  5. #5
    Hello All,

    I don't know what Vladimir show the code but he didn't show how to move contact form to listing details tab,

    Contact form code you can ind in listing_details.tpl file:

    Code:
    Only registered members can view the code.
    then find comment
    Code:
    Only registered members can view the code.
    and insert it form above this comment.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    You are awesome.It worked.Thank you

  7. #7
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    cool
    Thanks,
    Nguyen
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  8. #8
    But I didn't understand what Vladimir shows the code?

    What should do the code?

    Vladimir I demand explanation from you.
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Hi,

    Thanks for the code. Great.

    Bert

  10. #10
    thanks for sharing this Viktor

+ Reply to Thread