Help - Search - Members - Calendar
Full Version: Upload window
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
gmohr
When I click "Upload File" in the MT editing menu, the pop-up window that opens is too small and the Cancel and upload buttons at the bottom are not visible. I have to enlarge the window everytime. Can anyone tell me how to get this to default to a larger size?
girlie
Hmmm. That doesn't sound right. Is there anything in the window that shouldn't be (like an ad from your host or something, I've heard of that before)? Is the styles.css file in the right place? And you might want to check the files in tmpl/cms/ to make sure they're all there.
gmohr
Thanks for the help. Here's what I found. There's nothing in the window that shouldn't be and I haven't moved styles.css or deleted anything from tmpl/cms/. While looking in tmpl/cms/ I did discover upload.tmpl which seems to control that popup. Unfortunately I don't know what I need to change to make the popup longer. Right now it cuts off just below local archive path.
maddy
That is weird. Do you have the font size increased in your browser or anything like that?

You might try uploding tmpl/cms/mininav.tmpl again, it's the template that seems to control the popup link for the Upload File page (from a quick check).

If that doesn't make any difference, I guess you could look at editing the link from within that file, this is the section of code you'd be looking for, I think:
CODE
<TMPL_IF NAME=CAN_UPLOAD>
<tr>
<td valign="top" ><a title="<MT_TRANS phrase="Upload File">" onmouseover="window.status='<MT_TRANS phrase="Upload File">'; return true" href="#" onClick="window.open('<TMPL_VAR NAME=SCRIPT_URL>?__mode=start_upload&blog_id=<TMPL_VAR NAME=BLOG_ID>', 'upload', 'width=400,height=400,resizable=yes')"><img alt="<MT_TRANS phrase="Upload File">" src="<TMPL_VAR NAME="STATIC_URI">images/lang-<TMPL_VAR NAME=LANGUAGE_TAG>/nav-upload.gif" width="95" height="32" border="0"></a></td>
</tr>

</TMPL_IF>


Hope that helps. smile.gif
gmohr
That did it. I changed the height from 400 to 500 and it's perfect now. Thanks so much.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.