Etomite Community Forums: plugin mods - Etomite Community Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

plugin mods

#1 User is offline   darren 

  • Likes Etomite Forums!
  • PipPip
  • Group: Member
  • Posts: 251
  • Joined: 23-May 07
  • Gender:Male
  • Location:Williams Bay
  • Interests:My Kids
    Flyfishing
    4-Wheeling
    Web Design

Posted 22 July 2009 - 12:53 AM

There's been a few things I've wanted to change in the Xinha plugins i use... mostly how the popups are sized. I tracked down what I wanted different and thought I'd share:


InsertFile:

go to line 76 and following of manager/media/xinha/plugins/InsertFile/insert_file.php

function Init() {
window.onresize=resize_iframe;
window.resizeTo(750, 750);
__dlg_init();
window.resizeTo(750, 750);
resize_iframe;
};

(to change the height of the popup)

ImageManager:

line 2 of manager/media/xinha/plugins/ImageManager/assets/manager.css:
body { padding: 5px; min-width: 700px;}
(fixes initial popup width in IE)

line 11 :
.imageFrame { width: 100%; height: 250px; margin: 0 auto; margin-top: 1em; background-color: White;}
(fixes height so you see more than 1 row of images




PasteText:
line 19 of manager/media/xinha/plugins/PasteText/popups/paste_text.html
to window.resizeTo(600, 550);

(resizing the window just to hit 'ok' drives me nuts in ff...)



*Disclaimer*
these changes work for me in IE7/8 and FF 3.0.x, I'm not positive it will work in your browser or os, or etomite version. If it doesn't, I'm sorry, I probably won't be able to help much. ;)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users