speed2 Posted November 21, 2003 Posted November 21, 2003 hi guys, some one help me finding the contribution for adding a "back" button to go back to main page to choose different product? I went through the whole (almost) the forums and I can't find the posting or the contribution. Please help thanks
nebnq Posted November 21, 2003 Posted November 21, 2003 Hi http://www.oscommerce.com/community/contributions,1586 Cheers
Guest Posted November 21, 2003 Posted November 21, 2003 java script:history.go(-1) would that work? I have nav tools set up on my webpage in the header. My Webpage
speed2 Posted November 21, 2003 Author Posted November 21, 2003 Thanks Streeflossin & nebng I added <?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { ?> <td class="main" align="center"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td> <?php } ?> As nebng suggest, but its not working, please help
speed2 Posted November 21, 2003 Author Posted November 21, 2003 sorry guys, its working now! thanks a lot guys!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.