[rt-users] Sample for RTFM::Extension::ArticleTemplates using inside a template ?
Kevin Falcone
falcone at bestpractical.com
Thu Feb 24 20:11:30 EST 2011
On Fri, Feb 25, 2011 at 01:14:35AM +0100, Daniel Schwager wrote:
> > > my $rtfm = RT::FM::Article->new($Ticket->CurrentUser);
> > > my ($id,$msg) = $rtfm->Load("Signature1");
> > > if (!id) { $RT::Logger->debug("failed .."); } else { "HOWTO print a
> CF
> > > xxx from the loaded article ?"; }
> >
> > Sure, that was my suggestion
> > You don't need RTFM::Extension::ArticleTEmplate in order to load an
> > Article from a normal RT article
>
> Ups - got it. Sorry for my misunderstanding. How can I access my
> defined CF inside the RTFM ? Like $rtfm->GetCustomerField("text") ?
Something like what you sketched out above, see the docs in
Article_Overlay.pm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110224/5d65a887/attachment.sig>
More information about the rt-users
mailing list