mithereal Posted June 6, 2008 Share Posted June 6, 2008 i owuld like to make an alternate contact us page with different fields than the contact us page so i can have 2 on my site one with queries and the other is a bidding form, i have tried modifing the contact us form but not working can anyone give me a pointer on how to make the alternate form work , i did change all references from tep_redirect(tep_href_link(FILENAME_FILENAME_CONTACT_US, 'action=success')); to tep_redirect(tep_href_link(FILENAME_BIDFORM, 'action=success')); and added define('FILENAME_BIDFORM', 'bidform.php'); to includes filenames.php im geting The requested URL /catalog/FILENAME_BIDFORM was not found on this server. error can anyone point me in the right direction i am not a php coder Quote Link to comment Share on other sites More sharing options...
web-project Posted June 6, 2008 Share Posted June 6, 2008 you need to add some variable to contact us php file and define this variable in contact us language file. Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
mithereal Posted June 6, 2008 Author Share Posted June 6, 2008 (edited) ok what i meant to say was i made a copy of contact us.php and renamed to bidform.php0, i also made a copy of contact us in languages folder named bidform.php i added the varibles to bidform.php in languages, basically i want a 2nd contact us page called bidform.php that does not pull any vars from the original contact_us files so i can modify my bidform.php files without having it try to pull vars from contact usones , what would i need to change. Edited June 6, 2008 by mithereal Quote Link to comment Share on other sites More sharing options...
aspiringdeveloper Posted June 17, 2008 Share Posted June 17, 2008 ok what i meant to say was i made a copy of contact us.php and renamed to bidform.php0, i also made a copy of contact us in languages folder named bidform.php i added the varibles to bidform.php in languages, basically i want a 2nd contact us page called bidform.php that does not pull any vars from the original contact_us files so i can modify my bidform.php files without having it try to pull vars from contact usones , what would i need to change. It sounds about right. If you've made language copies in your language folders for bidform.php and defined all language constats and then changed the include in the main bidform.php within catalog to require(DIR_WS_LANGUAGES . $language . '/' . "bidform.php"); Then it should be fine. I never bother setting filenames constants - its just another hoop to jump through for nothing. forget about modifying filenames constants and change your line: tep_redirect(tep_href_link(FILENAME_BIDFORM, 'action=success')); to this: tep_redirect(tep_href_link("bidform.php", 'action=success')); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.