Author Topic: Change implementation of roundcube:object  (Read 2996 times)

Offline ihkawiss

  • Jr. Member
  • **
  • Posts: 15
Change implementation of roundcube:object
« on: July 15, 2013, 05:29:38 AM »
Hello everyone

I'm currently trying to change the return value of mailboxlist
Code: [Select]
<roundcube:object name="mailboxlist" id="mailboxlist" class="listing" folder_filter="mail" unreadwrap="%s" />
which returns by default a listing like

Code: [Select]
<ul
<li id="rcmliSU5CT1guRHJhZnRz" class="mailbox drafts"><a href="./?_task=mail&amp;_mbox=INBOX.Drafts" onclick="return rcmail.command('list','INBOX.Drafts',this)" rel="INBOX.Drafts">Entwürfe</a>
</ul>

I want to have a other structure, so I might have to change the "template" wich is used.

So my question, does anybody know where or how this can be done ? I've searched within the source files, but haven't found yet.

Best Regards

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Change implementation of roundcube:object
« Reply #1 on: July 15, 2013, 11:42:14 AM »
The ul is build in <RC root>/program/include/rcmail.php in the folder_list() function but I don't see why you'd need to modify it.

Offline ihkawiss

  • Jr. Member
  • **
  • Posts: 15
Re: Change implementation of roundcube:object
« Reply #2 on: July 16, 2013, 02:40:23 AM »
Hello SKaero

Thanks for you're reply. I've made my changes.

Well, we have a screendesign which is already done by HTML/CSS - so I didn't want to change the base HTML/CSS.

Best regards ihkawiss