Skip to content
View in the app

A better way to browse. Learn more.

Clicshopping AI, Free generative artificial intelligence e-commerce Open Source , Open Source Store Onlne

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How works the Dashoard ?

Featured Replies

Hello,

Someone cold you explain me ow the dashboard works ?
I see some informations appears after the first installation like status, statistics.

Is possible to has some informations ?

Thank you.

Edited by Snoopy

Hello,

 

First, on you right, you have a dynamic statistic information, These elements appear in function on your website. Some elements can be included inside when you create a new app.

 

Inside this directory, you can find some Hooks Modules/Hooks/ClicShoppingAdmin/Dashboard

I looked the code and all the file starts by this synthax IndexDahboardTop , will displayed information on the top on the dasboard.

For example you want  to display statistics, news ..., you have to create a file like that IndexDahboardTop.php

Litle example :

 

<?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\OM\Module\Hooks\ClicShoppingAdmin\Dashboard;

  use ClicShopping\OM\CLICSHOPPING;

  class IndexDahboardTopOrder {

    public function __construct() {

      if (CLICSHOPPING::getSite() != 'ClicShoppingAdmin') {
        CLICSHOPPING::redirect();
      }
    }

    public function execute() {

      $test = '<span class="col-md-4 alert alert-danger">--------------</span>';
      $test .= '<span class="col-md-4 alert alert-info">--------------</span>';

      return $test;
    }
  }

It displays 2 information elements in the dashboard top.

 

Pu the files and it's done :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.