Author Topic: Plugin not loading after rename skin  (Read 6011 times)

Offline cantabrico

  • Newbie
  • *
  • Posts: 3
Plugin not loading after rename skin
« on: October 31, 2017, 06:18:37 AM »
Hi.

I have a problem. When rename skin "larry" to "newname", everythings work, but only plugin-managesieve not load.
Code: [Select]
File not found
//192.168.43.128/mail/?_task=settings&_action=plugin.managesieve

I change only name of skin and this name I change in config.php

From log:
Code: [Select]
[31-Oct-2017 08:54:02 +0100]: <bfn9hfnm> PHP Error: Error loading template for managesieve.managesieve in /usr/local/lib/roundcubemail/program/include/rcmail_output_html.php on line 602 (GET /mail/?_task=settings&_action=plugin.managesieve)
[31-Oct-2017 10:51:06 +0100]: <21ohoq7t> PHP Error: Error loading template for managesieve.managesieve in /usr/local/lib/roundcubemail/program/include/rcmail_output_html.php on line 602 (GET /mail/?_task=settings&_action=plugin.managesieve)

When rename back to "larry" and change config.php plugin is loaded.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Plugin not loading after rename skin
« Reply #1 on: October 31, 2017, 09:39:12 AM »
Why are you trying to rename the skin?

Offline cantabrico

  • Newbie
  • *
  • Posts: 3
Re: Plugin not loading after rename skin
« Reply #2 on: October 31, 2017, 09:57:05 AM »
I want to edit the template (color, logo).

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Plugin not loading after rename skin
« Reply #3 on: October 31, 2017, 02:47:55 PM »

Offline cantabrico

  • Newbie
  • *
  • Posts: 3
Re: Plugin not loading after rename skin
« Reply #4 on: November 01, 2017, 09:34:35 AM »
I tried and did not work.
I add
Code: [Select]
"extends": "newname",to meta.json

I did not create a new css. He just duplicated everything. I added the instructions to include / links.html
Code: [Select]
<roundcube: include file = "/includes/links.html" skinPath = "skins/newname" />and he returned me

502 Bad Gateway


Can anyone try to rename skin larry and try what will it work?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Plugin not loading after rename skin
« Reply #5 on: November 01, 2017, 08:28:10 PM »
When extending a skin you leave the original "larry" skin and make a copy with your new name that extends the "larry" skin.