CLIENT AREA MODULE CREATION

Started by pro-cms, September 07, 2022, 12:05:24 PM

Previous topic - Next topic

pro-cms

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

josemnunez

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

pro-cms

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

josemnunez

1.
Update cwp to the latest version

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



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


pro-cms

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

josemnunez

Please open a free ticket refer to this forum thread, add access to your server and all the details of the module