This is a discussion on what fields to change in a new "contactus"page? within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; I've wanted to make a new contact-form very similar to the one in contactus. So i copied contactus.php and contact.tpl.php ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I've wanted to make a new contact-form very similar to the one in contactus. So i copied contactus.php and contact.tpl.php and changed all fields in those files that mentioned contact and the page id of contact to the ones i wanted in use for my new page. But it didn't work as I hoped. When someone trie to send a mail, nothing happens. Should I add something in some pages for it to work as planned and do I have to change more than the fileds containing contact?
__________________
Terje billigbolig.no V3.1.5b Developer |
|
#2
|
||||
|
||||
|
If you are creating your own then you will need to make sure you include the post fields in the new php file. For example:
<input type="text" name="myfield" /> Will be: $myfield=$_POST['myfield'];
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extra fields bug? | Sinisa | v3.1 Questions & Support | 8 | 01-24-2007 04:20 PM |
| extra fields in the listing modification | Acpjax | v3.1 Questions & Support | 4 | 11-20-2006 02:20 PM |