Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
Release Support
»
Release Discussion
»
output command with plugin name
« previous
next »
Print
Pages: [
1
]
Author
Topic: output command with plugin name (Read 3003 times)
unicorn
Jr. Member
Posts: 15
output command with plugin name
«
on:
January 21, 2011, 09:39:49 AM »
Is there any way how from php can be send plugin to output, which is registered in client in javascript file?
Something like this:
$rcmail->output->command('plugin.myplugin');
Logged
rosali
Hero Member
Posts: 2,533
output command with plugin name
«
Reply #1 on:
January 21, 2011, 10:26:24 AM »
You can't send commands from PHP to the browser directly.
The browser has to request an action. It can be done by Javascript/AJAX or by requesting a URL with a query string (
http://myroundcube_residence.com/?what=that
).
It is always the same:
Client Request => Server Response => Client process the response.
Logged
Regards,
Rosali
__________________
MyRoundcube Project
(commercial)
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
Release Support
»
Release Discussion
»
output command with plugin name