help desk
Usage: sed_core_util::ct(‘code for the ct’);
By default it uses the variable ct for all definition
It look in the table ct_local for the following variables
item_code
item_table
Module
If modify use ct_local
If not, use ct_global
Typical definition of ct in a resource or page:
use lg;
use item;
ct = {
"lg" : lg,
"module" : module,
"ct_global" : "sed_site_ct_global",
"ct_local" : "sed_site_ct_local",
"item_code" : item.rows.code,
"item_table" : "sed_mod_resource",
"module" : "sed_search",
"edit" : false
};
When a client modify a ct, he can re-publish all pages using this CT.
You must TEST this.
Replied on: 2020-01-24 00:00:00