[rt-users] Statistics Callback

Rick Ellis Richard.Ellis at Sun.COM
Mon Jan 26 10:37:43 EST 2004


Nope :)

That was the first thing I rechecked


On Mon, 2004-01-26 at 14:39, Todd Chapman wrote:
> Maybe you added the callback but never removed the overlay.
> 
> -Todd
> 
> On Mon, Jan 26, 2004 at 03:15:37PM +0000, Rick Ellis wrote:
> > Just trying to implement AJ's Callback from Vol3 Issue 73 for replacing
> > the Elements/Tab with a Callback (its our first and only Callback so
> > far), but I'm seeing the Statistics data duplicated twice, One near the
> > top and again at the bottom of the page?
> > 
> > Even did a restart to make sure.
> > 
> > What did I miss?
> > 
> > > Message: 6
> > > Date: Wed, 21 Jan 2004 16:30:56 -0500
> > > From: "AJ" <rt at musefoundry.com>
> > > Subject: RE: [rt-users] Feature suggestion list for Statistics
> > > To: "'Todd Chapman'" <rt at chaka.net>, "'Kelly F. Hickel'"
> > > 	<kfh at mqsoftware.com>
> > > Cc: rt-users at lists.fsck.com
> > > Message-ID:
> > > 	<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAA9tUWdOmOUE+6g2RIHUkSNAEAwYmj7r9QD0mtN+MAvAz3KwAAABnaGwAAEAAAAGDQHnNWgRNKu2ML0hG7TgIBAAAAAA==@musefoundry.com>
> > > 	
> > > Content-Type: text/plain;	charset="us-ascii"
> > > 
> > > Another clean way to do it would be:
> > > <rtdir>/local/html/Callbacks/Statistics/Elements/Tabs/Default
> > > 
> > > And in Default put:
> > > <%init>
> > > $toptabs->{'CC-Statistics'} = { title =>loc("Statistics"),
> > >                           path  => "Statistics/index.html" };
> > > </%init>
> > > <%args>
> > > $toptabs =>undef
> > > </%args>
> > > 
> > > 
> > > That way one keeps the Statistics tabs away from any of the core elements.
> > > 
> > > In some cases, may need to restart webserver after adding.
> > > 
> > > A.J.
> > > 
> > > -----Original Message-----
> > > From: rt-users-bounces at lists.bestpractical.com
> > > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Todd Chapman
> > > Sent: Wednesday, January 21, 2004 2:05 PM
> > > To: Kelly F. Hickel
> > > Cc: rt-users at lists.fsck.com
> > > Subject: Re: [rt-users] Feature suggestion list for Statistics
> > > 
> > > Also, currently the statistics package implements it's tab by
> > > creating a local version of the Tabs component: 
> > > 
> > > local/html/Elements/Tabs
> > > 
> > > The same can be accomplished more cleanly using callbacks. I 
> > > created this file:
> > > 
> > > share/html/Callbacks/local/Elements/Tabs/
> > > 
> > > With these comments:
> > > 
> > > ###
> > > <%init>
> > > $toptabs->{'Z'} = { title => loc('Statistics'), path =>
> > > 'Statistics/index.html' };
> > > </%init>
> > > <%args>
> > > $toptabs
> > > </%args>
> > > ###
> > > 
> > > and deleted local/html/Elements/Tabs.
> > > 
> > > For further reference:
> > > 
> > > http://lists.fsck.com/pipermail/rt-devel/2003-November/005101.html
> > > 
> > > -Todd
> > 
> >  
> > Rick Ellis <Richard.Ellis at Sun.COM>
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.bestpractical.com
> > http://lists.bestpractical.com/mailman/listinfo/rt-users
> > 
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
-- 
Rick Ellis <Richard.Ellis at Sun.COM>




More information about the rt-users mailing list