danielfunghi Posted October 26, 2006 Posted October 26, 2006 hello everybody ...!!! i'm Daniel from Brazil ... I want know how I can modify the file create_account.php I modified the form, but i'm trying edit the action of the form for the other page. The same case with the file checkout_shipping.php Where I edit on the source code to the action go to other page ??? thanks everybody!!
natewlew Posted October 27, 2006 Posted October 27, 2006 You will find this in the login.php around line 60: if (sizeof($navigation->snapshot) > 0) { $origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']); $navigation->clear_snapshot(); tep_redirect($origin_href); } else { tep_redirect(tep_href_link(FILENAME_DEFAULT)); } I'm pretty sure the tep_redirect($origin_href); sends you to checkout_shipping.php if you tried to go though the checkout and got redirected to login. The tep_redirect(tep_href_link(FILENAME_DEFAULT)); redirects you to the index page if you just login. If you want to send your customers to the contact_us.php after they login you would change it to this: tep_redirect(tep_href_link(FILENAME_CONTACT_US)); You can look in the /includes/filenames.php for references to what the filenames are called. Other great Open Source (Free) programs: (Free as in free speech not free beer) The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS How do I find these programs? Google Search!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.