popup window size

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

popup window size

Post by CJ000 »

How to adjust the popup window size? The popup for commenting is nice but has scrollbars for some reason. Vertical is understandable but horizontal is a problem (looks bad). I'm running 1600x1200 resolution so it would seem I shouldn't get this.

Some popup window controls would be nice. Perhaps with all the popup stopping on visitor machines popup isn't used much?

Thx.

Cj
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: popup window size

Post by garvinhicking »

Yes, we developers seldomly use popups. In version 0.8 you can control that via HTML markup, we probably won't add another configuration variable for this... so you'd need to change it to make it fit. Scrollbars should only appear if users entered very long comments without linebreaks?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

Post by CJ000 »

I got scrollbars right away (before anything was even entered).
I thought perhaps there was a simple adjustment in a file.
No worries I'll just not use em.
Craig
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Oh, okay - then that's definitely strange. Do you maybe use a custom template? Then the width/height properties may be wrong for use within a popup in the CSS specification...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

Post by CJ000 »

I'm using the default template in .7
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

Post by CJ000 »

I'd like to just adjust the popup window size to be a few pixels wider. Where is the popup size set (file?).

Cj
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

In serendipity_functions.inc.php, function serendipity_printEntries().

However in 0.8 this is much easier to achieve with Smarty templating and without needing to modify core files.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
CJ000
Regular
Posts: 14
Joined: Fri Jan 14, 2005 6:50 pm
Location: Seattle

Post by CJ000 »

Thanks Garvin.

Looking forward to .8!

Cj
Post Reply