On Mon, Aug 22, 2011 at 9:02 PM, SathiyaMoorthy SP
<[email protected]> 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.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Chicago, IL, USA September 26 & 27, 2011
* San Francisco, CA, USA October 18 & 19, 2011
* Washington DC, USA October 31 & November 1, 2011
* Melbourne VIC, Australia November 28 & 29, 2011
* Barcelona, Spain November 28 & 29, 2011