[rt-users] [Rt-devel] adding a new section in tickets display
Ruslan Zakirov
ruz at bestpractical.com
Mon Aug 22 18:14:03 EDT 2011
On Mon, Aug 22, 2011 at 9:02 PM, SathiyaMoorthy SP
<jobs.sathiya at gmail.com> wrote:
> Hi,
> Thanks for the reply.
> I spent sometime with the ShowSummary file. But no success ! I dont know how
> to edit the file. I started learning HTML::Mason, so that I can add a new
> section.
> But anyway i would like to get ideas from somebody who has did it already !
Did it several times. ShowSummary has code similar to the folowing:
<&| /Widgets/TitleBox, title => loc('The Basics'),
class => 'ticket-info-basics',
&><& /Ticket/Elements/ShowBasics, Ticket => $Ticket &></&>
Copy it. See that ShowBasics appears twice on the page. Copy
ShowBasics file. Adjust, see changes and so on.
> How can i add a new custom section ?, through Which i have to show 'new
> section' when the user views the ticket, and he should be allowed to add,
> edit, delete content from that section as similar as dates or people
> section.
May be you're talking about menu. Are you?
> Do i have to add HTML code or perl code ? What is the structure, which files
> i have to edit Kindly let me know.
If you need some sort of editor for custom data then for sure you'll
need to write Mason, HTML and perl code.
> Thanks
> Moorthy
--
Best regards, Ruslan.
More information about the rt-users
mailing list