Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File system

Built-in functionality

There are two directories that hold user data

In customer directory where we Customer directory: where we store any files that relate to your customers (quotations, file uploads, invoices etc)In store directory.

Programatically, you get the path to this directory using KenedoPlatform::p()->getDirDataCustomer(), the URL to this dir you get with KenedoPlatform::p()->getUrlDataCustomer().

Store directory: we store any files that relate to your store (product images, picker images, logos etc)Each of those directories have a sub directory public and private.

Programatically, you get the path to this directory using KenedoPlatform::p()->getDirDataStore(), the URL to this dir you get with KenedoPlatform::p()->getUrlDataStore().

In Joomla, these two directories are in /components/com_configbox/data.

In Wordpress, these are in /wp-content/uploads/ (called cb-customer-data and cb-store-data)

In Magento 2, these are in /pub/media/rovexo/

Each of those directories have a sub directory public and private. At your own discretion, you can restrict HTTP access to the private subdirectories.

Customizations

Rovexo follows a policy on storing file data from customizations. These go in a sub directory custom_media (in the suitable customer/store, public/private combination).

...