Goto main content

help desk

How to connect CT's to the good module.

I'm creating a new widget for a client and I need to add CT's. I would like all these CT be linked to the client module.
How can I do that?

Because for now my CT are not associated to any module in the code and in the table when I published the page, they are all connected to sed_site.

Asked on 2020-10-26 10:07:00

OFFICIAL ANSWER

You can connect all CT of your widget by simply configuring the module in the begining of your code.
 

Right after the use ct;
Ex.

 

And you must also associate the widget or the file with the right module in the table.
Ex. For a widget, you have to select the desired module in the widget table.

Answer by:
Etienne Carrier

Replied on: 2020-10-26 10:09:00