Control Web Panel

WebPanel => Information => Topic started by: luca on October 04, 2024, 01:12:30 PM

Title: Difficulty to get a quote
Post by: luca on October 04, 2024, 01:12:30 PM
Friends,

Having a hard time to get a quote with CWP team.

I wrote to the sales email address and I got 2 replies after some tme with same question, if I had a managed plan, to which I said I dont.

I just wanted a quote of how much it would cost to add a link in the menu on the left side to our email administration which is external. Simply add a link in the menu on the left side in our 2 dedicated servers running CWP.

Can someone pls help?

Thanks!
Flavio
Title: Re: Difficulty to get a quote
Post by: cyberspace on October 04, 2024, 04:26:58 PM
Hi,

If you want to add links to the Admin section of CWP then you can find the solutions here:
https://forum.centos-webpanel.com/new-modules/how-to-add-custom-built-module-to-left-menu/

https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg28667/#msg28667
(Thanks to rcschaff) :)
Title: Re: Difficulty to get a quote
Post by: luca on October 09, 2024, 05:05:24 PM
Thanks a lot, guys!

Just might wanna check why the hard time to get a reply from team. I wrote to them twice and twice got same answer "do you have a contract" when I had already answered it.

Anyway, thanks for your help, with that, my team can do it.

See, I also cant get a reply from team. I wanna open bug reports and dont know my username. see https://forum.centos-webpanel.com/suggestions/brazilian-portuguese-x-portugal-portuguse/msg48884/#msg48884
Title: Adding a link to CWP user panel's menu (was Re: Difficulty to get a quote)
Post by: luca on October 15, 2024, 06:08:58 PM
Just to keep it registered here, my techs did this in a different way.

I had attempted those instructions but by changing the theme it caused a chain-reaction of problems.
 
Instead, I used a different approach by implementing the custom module the same way we implement our IMH Backup Manager module to prevent CWP updates from overwriting the files. The solution was in the
menu_left.html
file located at:
/usr/local/cwpsrv/var/services/users/cwp_theme/original/menu_left.html
Title: Re: Difficulty to get a quote
Post by: luca on November 01, 2024, 06:15:27 PM
Friend,

I added in menu "Administracao de emails". Wanted to add a line feed before the word emails.

How do I do that?

This is what we did:

To change the text it self you would edit this line in
/usr/local/cwpsrv/var/services/users/cwp_lang/pt/dashboard.ini

MAILACCOUNTSUB = "Administração de e-mails"
 
To change the HTML/CSS it's located in this file
/usr/local/cwpsrv/var/services/users/cwp_theme/original/menu_left.html
:
{% if ("email_accounts_custom" in rmenu ) %}
<li class="searchmenu">
    <a href="#"><i class="fa fa-envelope"></i> <span class="nav-label">{{langene.MAILACCOUNT}}</span><span class="fa arrow"></span></a>
    <ul class="nav nav-second-level collapse">
        {% if ("email_accounts_custom" in rmenu ) %}
        <li class="search"><a target="_blank" href="https://xxxx">{{langene.MAILACCOUNTSUB}}</a></li>
        {% endif %}
    </ul>
</li>
{% endif %}

Thanks