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

Thread: How to modify the contact form?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    13

    How to modify the contact form?

    Hello there,

    I would like to know how to add the telephone field in the general website Contact Us form. Thank you

  2. #2
    3 years wihe no replay !!!!!!!!!!!!!!!!!!!!!!!!

  3. #3
    Hello Mohammed,

    I think we lost this post. I am sorry.

    If you want to add new field you should add it in 4 places:
    1. ftp://templates>>your_template>>tpl>>controllers>>contac t_us.tpl
    2. ftp://includes>>controllers>>contact_us.inc.php
    3. In Database add a new field to table: contacts
    4. Add variable into Email template: Admin Panel >> Email Tempalates and find email template with key: contact_us
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    Quote Originally Posted by Viktor View Post
    Hello Mohammed,

    I think we lost this post. I am sorry.

    If you want to add new field you should add it in 4 places:
    1. ftp://templates>>your_template>>tpl>>controllers>>contac t_us.tpl
    2. ftp://includes>>controllers>>contact_us.inc.php
    3. In Database add a new field to table: contacts
    4. Add variable into Email template: Admin Panel >> Email Tempalates and find email template with key: contact_us
    Hi.
    I try to ad some fields in the contact_us form.

    Ist always the same place to do the changes?

    because I can find in the Database were I need to ad that fiels?
    Thanks

  5. #5
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    After I ad the files in the contact.inc.php and the contact_us.tpl
    I do send and it come MYSQL ERROR

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,159
    Hello,

    You need to add the same fields into MySQL table contacts

    I think you'd better request a customization because there is no one-step solution

  7. #7
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    Hi. yess I done that, but did not work

    Now I fond I work in the wrong Database :-))))))

    Works fine
    Sorry

  8. #8
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    Hi.
    One more question:

    In the admin panel the fields I created is not displayed. Can I ad it also?

    admin message.png

  9. #9
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,159
    You need to modify admin/controllers/messages.inc.php and admin/tpl/messages.tpl

  10. #10
    Senior Member
    Join Date
    Dec 2014
    Location
    Germany
    Posts
    199
    Hi
    Thanks
    I try it, but it changes nothing ( admin/controllers/messages.inc.php and admin/tpl/controllers/messages.tpl)
    I add also do "ad a phrase" in the admin language panel

    Any Idea?
    Last edited by Stephane Boultgen; December 27, 2022 at 05:38 PM.

+ Reply to Thread