Author Topic: CLIENT AREA MODULE CREATION  (Read 3626 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CLIENT AREA MODULE CREATION
« on: September 07, 2022, 12:05:24 PM »
Please enable us to create client area modules we have documentation but even after the creation of the module, we can't assign it to the user in the features section.
Please help

Offline
*****
Re: CLIENT AREA MODULE CREATION
« Reply #1 on: September 12, 2022, 01:13:08 PM »
Hola

you must manually add the module in the following file so that it can be displayed in the module features

/usr/local/cwpsrv/htdocs/resources/conf/user_panel/menuConf.php

Offline
*
Re: CLIENT AREA MODULE CREATION
« Reply #2 on: September 17, 2022, 03:05:16 PM »
Thanks,  it was previously encrypted now I am facing issues on my custom module html side not loading and i just copied the example module without modification,

in /usr/local/cwpsrv/var/services/user_files/modules/ when i add echo "Whatever" It loads white page with the word(without side menu or other stuffs from main template), when i remove echo  it returns error 500, can you check or help how to solve the issue
Regars

Offline
*****
Re: CLIENT AREA MODULE CREATION
« Reply #3 on: September 19, 2022, 08:57:10 PM »
1.
Update cwp to the latest version

2. run the following command to uncompress the html css and js on the user side


Code: [Select]
echo '{"compress_js":false,"compress_html":false}' > /usr/local/cwp/.conf/.devtools_config

Offline
*
Re: CLIENT AREA MODULE CREATION
« Reply #4 on: September 21, 2022, 10:11:24 AM »
Hellow thanks, i tried but the issue still persist,  it does as explained above can you share more details for me to consider in my checklist

Offline
*****
Re: CLIENT AREA MODULE CREATION
« Reply #5 on: September 21, 2022, 11:53:01 AM »
Please open a free ticket refer to this forum thread, add access to your server and all the details of the module