[rt-users] Sample for RTFM::Extension::ArticleTemplates using inside a template ?

Daniel Schwager Daniel.Schwager at dtnet.de
Thu Feb 24 19:14:35 EST 2011


> > 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") ?

- Danny



More information about the rt-users mailing list