sales Posted March 29, 2010 Share Posted March 29, 2010 Using the BACK Button, Is there a way to link back to the module that called it without hard coding it like below? <td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> Thanks Rick Link to comment Share on other sites More sharing options...
germ Posted March 29, 2010 Share Posted March 29, 2010 Using the BACK Button, Is there a way to link back to the module that called it without hard coding it like below? <td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('order_id')), 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> Thanks Rick Some helpful code examples here If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
sales Posted March 30, 2010 Author Share Posted March 30, 2010 I coded the following code BUT it still isn't working (it takes me back to the index.php module). ANY Suggestions???? <td><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('order_id')), 'SSL') . '" onclick="history.go(-1)">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.