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

Kevin Falcone falcone at bestpractical.com
Wed Aug 24 12:38:58 EDT 2011


On Wed, Aug 24, 2011 at 03:59:32PM +0100, SathiyaMoorthy SP wrote:
>    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....
>    [1]http://requesttracker.wikia.com/wiki/CleanMasonCache
>    [2]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.

Configuring MasonX::Profiler, as documented in RT_Config.pm, will show
you the template load order.

-kevin

> 
>    On Mon, Aug 22, 2011 at 11:14 PM, Ruslan Zakirov <[3]ruz at bestpractical.com> wrote:
> 
>      On Mon, Aug 22, 2011 at 9:02 PM, SathiyaMoorthy SP
>      <[4]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.
> 
> References
> 
>    Visible links
>    1. http://requesttracker.wikia.com/wiki/CleanMasonCache
>    2. http://requesttracker.wikia.com/wiki/DevelMode
>    3. mailto:ruz at bestpractical.com
>    4. mailto:jobs.sathiya at gmail.com

> --------
> 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

-------------- 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/20110824/74a1f321/attachment.sig>


More information about the rt-users mailing list