[Rt-devel] Custom My Day Page
Joel Hartshorn
jhartshorn at seattletimes.com
Tue Aug 11 15:13:54 EDT 2009
Perfect, except the menu item does not show up after changing the tabs file.
Joel Hartshorn
Internet Engineer/New Media
The Seattle Times Company
206 464 2323
nwsource.com | seattletimes.com
-----Original Message-----
From: Jerrad Pierce [mailto:jpierce at cambridgeenergyalliance.org]
Sent: Tuesday, August 11, 2009 11:50 AM
To: Joel Hartshorn
Cc: rt-devel at lists.bestpractical.com
Subject: Re: [Rt-devel] Custom My Day Page
Yes. It's actually pretty trivial. copy MyDay.html to a new name in local/
Change the LimitStatus lines at the bottom of the file to suit your tastes,
presumably with an added condition limiting it 'today'.
Then use the Tools/Elements/Tabs/Default callback to add it to the menu e.g;
<%init>
$tabs->{'MMD'} = { title =>"My My Day",
path => "Tools/MyMyDay.html",
description =>"My Day for recently resoled tickets" };
</%init> <%args> $tabs </%args>
--
Cambridge Energy Alliance: Save money. Save the planet.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3359 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20090811/e9e1a02f/attachment.bin
More information about the Rt-devel
mailing list