LeeFoster Posted February 7, 2020 Share Posted February 7, 2020 4 minutes ago, Fredi said: Sorry, Screen in Russian ... I have not made language files in English yet. I'll have a look shortly. Fredi 1 Quote Link to comment Share on other sites More sharing options...
Fredi Posted February 7, 2020 Share Posted February 7, 2020 Thank You Lee! Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
LeeFoster Posted February 7, 2020 Share Posted February 7, 2020 13 minutes ago, Fredi said: Thank You Lee! Send me the files please Quote Link to comment Share on other sites More sharing options...
Fredi Posted February 7, 2020 Share Posted February 7, 2020 In english: I send to You all files thise modul. Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
Fredi Posted February 7, 2020 Share Posted February 7, 2020 Files: Admin Group_FR.zip Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
LeeFoster Posted February 7, 2020 Share Posted February 7, 2020 37 minutes ago, Fredi said: Files: Admin Group_FR.zip I've narrowed it down to this code - foreach($groups['apps'] as $app) { if(!in_array($app['code'], array('configuration.php', 'modules.php'))){ $admin_group_access_inputs_string .= tep_draw_checkbox_field('admin_group_access[' . $cnt_access . ']', $app['code']) . ' ' . $app['title'] . '<br/>'; }else{ if($cnt_code > 1)continue; $admin_group_access_inputs_string .= tep_draw_checkbox_field('admin_group_access[' . $cnt_access . ']', $app['code']) . ' All ' . $groups['heading'] . '<br/>'; $cnt_code++; } $admin_group_access_inputs_string .= tep_draw_hidden_field('admin_group_access_block[' . $cnt_access . ']', $groups['heading']); $cnt_access++; } Quote Link to comment Share on other sites More sharing options...
Fredi Posted February 7, 2020 Share Posted February 7, 2020 In which file to add the code? Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
LeeFoster Posted February 7, 2020 Share Posted February 7, 2020 3 minutes ago, Fredi said: In which file to add the code? That's the code that's not working in administrator_group.php still working on the fix. Quote Link to comment Share on other sites More sharing options...
hungryfrank Posted February 7, 2020 Share Posted February 7, 2020 (edited) I can confirm that add-on worked on OSCOM CE Phoenix v1.0.3.0. Edited February 7, 2020 by hungryfrank Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
LeeFoster Posted February 7, 2020 Share Posted February 7, 2020 39 minutes ago, hungryfrank said: I can confirm that add-on worked on OSCOM CE Phoenix v1.0.3.0. With or without changes? Quote Link to comment Share on other sites More sharing options...
hungryfrank Posted February 7, 2020 Share Posted February 7, 2020 no unusual changes just table and file declarations Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
hungryfrank Posted February 7, 2020 Share Posted February 7, 2020 (edited) I also got this warning nvalid argument supplied for foreach() in /Library/WebServer/Documents/metro10/admin/administrator_groups.php on line 189 which is foreach ($cl_box_groups as $groups) { just above the code that u posted. Edited February 7, 2020 by hungryfrank Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
LeeFoster Posted February 8, 2020 Share Posted February 8, 2020 1 hour ago, hungryfrank said: I also got this warning nvalid argument supplied for foreach() in /Library/WebServer/Documents/metro10/admin/administrator_groups.php on line 189 which is foreach ($cl_box_groups as $groups) { just above the code that u posted. Can you send a screenshot of it working? Quote Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 I get the error on the newer Phoenix not on this one Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 (edited) the problem is certainly here foreach ($cl_box_groups as $groups) { I did a print_r ($cl_box_groups ) right before it and it gave me nothing. on the one in 1.0.3.0 I got a whole lot of output Edited February 8, 2020 by hungryfrank Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 although $cl_box_groups has been used in column_left.php it can not be used in the main content of the page. I could not use it in administrators.php either. Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
Fredi Posted February 8, 2020 Share Posted February 8, 2020 How to solve this problem? Need to adjust the function? Or replace with a new one? Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
LeeFoster Posted February 8, 2020 Share Posted February 8, 2020 I wonder if it is down to where column_left is being called. Quote Link to comment Share on other sites More sharing options...
Fredi Posted February 8, 2020 Share Posted February 8, 2020 I do not understand why column_left is called. Column_left works differently. This is probably an outdated way. A lot has changed in the Phoenix core, so this function probably needs to be adjusted. I don’t know how to do this. This has something to do with calling categories / files for visualization. Maybe you need an analogy with a call to security_checks.php or similar? Quote Support forum for osCommerce in russian language - from Ashkelon. Support since 2002.Best regards, Fredi Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 12 minutes ago, LeeFoster said: I wonder if it is down to where column_left is being called. echo $OSCOM_Hooks->call('siteWide', 'injectBodyStart'); echo $OSCOM_Hooks->call('siteWide', 'injectLeftColumn'); in template_top.php I can comment out echo $OSCOM_Hooks->call('siteWide', 'injectBodyStart'); and nothing happens. I found the column_left is being pulled out of a site wide hook called vMenu.php Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
LeeFoster Posted February 8, 2020 Share Posted February 8, 2020 2 minutes ago, hungryfrank said: echo $OSCOM_Hooks->call('siteWide', 'injectBodyStart'); echo $OSCOM_Hooks->call('siteWide', 'injectLeftColumn'); in template_top.php I can comment out echo $OSCOM_Hooks->call('siteWide', 'injectBodyStart'); and nothing happens. I found the column_left is being pulled out of a site wide hook called vMenu.php Yeah I found the same. Quote Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 (edited) nothing in column left is now available. 23 minutes ago, LeeFoster said: Yeah I found the same. I found a way. in template_top.php replace echo $OSCOM_Hooks->call('siteWide', 'injectLeftColumn'); with include_once('includes/column_left.php'); this lets the checkboxes show. I haven't tried functionality Edited February 8, 2020 by hungryfrank Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal Link to comment Share on other sites More sharing options...
LeeFoster Posted February 8, 2020 Share Posted February 8, 2020 3 minutes ago, hungryfrank said: nothing in column left is now available. I found a way. in template_top.php replace echo $OSCOM_Hooks->call('siteWide', 'injectLeftColumn'); with include_once('includes/column_left.php'); And it works? Quote Link to comment Share on other sites More sharing options...
hungryfrank Posted February 8, 2020 Share Posted February 8, 2020 (edited) spoke too soon.it works better. now I get multiple checkboxes but they are all configuration Edited February 8, 2020 by hungryfrank Quote you can cut up to 4 pages of your checkout by using my three add_ons login create account in one page Express checkout login pop up modal 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.