[rt-users] text box text forced to bottom?

Travis Brooks travis at slac.stanford.edu
Wed Dec 17 17:12:46 EST 2008


The way we did this in 3.6 (though, ironically, I don't really like
top-posting...)  was to create a 

 local/html/Elements/MessageBox

that differed from the original via the following patch.   (I believe
this took care of the cursor too, if it doesn't, let me know and I'll
look up how we did that.)

Best, 
Travis  

--- share/html/Elements/MessageBox      2006-06-19 15:44:04.000000000 -0700
+++ local/html/Elements/MessageBox      2007-07-27 17:29:55.000000000 -0700
@@ -43,8 +43,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<textarea class="messagebox" cols="<%$Width%>" rows="<%$Height%>" wrap="<%$Wrap%>" name="<%$Name%>"><& /Elements/Callback, %ARGS &><% $Default %><%$message%><%$IncludeSignature ? $signature : ''%></textarea>
-<%INIT>
+<textarea class="messagebox" cols="<%$Width%>" rows="<%$Height%>" wrap="<%$Wrap%>" name="<%$Name%>"><& /Elements/Callback, %ARGS &><%$Default %><%$IncludeSignature ? $signature : ''%><%$message%></textarea> <%INIT>
 
 my $message = '';
 
@@ -56,7 +55,7 @@
 
 my $signature = '';
 if ($IncludeSignature && $session{'CurrentUser'}->UserObj->Signature) {
-       $signature = "-- \n".$session{'CurrentUser'}->UserObj->Signature;
+       $signature = "-- \n".$session{'CurrentUser'}->UserObj->Signature."\n\n";
 }
 
 </%INIT>


On Wed, 2008-12-17 at 13:57 -0800, Carolyn Fairman wrote:
> Hi,
> 
> Is there something simple I can set that permits
> 
> 1. Text entered in a Reply or Comment to be inserted at the top of the  
> text box (above any quoted text)?
> 
> 2. RTFM articles inserted at the top of the text box, again to be  
> above any quoted text?
> 
> Is there a simple config option in RT I'm missing?  Something I can  
> set in RT_SiteConfig.om?
> 
> Please help!  Users don't like the current set up where the cursor is  
> forced to the bottom of the text box.  I went through RT_Config.pm and  
> didn't see a flag for 'insert at top' or 'insert at bottom'....
> 
> Carolyn
> 
> 
> 
> 
> On Dec 5, 2008, at 11:23 AM, Carolyn Fairman wrote:
> 
> > When users click Reply and then start to type their response in the
> > text box, the text gets forced to the bottom of the box.
> >
> > Is there a setting I missed to permit typing to go at the top of the
> > box if that's where the cursor is?
> >
> > It also jumps to a wide line spacing but we can live with that.
> >
> > Carolyn
> >
> >
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> 
> 
> 
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com



More information about the rt-users mailing list