Author Topic: Skin development - mailboxlist on settings.html  (Read 2276 times)

Offline dkemens

  • Newbie
  • *
  • Posts: 5
Skin development - mailboxlist on settings.html
« on: September 15, 2023, 01:00:27 PM »
Hello!

I recently upgraded from 1.4.2 to 1.6.2 and am running a custom skin. It seems that somewhere between the two versions, the settings page stopped rendering the mailboxlist object. When I pull up 1.4.2 and go to 'settings', the mailbox list is there, when I pull up 1.6.2 the mailbox list is missing. I've tried altering my settings.html, adding

Code: [Select]
<roundcube:object name="mailboxlist" folder_filter="mail" type="js" /> (as I found in message.html on the current 'elastic' skin), but it still doesn't render. Is this possible? If so, any idea what I'm missing?

Thanks!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Skin development - mailboxlist on settings.html
« Reply #1 on: September 15, 2023, 02:43:12 PM »
Any JS errors in the browser console?

Offline dkemens

  • Newbie
  • *
  • Posts: 5
Re: Skin development - mailboxlist on settings.html
« Reply #2 on: September 15, 2023, 02:59:02 PM »
Nope. No js errors in the console and no php errors in the log.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Skin development - mailboxlist on settings.html
« Reply #3 on: September 15, 2023, 04:12:26 PM »
Rereading your original message I maybe miss understanding what you're trying to do. Are you trying to take the "mailboxlist" from the message.html and put it in the settings.html? If so that wouldn't work since the "mailboxlist" handler isn't registered for the settings task.

Offline dkemens

  • Newbie
  • *
  • Posts: 5
Re: Skin development - mailboxlist on settings.html
« Reply #4 on: September 16, 2023, 10:25:21 AM »
Ah! That's what I was a afraid of. Without modifying the core, is there a way to have it registered - possibly via plugin hook (settings_actions) or something?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Skin development - mailboxlist on settings.html
« Reply #5 on: September 16, 2023, 01:45:05 PM »
It could be done with a plugin but I'm not sure what your trying to do, it sounds like you would want to build a full plugin to do something custom.