Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: ihkawiss on July 15, 2013, 05:29:38 AM

Title: Change implementation of roundcube:object
Post by: ihkawiss 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
Title: Re: Change implementation of roundcube:object
Post by: SKaero 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.
Title: Re: Change implementation of roundcube:object
Post by: ihkawiss 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