Jump to content

ClicShopping

Administrators
  • Posts

    396
  • Joined

  • Last visited

  • Days Won

    88

ClicShopping last won the day on March 16

ClicShopping had the most liked content!

Recent Profile Visitors

6457 profile views

ClicShopping's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

299

Reputation

  1. Hello, Thank you for you comment, it's always welcome. @Juliana, Yes you can always use the last image gallery but you must follow this process - Do not remove the jquery hooks because the module use jquery - For this version, we do not touch on the module - No pb - You must change inside the image gallery these elements : edit : pi_products_info_gallery.php Inside sql configuration : 'configuration_title' => 'Where do want to display the gallery position ?', update by this 'set_function' => 'clic_cfg_set_boolean_value(array(\'float-end\', \'float-start\', \'float-none\'))', Of course, remove and reinstall it. I will push when I have a little time a specific module in the marketplace and github community.
  2. A new version has been released. Some fix has been resolved. Please note this version works on with php > 8.0 and bootstrap. The focus has been to integrate boostrap 5 (https://getbootstrap.com/docs/5.0/getting-started/introduction/) and php 8.0 I lit there the most important change inside the code. For the module I recommend you to remove and reinstall, Bootstrap 5 do not use the same syntax. I invite you to update your module on the marketplace in function the new bootstrap code. Lot of code has been changed inside the application. ** Please, see the sql_update directory to include the new sql element ** - fix strict mode php 8 - fix incompatibility with php 8 (php 7.4.x do not work now) - Some different bug fix - Code refactoring - Boostrap 5 implementation - Add vertical menu in option - remove htaccess (see tip and trips on the forum) - Replace font Awesome library by bootstrap icon - remove customer fax obsolete - update sql database (see sql update and update version) - remove sensiolabs/security-checker not maintained - add a security checker email library via composer - reduce jquery dependency by pure javascript - add new image gallery in pure js (the other will be push on github) - add chartjs without jquery https://www.chartjs.org/ To upload : https://github.com/ClicShopping/ClicShopping_V3/releases/ The next minor release will focus to update the libraries, fix the bugs. Regards,
      • 9
      • Like
      • Thanks
  3. Hello, No the v2.x will stay like that. This approach is new, we are thinking also to let the horizontal menu as an option. the decision is not taken. About the chart it's also js approach with no depedency with Jquery.
  4. Hello, The futur backoffice on development with bootstrap 5 and a vertical menu, an example.
  5. Hello @Rantanplan, little late but there an example. You can find this code the apps category You can create another if you add information inside the json or you can add inside the includes/Modules directories. Goofd luck <?php /** * * @copyright 2008 - https://www.clicshopping.org * @Brand : ClicShopping(Tm) at Inpi all right Reserved * @Licence GPL 2 & MIT * @licence MIT - Portion of osCommerce 2.4 * @Info : https://www.clicshopping.org/forum/trademark/ * */ namespace ClicShopping\Apps\Catalog\Categories\Module\Hooks\ClicShoppingAdmin\DashboardShortCut; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; use ClicShopping\OM\CLICSHOPPING; use ClicShopping\Apps\Catalog\Categories\Categories as categoriesApp; class DashboardShortCutCategories implements \ClicShopping\OM\Modules\HooksInterface { protected $app; public function __construct() { if (!Registry::exists('Categories')) { Registry::set('Categories', new categoriesApp()); } $this->app = Registry::get('Categories'); $this->app->loadDefinitions('Module/Hooks/ClicShoppingAdmin/DashboardShortCut/dashboard_shortcut_categories'); } public function display(): string { if (!defined('CLICSHOPPING_APP_CATEGORIES_CT_STATUS') || CLICSHOPPING_APP_CATEGORIES_CT_STATUS == 'False') { return false; } $output = HTML::link(CLICSHOPPING::link(null, 'A&Catalog\Categories&Categories'), null, 'class="btn btn-primary btn-sm" role="button"><span class="fas fa-list" title="' . $this->app->getDef('heading_short_categories') . '"') . ' '; return $output; } }
  6. Hello, I tested the qpplication on local post. Yes seems works fine but there is again a little work. Patience. Else phpMyAdmin has little problem, composer do not work on my 20.04. Php is not again in production but it nice about ClicShopping can work.
  7. Hello @Drack, I need take time to test on local after to push the modification. After that on Github you can upload this new version.
  8. Hello, Just for your information, ClicShopping works very fine on php 8.0. I made some little modification and I take time to check the different page. All is in good way about php 8.0 TC 03 Some information below ClicShopping Version3.22 Hôte :localhost (127.0.0.1) Hôte de la base de données :localhost (127.0.0.1) Système d'exploitation :Linux 5.4.0-54-genericBase de données :MySQL 5.5.5-10.4.17-MariaDB-1:10.4.17+maria~focal Date du serveur :2020-11-23 09:30:09 +0000 UTC2020-11-23 10:30:09 Temps de fonctionnement :10:30:09 up 1 day, 18:58, 2 users, load average: 0.45, 1.09, 1.29 Serveur HTTP :Apache/2.4.41 (Ubuntu) Zend version8.0.0RC3 (Zend : 4.0.0-dev)
  9. Bah, it depends of your infrastructure. The solution works fine on install (I had never been problem until now), just it's important to know the process. I am happy you found solution
  10. Hello Julie, Yes, before to go on php 8, a new rellease will be out
  11. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. Show previous comments  7 more
    2. AlwaysSkint

      AlwaysSkint

      I remember that one of the missing $data above is in Customers table.

       

      This seemed to work fine - I can try with a different client database:

      //******************************************
      //manufacturers_info
      //******************************************
            $QmanufacturersInfo = $mysqli->query('select *
                                                  from ' . $this->PrefixTable . 'manufacturers_info
                                                ');

            echo '<hr>';
            echo '<div>table_manufacturers_info</div>';
            echo '<div>' . CLICSHOPPING::getDef('text_number_of_item') . ' : ' . $QmanufacturersInfo->num_rows . '</div>';
            echo '<hr>';

            while ($data = $QmanufacturersInfo->fetch_assoc()) {

      // to do
              foreach ($clicshopping_languages as $languages) {
                echo $data['manufacturers_id'] . '<br />';

                $sql_data_array = [
                  'manufacturers_id' => (int)$data['manufacturers_id'],
                  'languages_id' => $languages['languages_id'],
                  'manufacturers_url' => $data['manufacturers_url'],
                  'url_clicked' => (int)$data['url_clicked'],
                  'date_last_click' => $data['date_last_click']
                ];

                $this->db->save('manufacturers_info', $sql_data_array);
              }
      //
            }

       

      Why are you running copyAdministrationMenu ?

       

      The Import/Export Menu item isn't getting created in Admin - remind me of the URL to do this, please.

      Additionally,  receive one error:

      PHP Warning:  file_get_contents(): Filename cannot be empty in /home/clic/public_html/includes/ClicShopping/Apps/Tools/EditLogError/Sites/ClicShoppingAdmin/Pages/Home/templates/edit.php on line 92

       

    3. ClicShopping

      ClicShopping

      Why are you running copyAdministrationMenu ? ==> Because it's inside the BD ot in txt files.
      If inside a txt files do not exist it take the default language
      Inside the db it look the langaue data else it display nothing. ==> Copy the default language

    4. ClicShopping
  12. Hello, Your english update has been integrated in the next release Tk
  13. Yes you have right. I will remove that and write little information on that inside the readme Thank you for the file, I uploaded and make a test more later. Tk Also, You remove your file on github, normal ?
  14. Hello, Do you have a file to send me,I can test ? I updated and Put code to increase the memory limit, remove the time out. Remove the banner migration Add contributor file Thank you
  15. I do not say there is issue, upload the latest and just retest please.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use