Help - Search - Members - Calendar
Full Version: "Reload" default-templates.pl?
Movable Type Community Forum > Additional Resources > Tips and Tricks
btrott
You need to edit the uploaded image popup template from the edit templates screen in MT. By changing the default templates, you set it for all future blogs created, but not for the current blog.
gramcracker
I've been messing around with the MT templates to tweak them to my needs, and I've got one last tweak I'm trying to accomplish:

When a photo-popup is made, I want the popup to close onBlur.  So, I went into default-templates, found the "Uploaded Image Popup Template" and editted it, making the BODY tag this:
CODE
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" "window.close();">


I saved it, and reuploaded it to ...lib\MT\, and it's definitely there on the server, but the server doesn't seem to read it.  I'm guessing it's been stored somewhere else in the server (I think in the DB directory in template.db)?  but I'm not sure.  Is there any way to have MT re-read the default-templates.pl file, to include my popup tweak?  

Thanks!
gramcracker
Duh.  Thanks!
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-2009 Invision Power Services, Inc.