6.0.0-beta1
7/4/25

[#10492] Embedding Calendar in another website with Imple
Summary Embedding Calendar in another website with Imple
Queue Kronolith
Queue Version 3.0.9
Type Bug
State Resolved
Priority 1. Low
Owners
Requester michael.groene (at) zel (dot) uni-hannover (dot) de
Created 09/08/2011 (5048 days ago)
Due
Updated 09/23/2011 (5033 days ago)
Assigned
Resolved 09/08/2011 (5048 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/23/2011 12:46:10 AM Git Commit Comment #7 Reply to this comment
Changes have been made in Git for this ticket:

Show link to help text about other embedding options in dynamic view too.
Bug: 10492

  1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/d2c5b7a9b95942e756860cb7b58574420fe11b67
09/23/2011 12:46:06 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git for this ticket:

Don't redirect to login.php if not authenticated for an imple request.
Bug: 10492

  1 files changed, 19 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/bb14c88a0e2fdda56291f4e196b81d067ec4dffd
09/08/2011 02:32:04 PM Michael Rubinsky Comment #5
State ⇒ Resolved
Reply to this comment
When loading an website, with an calendar embedded, this is 
registered in hordes log:
2011-09-08T13:45:10+02:00 EMERG: HORDE [horde] Imple driver Embed 
not found. [pid 23595 on line 64 of 
"/var/www/horde4/pear/php/Horde/Core/Factory/Imple.php"]
Cannot reproduce this. The driver *does* exist, which is proven by the 
fact that you said the calendar is actually displayed :)
Further I had problems with the rights to get it to work. Is 
somewhere mentioned, that Imple needs to have rights for "Horde" 
(show/read), to get it work for users, not logged in?
I'm not sure if it's mentioned anywhere explicitly, but if you want 
guests to access functionality of Horde, then Horde obviously needs to 
grant guests the appropriate access. Wouldn't hurt mentioning this 
somewhere on the wiki though I guess.

However, I've tweaked the code a bit to at least make the error that 
is displayed a little less intrusive. Will still throw an error, 
though there is nothing we can do about that.
Another little enhancement would be, if the possible display-options 
were mentioned in the UI somewhere as in horde 3 e.g. with the 
Help-Button next to the HTML-Code.
Done.
09/08/2011 02:30:52 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

Don't redirect to login.php if not authenticated for an imple request.
Bug: 10492

  1 files changed, 19 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/76960469b0e508541b36619b2b891b65d2b3f30d
09/08/2011 02:30:48 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Show link to help text about other embedding options in dynamic view too.
Bug: 10492

  1 files changed, 1 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/a1e523c92ab82759126b3ea68c4dbf14a2a94b21
09/08/2011 01:51:38 PM Michael Rubinsky Queue ⇒ Kronolith
Version ⇒ 3.0.9
 
09/08/2011 12:14:00 PM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #2 Reply to this comment
ah, I forgot: despite the error, the embedded calendar is displayed 
correctly (after setting the rights, of course)
09/08/2011 12:11:31 PM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Embedding Calendar in another website with Imple
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When loading an website, with an calendar embedded, this is registered 
in hordes log:
2011-09-08T13:45:10+02:00 EMERG: HORDE [horde] Imple driver Embed not 
found. [pid 23595 on line 64 of 
"/var/www/horde4/pear/php/Horde/Core/Factory/Imple.php"]

HTML source:
<div id="kronolithCal"></div><!--a75c305b1c0a6022--><script 
src="http://xyz.zzz.uni-hannover.de/services/imple.php?imple=Embed&impleApp=kronolith&calendar=internal_S_0tVtcNCvpOZ4DH3mKQX6A&container=kronolithCal&view=month
type="text/javascript"></script>


Further I had problems with the rights to get it to work. Is somewhere 
mentioned, that Imple needs to have rights for "Horde" (show/read), to 
get it work for users, not logged in? Having these right not set, the 
javascript, the browser expects is forced to be the login-page, which 
results in an error on the browsers console.

Another little enhancement would be, if the possible display-options 
were mentioned in the UI somewhere as in horde 3 e.g. with the 
Help-Button next to the HTML-Code.

Saved Queries