[rt-users] [Rt-devel] adding a new section in tickets display

SathiyaMoorthy SP jobs.sathiya at gmail.com
Wed Aug 24 10:59:32 EDT 2011


Hi

Thanks for your reply & time.

I too tried copying a section and found that it does not got changed
anything in the front end. Even deleted a couple of lines, refresh page -
restart apache, and found no change.

As i was editing the main flow very first time, i was not aware of the
DevelMode, and caches.. Finally got it working with the following pages
help....
http://requesttracker.wikia.com/wiki/CleanMasonCache
http://requesttracker.wikia.com/wiki/DevelMode

Now doing good with the development. And one other question, as am adding a
new section to ticket display page ! I would like to know, is there any way
i can find/understand the normal flow....

May be is there a way to go in debug mode, and find the flow of 'how a
ticket display works?' Or is there any document or flow chart explains ...
Basically i would like to know how does the general flow goes, and plug my
new section in to it !

Hope the above explanations are clear ?! Or else, when adding a new feature
which is very similar to an existing - knowing about it would help in
developing this too !

Any help is very much appreciated.

Thanks
Moorthy.




On Mon, Aug 22, 2011 at 11:14 PM, Ruslan Zakirov <ruz at bestpractical.com>wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110824/97045e0e/attachment.htm>


More information about the rt-users mailing list