what fields to change in a new "contactus"page?

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 ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Modules & Modifications

 
LinkBack Thread Tools Display Modes
  #1  
Old 02-13-2007, 07:58 AM
Junior Member
 
Join Date: Jan 2007
Posts: 3
Rep Power: 0
Default what fields to change in a new "contactus"page?

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
Reply With Quote
  #2  
Old 02-13-2007, 10:12 AM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,281
Rep Power: 98
Default

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
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 08:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22