Versions Compared

Key

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

This article is work in progress. Check back soon for a complete overview.

What is this article for?

...

Code Block
languagephp
$url = KenedoPlatform::p()->getUrlCustomizationAssets();
$path = KenedoPlatform::p()->getDirCustomizationAssets(); 

For calling AMD modules from your customization assets folder, go about it like this (in the example, we call the AMD module 'example')

  1. Place your AMD module JS file in (custom assets folder)/assets/javascript/example.js

  2. In your JS code use cbrequire(['configbox/custom/example', function(exampleModule) { // your code}]

...

See articles on Custom CSS styling and Custom JavaScript for adding your own stylesheets and JavaScript files. For JS, we recommend using AMD JS Modules .

/calc_term_types/

This is the location for custom calculation terms. This is an experimental feature and bound to potential removal or breaking changes. The feature aims to enable custom calculation logic in the calculation formula editor. Rovexo is in the process of collecting implementation experience in customization projects before finalising API specs and will fully document this feature.

...

See above on the built-in models folder and the article on KenedoModel.TO BE CONTINUED

/views

Here you add custom KenedoViews. See details in the article on KenedoView.