ce7 Posted June 16, 2020 Posted June 16, 2020 hi there, have CE1.0.5.0 version, noticed that when move the categories folder, the back button seems not working right. here is the example: target folder name: other fruits (categories.php?cPath=1&cID=14) destination folder name: figs (categories.php?cPath=1&cID=12) when click on back, it will show (categories.php?cID=12).... how can I change code to make it go to (categories.php?cPath=1&cID=12) Your help is much appreciated. original code from admin/categories.php if (isset($_GET['origin'])) { $pos_params = strpos($_GET['origin'], '?', 0); if ($pos_params != false) { $back_url = substr($_GET['origin'], 0, $pos_params); $back_url_params = substr($_GET['origin'], $pos_params + 1); } else { $back_url = $_GET['origin']; $back_url_params = ''; } } else { $back_url = 'categories.php'; $back_url_params = 'cPath=' . $cPath . '&pID=' . $pInfo->products_id; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.