6.0.0-alpha14
6/27/25

[#3504] iFrame block (external web page) wrong size
Summary iFrame block (external web page) wrong size
Queue Horde Base
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester tevans (at) tachometry (dot) com
Created 02/18/2006 (7069 days ago)
Due
Updated 12/08/2006 (6776 days ago)
Assigned 08/07/2006 (6899 days ago)
Resolved 11/24/2006 (6790 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/08/2006 09:23:17 PM Jan Schneider Deleted Original Message
 
12/08/2006 09:21:01 PM Jan Schneider Comment #17 Reply to this comment
Committed, thanks.
12/07/2006 06:55:03 PM Chuck Hagenbuch Comment #16 Reply to this comment
cvs diff -u <filename>
12/07/2006 04:46:34 PM webmgr (at) muskingum (dot) edu Comment #15
New Attachment: iframe.php Download
Reply to this comment
Attached is a new iframe.php file with the preset sizes mentioned 
below, but they will display to the user as Small, Medium, Large, and 
Extra Large. This still seems a bit more intuitive, since most end 
users don't understand the concept of pixel sizes.



One of these days I'll make it easy and learn how to do the patch files.
11/24/2006 05:10:29 AM Chuck Hagenbuch Comment #14
State ⇒ Resolved
Reply to this comment
Functionality is working fine; we can reopen the ticket if there's 
actually a new patch.
11/05/2006 02:25:11 PM Jan Schneider Comment #13 Reply to this comment
Do you still have this on your agenda?
08/22/2006 03:55:28 PM Jan Schneider Comment #12 Reply to this comment
Sounds good.
08/17/2006 11:32:40 AM webmgr (at) muskingum (dot) edu Comment #11 Reply to this comment
Jan,

I completely agree... I might make such a change in my implementation 
today. If you agree that it makes sense, you are welcome to commit it.



tevans,

For the custom value, you could probably have the value trigger a 
javascript prompt similar to how Kronolith prompts for a New Category 
name, or Turba prompts for a distribution (contact) list name (could 
probably even recycle the code from Turba fairly easily).
08/07/2006 11:03:47 PM tevans (at) tachometry (dot) com Comment #10 Reply to this comment
We currently use this feature to render individual photographs and 
other images that tend to have a non-standard height dimension.



Any chance that the proposed list of preset height values could 
include "Custom" with an appropriate user input field when needed? 
That would provide a balance between usablility and flexibility.  I 
don't know whether a single portal block parameter could be configured 
to accept multiple input modes (select list AND text field).
08/07/2006 09:56:06 PM Jan Schneider Comment #9
State ⇒ Feedback
Reply to this comment
It would make even more sense then to give the labels names like 
"Small", "Medium", "Large".
08/07/2006 02:43:51 PM webmgr (at) muskingum (dot) edu Comment #8 Reply to this comment
I find it a little more helpful to have pre-determined heights in a 
drop-down list since the common user doesn't understand that height is 
a pixel measurement... nevermind what the heck a pixel is (in many 
cases).



That said: In my implementation, I changed the 'height' parameter of 
the iframe block as follows:



                                         'height' => array('type' => 'enum',

                                                                 'name' => _("Height"),

                                                                 'default' => '600',

                                                                 'values' => array('480' => _("480"),

                                                                         '600' => _("600"),

                                                                         '768' => _("768"),

                                                                        '1024' => _("1024"))));
02/21/2006 10:35:28 AM Jan Schneider Comment #7
State ⇒ Resolved
Reply to this comment
You are correct. Committed, thanks.
02/21/2006 12:35:00 AM tevans (at) tachometry (dot) com Comment #6 Reply to this comment
Agreed ... and I believe the patch meets your request. The outer 
condition tests to see whether the height parameter is empty (default) 
before checking the browser. If a value exists for the height 
parameter (the outer "else"), we will use it regardless of browser type.
02/20/2006 10:44:10 PM Jan Schneider Comment #5 Reply to this comment
One request: you shouldn't set the height depending on the browser. If 
the user sets a height, he should get it always.
02/20/2006 06:12:27 PM tevans (at) tachometry (dot) com Comment #4
New Attachment: iframe_block_patch[1].txt Download
Reply to this comment
Thanks for looking this over. I have updated the patch for CVS HEAD 
(rev. 1.23).
02/18/2006 10:44:03 AM Jan Schneider Comment #3 Reply to this comment
It works fine for me with Firefox, but I don't have any objections. 
You need to update the patch though, because Chuck changed the block 
code in the meantime.
02/18/2006 04:55:27 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
This seems like as reasonable a solution as any, I guess - any other thoughts?
02/18/2006 01:38:38 AM tevans (at) tachometry (dot) com Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: iframe_block_patch.txt
Queue ⇒ Horde Base
Summary ⇒ iFrame block (external web page) wrong size
Type ⇒ Bug
Reply to this comment
The portal block for viewing an external web page does not fill its 
enclosing table cell even though it has a height="100%" attribute. 
This is true for both IE and Firefox (I did not test any other 
browsers using multiple skins.



As a suggested fix/workaround/enhancement (take your pick), I wanted 
to suggest the attached patch. By adding an explicit height parameter 
to the iframe block, we can give the user better control over the 
portal layout. Some of our users have already given us positive 
feedback about this small change.



Thank you for your consideration.



Tom Evans

Tachometry

Saved Queries