I will be adding flash video's to my popup window. The current setting for the width and height of the popup window is too small to fit my video so my users will have to enlarge the window every time they want to view the video. This patch will allow you to set the width and height of the popup window when you perform the theme call.

Comments

redndahead’s picture

Status: Active » Needs review
merlinofchaos’s picture

I'd prefer that this came from the topic itself, so that any invocation of the theme function will check the topic to see if it wants a bigger popup. Obviously this won't help so much if you start at a smaller popup and then navigate TO your help file, but it requires much less work on the part of the module developer. It should be pretty easy to add that as an option to the .ini file.

merlinofchaos’s picture

Status: Needs review » Needs work
redndahead’s picture

Before I add the corrected patch do you like popup_width and popup_height for the values or just width and height? I like adding popup in front just in case another width and height value is needed.

redndahead’s picture

ehr I mean "popup width" and "popup height"

redndahead’s picture

Status: Needs work » Needs review
StatusFileSize
new3.09 KB

I decided to use popup width. Attached is the patch.

redndahead’s picture

StatusFileSize
new2.92 KB

Fixing the ini help file to not include width height example.

redndahead’s picture

StatusFileSize
new2.92 KB

Had underscores in a couple of arrays where they shouldn't be.

redndahead’s picture

StatusFileSize
new2.92 KB

Oy copy paste stupidity.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed! Thanks for the patch!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.