Author Topic: Cwp.user branding logo in CWP.Pro systems.  (Read 22085 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Cwp.user branding logo in CWP.Pro systems.
« on: December 02, 2017, 02:09:14 AM »
In Update 364, CWP introduced the CWP.users panel.
It would be nice that for CWP.Pro users to have the ability to change the logo of CWP in the CWP.user panel. Of coures we can still include the CWP branding as a footer. :)

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #1 on: December 07, 2017, 03:18:41 PM »
That's pretty easy right now:

Just replace /usr/local/cwpsrv/var/services/users/cwp_theme/design/img/cwp_logo.png by the logo you'd like ;)

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #2 on: February 25, 2018, 08:59:55 PM »
That's pretty easy right now:

Just replace /usr/local/cwpsrv/var/services/users/cwp_theme/design/img/cwp_logo.png by the logo you'd like ;)

Problem with that is the logo is overwritten with every update so unless you write a Cron to copy a new logo every 5 min the logo will just change back to original logo after CWP update.

Also you need to keep in mind the Dark theme's Logo.

But yes would be nice to be able to make this change on a permanent basis for pro users. :D

Offline
***
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #3 on: March 25, 2018, 04:57:43 PM »
You can set the 'immutable' attribute, by using:

chattr +i /usr/local/cwpsrv/var/services/users/cwp_theme/design/img/cwp_logo.png

Regards,

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #4 on: March 27, 2018, 09:21:36 AM »
Netino!! Thx man that works  ;D

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #5 on: February 16, 2019, 01:51:06 AM »
In Update 364, CWP introduced the CWP.users panel.
It would be nice that for CWP.Pro users to have the ability to change the logo of CWP in the CWP.user panel. Of coures we can still include the CWP branding as a footer. :)

has there been any updates here?

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #6 on: February 16, 2019, 08:43:22 PM »
cwp is already designed so you can change templates, make your own copy and set that new template for users from the admin panel.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #7 on: May 17, 2019, 04:31:14 AM »
cwp is already designed so you can change templates, make your own copy and set that new template for users from the admin panel.

But I'm trying to modify the admin panel. Specifically, I want to add my own logo where the "CWP7pro.admin" is displayed in the top-left corner.

But I see it is Ioncube encoded, sao I can only adjust CSS... so instead I want to change the color of that text "CWP7pro.admin" because i have multiple CWPpro installations and I need an easy way to differentiate them.

But when I try to edit /usr/local/cwpsrv/htdocs/admin/design/css/main.css it says I have no permissions.

I am trying to alter the CSS in #header .navbar .navbar-brand .slogan

Offline
*****
Re: Customize CSS in admin panel
« Reply #8 on: May 15, 2020, 04:23:09 PM »
You have to remove the immutable bit before making changes to the CSS files; and it is better practice to add to custom.css
Code: [Select]
sudo chattr -i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo chmod 644 /usr/local/cwpsrv/htdocs/admin/design/css/custom.css

As mentioned, updates wipe out this file, so you have to call cron after updates to re-inject your code. Put something like this in a script:
Code: [Select]
sudo chattr -i /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo chmod 644 /usr/local/cwpsrv/htdocs/admin/design/css/custom.css
sudo tee -a /usr/local/cwpsrv/htdocs/admin/design/css/custom.css <<'END' > /dev/null

/* CSS CUSTOMIZATIONS */
{ blah }
END
(I am using this to inject the dark_cwp customizations into the CSS.)

Offline
*
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #9 on: September 10, 2020, 03:00:46 AM »
i've cwp7pro

but my logo in client area always missing i dont know why... last time its work, can you check and update. really sad to look logo doesnt work.

ive attached image



this client panel on port  https://mydomain:2083

Offline
*****
Re: Cwp.user branding logo in CWP.Pro systems.
« Reply #10 on: January 29, 2023, 11:59:16 PM »
Hover over the broken image icon and see the path the link is looking for the logo.