[rt-users] Stats package Tabs Element

david.falkenburger at rbc.com david.falkenburger at rbc.com
Mon Aug 9 16:02:43 EDT 2004


Another suggestion:

Create the following file:
/path to rt3/local/html/Callbacks/Statistics/Elements/Tabs/Default
 
<%init>
$toptabs->{'ZZ-STATS'} = { title => 'Statistics',
                          path  => "Statistics/index.html" };
</%init>
<%args>
$toptabs =>undef
</%args>

 
This way you won't have to clobber the file:
/path to rt3/local/html/Elements/Tabs
 
This will use the Callback method to add Statistics item to the menu. Don't
have to worry about changes to the original Tabs file anymore.

Dave

-----Original Message-----
From: Ray Walters [mailto:ray.walters at kiffanalytical.com]
Sent: Friday, July 30, 2004 5:45 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Stats package Tabs Element


Thanks Bryan.  I figured it was just a Nav change for 3.2 that had 
confused it.  I actually solved it myself with a different easy fix 
after I sent the email.  I just changed Search/Listing.html to 
Search/Build.html in the new Tabs file and it worked fine.

Ray

Bryan Pennington wrote:

>  
> 
> Ray,
> 
> I had the same problem. It's an easy fix. The navigation changed in 3.2.
You
> need to copy the Tabs file from the rt3/share tree to the /local tree and
> then add the following.
> 
> 
> 				Z => { title => 'Statistics',
>                              path =>  'Statistics/index.html'
>                            },
> 
> 
> Bryan
> 
> 
> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ray Walters
> Sent: Friday, July 30, 2004 3:16 PM
> To: rt-users at lists.bestpractical.com
> Subject: [rt-users] Stats package Tabs Element
> 
> I installed the Stats package, and then the Tickets tab stopped working. 
>   The new Tabs Element that Statistics imports tries to go to
> Search/Listing.html, while the 3.2.1 Tabs Element goes to
Search/Build.html.
> If you go to Search/Build.html manually, the Tab doesn't expand like it
> should to show the Query options.  I don't have a patch for it, but it
> should be trivial for someone to solve.
> 
> Ray
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
> 
> 
> 
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com

------------------------------------------------------------
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. 

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040809/cc47c8c1/attachment.htm>


More information about the rt-users mailing list