Roundcube Community Forum

 

Is it possible to deep link to compose and make window popout?

Started by andycee, March 14, 2025, 08:25:21 AM

Previous topic - Next topic

andycee

We're using rcm within our web app and have a lookalike sidebar, this all works ok. However if user has compose in new window set then clicks on the rcm compose icon, this works as expected, however our compose button just navigates to the compose action (i.e. /rcm/?_task=mail&_action=compose) and composes within the window.

Is there a way to pass something on the query string to make this happen or could we maybe modify one of the php pages to do this?

Alternatively we would have to query rcm db beforehand to see user prefs and then open URL in our own popup, but then we'd lose plugin events and such.

Thanks,
Andy

JohnDoh

you wont be able to do that just by url, as you said you need to know the user preference. you could write a small plugin which would make a JS call to the compose command though.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...