Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Re: RT Visual Interface Enhancements Enquiry

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


mailinglists at boksa

Jun 29, 2012, 10:57 AM

Post #1 of 16 (1166 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry

Hi :-)

I am sure this can be done using RT4 by writing a custom page - but I honestly do not know how…

What I would do is write up a quick external solution and use RT's REST interface to provide the data for each of your columns by "binding" each column to the result of a search in RT (executed using the REST interface) :-) If you want to spend a bit more time this could be a completely flexible solution where you can dynamically add columns / define the layout and look and feel exactly as you like it.

If you would like to discuss details just let me know.

Best regards

Benjamin



Am 29.06.2012 um 15:40 schrieb Nafiesa Allie:

> Good Day
>
> My company is currently using RT4.
>
> A number of the latest available job ticketing systems (e.g. Trello) use an approach where the interface is split up into boards that signify the status the job is at, see attached Trello.png. Would it be possible to customize/enhance RT so that a similar interface be achieved?
>
> Our company-specific needs, in terms of the interface, are displayed in the attached RT_Boards_Required.png. We do know how to add more statuses to RT, but would also like the lists for the different states (initial/active/inactive) and statuses to be displayed adjacent to each other across the width of the screen, as in RT_Boards_Required.png. We basically would like to have a complete overview of jobs listed at a glance. We have experimented with the current dashboard in RT4, but was unable to achieve the same effect. When setting up a dashboard, the maximum number of lists that can lie adjacent to each other is 2. It would have been helpful if the panels (body/sidebar) could be re-sized so that more than two lists can appear adjacent to each other.
>
> I welcome any feedback.
> --
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
>
>
> <trello.png><RT_Boards_Required.png>


trs at bestpractical

Jun 29, 2012, 11:09 AM

Post #2 of 16 (1103 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
> I am sure this can be done using RT4 by writing a custom page - but I
> honestly do not know how…

Learning the basics of how to create your own page in RT will probably
be faster and more efficient than trying to use the REST interface to
get all the data and interaction you want.

You can probably do most of what you want with a standard dashboard and
a bunch of custom CSS and JS that targets it to rearrange as necessary.


nafiesaa at kromco

Jul 2, 2012, 2:42 AM

Post #3 of 16 (1081 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Great! So where do I start? I have never fiddled with CSS or JS before, so
it will be helpful if you could direct me to a relevant example.

On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:

> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
> > I am sure this can be done using RT4 by writing a custom page - but I
> > honestly do not know how…
>
> Learning the basics of how to create your own page in RT will probably
> be faster and more efficient than trying to use the REST interface to
> get all the data and interaction you want.
>
> You can probably do most of what you want with a standard dashboard and
> a bunch of custom CSS and JS that targets it to rearrange as necessary.
>



--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


ruz at bestpractical

Jul 2, 2012, 12:47 PM

Post #4 of 16 (1079 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> Great! So where do I start?  I have never fiddled with CSS or JS before, so
> it will be helpful if you could direct me to a relevant example.

Start from Dashboards, custom searches and see how close you can get
to what you need.



>
> On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
>>
>> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>> > I am sure this can be done using RT4 by writing a custom page - but I
>> > honestly do not know how…
>>
>> Learning the basics of how to create your own page in RT will probably
>> be faster and more efficient than trying to use the REST interface to
>> get all the data and interaction you want.
>>
>> You can probably do most of what you want with a standard dashboard and
>> a bunch of custom CSS and JS that targets it to rearrange as necessary.
>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that any
> review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank you
> for your cooperation.
>
>



--
Best regards, Ruslan.


nafiesaa at kromco

Jul 2, 2012, 11:29 PM

Post #5 of 16 (1071 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

I have already created dashboards with custom searches, but my problem lies
with the fact that I cannot get the panels to lie alongside each other as
per my example. RT only allows two lists/charts panels next to each other.
How do I overcome this?

On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:

> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa [at] kromco>
> wrote:
> > Great! So where do I start? I have never fiddled with CSS or JS before,
> so
> > it will be helpful if you could direct me to a relevant example.
>
> Start from Dashboards, custom searches and see how close you can get
> to what you need.
>
>
>
> >
> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
> >>
> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
> >> > I am sure this can be done using RT4 by writing a custom page - but I
> >> > honestly do not know how…
> >>
> >> Learning the basics of how to create your own page in RT will probably
> >> be faster and more efficient than trying to use the REST interface to
> >> get all the data and interaction you want.
> >>
> >> You can probably do most of what you want with a standard dashboard and
> >> a bunch of custom CSS and JS that targets it to rearrange as necessary.
> >
> >
> >
> >
> > --
> >
> > Groete/Regards
> >
> > Nafiesa Allie
> >
> > Kromco (Pty) Ltd
> >
> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
> >
> > *Important Notice: This e-mail may contain trade secrets or privileged,
> > undisclosed, or otherwise confidential information.
> >
> > If you have received this e-mail in error, you are hereby notified that
> any
> > review, copying, or distribution of it is strictly prohibited.
> >
> > Please inform us immediately and destroy the original transmittal. Thank
> you
> > for your cooperation.
> >
> >
>
>
>
> --
> Best regards, Ruslan.
>



--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


ruz at bestpractical

Jul 5, 2012, 5:53 AM

Post #6 of 16 (1061 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> I have already created dashboards with custom searches, but my problem lies
> with the fact that I cannot get the panels to lie alongside each other as
> per my example. RT only allows two lists/charts panels next to each other.
> How do I overcome this?

With javascript:

jQuery('table.myrt td.boxcontainer >
div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
class="boxcontainer" />');

Above is dirty variant, but at least it works in Chrome and
demonstrates how to start. There is a callback in Header file to put
any custom javascript on RT pages.

>
>
> On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>
>> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa [at] kromco>
>> wrote:
>> > Great! So where do I start? I have never fiddled with CSS or JS before,
>> > so
>> > it will be helpful if you could direct me to a relevant example.
>>
>> Start from Dashboards, custom searches and see how close you can get
>> to what you need.
>>
>>
>>
>> >
>> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
>> >>
>> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>> >> > I am sure this can be done using RT4 by writing a custom page - but I
>> >> > honestly do not know how…
>> >>
>> >> Learning the basics of how to create your own page in RT will probably
>> >> be faster and more efficient than trying to use the REST interface to
>> >> get all the data and interaction you want.
>> >>
>> >> You can probably do most of what you want with a standard dashboard and
>> >> a bunch of custom CSS and JS that targets it to rearrange as necessary.
>> >
>> >
>> >
>> >
>> > --
>> >
>> > Groete/Regards
>> >
>> > Nafiesa Allie
>> >
>> > Kromco (Pty) Ltd
>> >
>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>> >
>> > *Important Notice: This e-mail may contain trade secrets or privileged,
>> > undisclosed, or otherwise confidential information.
>> >
>> > If you have received this e-mail in error, you are hereby notified that
>> > any
>> > review, copying, or distribution of it is strictly prohibited.
>> >
>> > Please inform us immediately and destroy the original transmittal. Thank
>> > you
>> > for your cooperation.
>> >
>> >
>>
>>
>>
>> --
>> Best regards, Ruslan.
>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that any
> review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank you
> for your cooperation.
>
>



--
Best regards, Ruslan.
Attachments: Снимок экрана 2012-07-05 в 15.52.34.png (160 KB)


nafiesaa at kromco

Jul 10, 2012, 4:36 AM

Post #7 of 16 (1013 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Hi Ruslan

I managed to figure out how to successfully create a dirty variant, and it
seems to do what I want. However, I am still struggling to create the
callback.
" There is a callback in Header file to put any custom javascript on RT
pages. " - I do not find such a callback.
I now understand the concept of a callback, but not finding the relevant
callback does not help much. Please could you give me some direction?

Regards
Nafiesa

On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:

> Hi Ruslan
>
> Thanks so much for your swift response plus the given detail; I am so
> glad that it is possible! However, I have no idea how to get to the
> interface that will enable me to add the new code. This is the first time
> I am wanting to do a customization, and I do not know where to start. How
> do I get to the interface in your screenshot?
>
> Have a great weekend!
> Nafiesa
>
>
> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>
>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco>
>> wrote:
>> > I have already created dashboards with custom searches, but my problem
>> lies
>> > with the fact that I cannot get the panels to lie alongside each other
>> as
>> > per my example. RT only allows two lists/charts panels next to each
>> other.
>> > How do I overcome this?
>>
>> With javascript:
>>
>> jQuery('table.myrt td.boxcontainer >
>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>> class="boxcontainer" />');
>>
>> Above is dirty variant, but at least it works in Chrome and
>> demonstrates how to start. There is a callback in Header file to put
>> any custom javascript on RT pages.
>>
>> >
>> >
>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>> >>
>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa [at] kromco>
>> >> wrote:
>> >> > Great! So where do I start? I have never fiddled with CSS or JS
>> before,
>> >> > so
>> >> > it will be helpful if you could direct me to a relevant example.
>> >>
>> >> Start from Dashboards, custom searches and see how close you can get
>> >> to what you need.
>> >>
>> >>
>> >>
>> >> >
>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
>> >> >>
>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>> >> >> > I am sure this can be done using RT4 by writing a custom page -
>> but I
>> >> >> > honestly do not know how…
>> >> >>
>> >> >> Learning the basics of how to create your own page in RT will
>> probably
>> >> >> be faster and more efficient than trying to use the REST interface
>> to
>> >> >> get all the data and interaction you want.
>> >> >>
>> >> >> You can probably do most of what you want with a standard dashboard
>> and
>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>> necessary.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> > Groete/Regards
>> >> >
>> >> > Nafiesa Allie
>> >> >
>> >> > Kromco (Pty) Ltd
>> >> >
>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>> nafiesaa [at] kromco |
>> >> >
>> >> > *Important Notice: This e-mail may contain trade secrets or
>> privileged,
>> >> > undisclosed, or otherwise confidential information.
>> >> >
>> >> > If you have received this e-mail in error, you are hereby notified
>> that
>> >> > any
>> >> > review, copying, or distribution of it is strictly prohibited.
>> >> >
>> >> > Please inform us immediately and destroy the original transmittal.
>> Thank
>> >> > you
>> >> > for your cooperation.
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Best regards, Ruslan.
>> >
>> >
>> >
>> >
>> > --
>> >
>> > Groete/Regards
>> >
>> > Nafiesa Allie
>> >
>> > Kromco (Pty) Ltd
>> >
>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>> >
>> > *Important Notice: This e-mail may contain trade secrets or privileged,
>> > undisclosed, or otherwise confidential information.
>> >
>> > If you have received this e-mail in error, you are hereby notified that
>> any
>> > review, copying, or distribution of it is strictly prohibited.
>> >
>> > Please inform us immediately and destroy the original transmittal.
>> Thank you
>> > for your cooperation.
>> >
>> >
>>
>>
>>
>> --
>> Best regards, Ruslan.
>>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that
> any review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank
> you for your cooperation.
>
>


--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


nafiesaa at kromco

Jul 10, 2012, 4:51 AM

Post #8 of 16 (997 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

I think I must clarify what I am saying below:
from what I understand RT4 callbacks are defined in /rt4/share/Elements. I
found a number of callbacks there, but not the one I am looking for, viz.
Header, so I need help to either find it or create it from scratch.

Regards
Nafiesa

On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:

> Hi Ruslan
>
> I managed to figure out how to successfully create a dirty variant, and it
> seems to do what I want. However, I am still struggling to create the
> callback.
> " There is a callback in Header file to put any custom javascript on RT
> pages. " - I do not find such a callback.
> I now understand the concept of a callback, but not finding the relevant
> callback does not help much. Please could you give me some direction?
>
> Regards
> Nafiesa
>
>
> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>
>> Hi Ruslan
>>
>> Thanks so much for your swift response plus the given detail; I am so
>> glad that it is possible! However, I have no idea how to get to the
>> interface that will enable me to add the new code. This is the first time
>> I am wanting to do a customization, and I do not know where to start. How
>> do I get to the interface in your screenshot?
>>
>> Have a great weekend!
>> Nafiesa
>>
>>
>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>
>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco>
>>> wrote:
>>> > I have already created dashboards with custom searches, but my problem
>>> lies
>>> > with the fact that I cannot get the panels to lie alongside each other
>>> as
>>> > per my example. RT only allows two lists/charts panels next to each
>>> other.
>>> > How do I overcome this?
>>>
>>> With javascript:
>>>
>>> jQuery('table.myrt td.boxcontainer >
>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>>> class="boxcontainer" />');
>>>
>>> Above is dirty variant, but at least it works in Chrome and
>>> demonstrates how to start. There is a callback in Header file to put
>>> any custom javascript on RT pages.
>>>
>>> >
>>> >
>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>> >>
>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa [at] kromco
>>> >
>>> >> wrote:
>>> >> > Great! So where do I start? I have never fiddled with CSS or JS
>>> before,
>>> >> > so
>>> >> > it will be helpful if you could direct me to a relevant example.
>>> >>
>>> >> Start from Dashboards, custom searches and see how close you can get
>>> >> to what you need.
>>> >>
>>> >>
>>> >>
>>> >> >
>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
>>> >> >>
>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>>> >> >> > I am sure this can be done using RT4 by writing a custom page -
>>> but I
>>> >> >> > honestly do not know how…
>>> >> >>
>>> >> >> Learning the basics of how to create your own page in RT will
>>> probably
>>> >> >> be faster and more efficient than trying to use the REST interface
>>> to
>>> >> >> get all the data and interaction you want.
>>> >> >>
>>> >> >> You can probably do most of what you want with a standard
>>> dashboard and
>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>>> necessary.
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > --
>>> >> >
>>> >> > Groete/Regards
>>> >> >
>>> >> > Nafiesa Allie
>>> >> >
>>> >> > Kromco (Pty) Ltd
>>> >> >
>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>> nafiesaa [at] kromco |
>>> >> >
>>> >> > *Important Notice: This e-mail may contain trade secrets or
>>> privileged,
>>> >> > undisclosed, or otherwise confidential information.
>>> >> >
>>> >> > If you have received this e-mail in error, you are hereby notified
>>> that
>>> >> > any
>>> >> > review, copying, or distribution of it is strictly prohibited.
>>> >> >
>>> >> > Please inform us immediately and destroy the original transmittal.
>>> Thank
>>> >> > you
>>> >> > for your cooperation.
>>> >> >
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Best regards, Ruslan.
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> >
>>> > Groete/Regards
>>> >
>>> > Nafiesa Allie
>>> >
>>> > Kromco (Pty) Ltd
>>> >
>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
>>> >
>>> > *Important Notice: This e-mail may contain trade secrets or privileged,
>>> > undisclosed, or otherwise confidential information.
>>> >
>>> > If you have received this e-mail in error, you are hereby notified
>>> that any
>>> > review, copying, or distribution of it is strictly prohibited.
>>> >
>>> > Please inform us immediately and destroy the original transmittal.
>>> Thank you
>>> > for your cooperation.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Best regards, Ruslan.
>>>
>>
>>
>>
>> --
>>
>> Groete/Regards
>>
>> Nafiesa Allie
>>
>> Kromco (Pty) Ltd
>>
>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>
>> *Important Notice: This e-mail may contain trade secrets or privileged,
>> undisclosed, or otherwise confidential information.
>>
>> If you have received this e-mail in error, you are hereby notified that
>> any review, copying, or distribution of it is strictly prohibited.
>>
>> Please inform us immediately and destroy the original transmittal. Thank
>> you for your cooperation.
>>
>>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that
> any review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank
> you for your cooperation.
>
>


--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


ruz at bestpractical

Jul 10, 2012, 11:57 AM

Post #9 of 16 (992 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Hi,

RT's file share/html/Elements/Header contains the following line:

$m->callback( %ARGS, CallbackName => 'Head' );

It's the perfect place to insert custom CSS/JS hacks.

On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> I think I must clarify what I am saying below:
> from what I understand RT4 callbacks are defined in /rt4/share/Elements. I
> found a number of callbacks there, but not the one I am looking for, viz.
> Header, so I need help to either find it or create it from scratch.
>
> Regards
> Nafiesa
>
> On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>
>> Hi Ruslan
>>
>> I managed to figure out how to successfully create a dirty variant, and it
>> seems to do what I want. However, I am still struggling to create the
>> callback.
>> " There is a callback in Header file to put any custom javascript on RT
>> pages. " - I do not find such a callback.
>> I now understand the concept of a callback, but not finding the relevant
>> callback does not help much. Please could you give me some direction?
>>
>> Regards
>> Nafiesa
>>
>>
>> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>>
>>> Hi Ruslan
>>>
>>> Thanks so much for your swift response plus the given detail; I am so
>>> glad that it is possible! However, I have no idea how to get to the
>>> interface that will enable me to add the new code. This is the first time I
>>> am wanting to do a customization, and I do not know where to start. How do
>>> I get to the interface in your screenshot?
>>>
>>> Have a great weekend!
>>> Nafiesa
>>>
>>>
>>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>>>
>>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco>
>>>> wrote:
>>>> > I have already created dashboards with custom searches, but my problem
>>>> > lies
>>>> > with the fact that I cannot get the panels to lie alongside each other
>>>> > as
>>>> > per my example. RT only allows two lists/charts panels next to each
>>>> > other.
>>>> > How do I overcome this?
>>>>
>>>> With javascript:
>>>>
>>>> jQuery('table.myrt td.boxcontainer >
>>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>>>> class="boxcontainer" />');
>>>>
>>>> Above is dirty variant, but at least it works in Chrome and
>>>> demonstrates how to start. There is a callback in Header file to put
>>>> any custom javascript on RT pages.
>>>>
>>>> >
>>>> >
>>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>>> >>
>>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>>>> >> <nafiesaa [at] kromco>
>>>> >> wrote:
>>>> >> > Great! So where do I start? I have never fiddled with CSS or JS
>>>> >> > before,
>>>> >> > so
>>>> >> > it will be helpful if you could direct me to a relevant example.
>>>> >>
>>>> >> Start from Dashboards, custom searches and see how close you can get
>>>> >> to what you need.
>>>> >>
>>>> >>
>>>> >>
>>>> >> >
>>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical> wrote:
>>>> >> >>
>>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>>>> >> >> > I am sure this can be done using RT4 by writing a custom page -
>>>> >> >> > but I
>>>> >> >> > honestly do not know how…
>>>> >> >>
>>>> >> >> Learning the basics of how to create your own page in RT will
>>>> >> >> probably
>>>> >> >> be faster and more efficient than trying to use the REST interface
>>>> >> >> to
>>>> >> >> get all the data and interaction you want.
>>>> >> >>
>>>> >> >> You can probably do most of what you want with a standard
>>>> >> >> dashboard and
>>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>>>> >> >> necessary.
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> >
>>>> >> > Groete/Regards
>>>> >> >
>>>> >> > Nafiesa Allie
>>>> >> >
>>>> >> > Kromco (Pty) Ltd
>>>> >> >
>>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>>> >> > nafiesaa [at] kromco |
>>>> >> >
>>>> >> > *Important Notice: This e-mail may contain trade secrets or
>>>> >> > privileged,
>>>> >> > undisclosed, or otherwise confidential information.
>>>> >> >
>>>> >> > If you have received this e-mail in error, you are hereby notified
>>>> >> > that
>>>> >> > any
>>>> >> > review, copying, or distribution of it is strictly prohibited.
>>>> >> >
>>>> >> > Please inform us immediately and destroy the original transmittal.
>>>> >> > Thank
>>>> >> > you
>>>> >> > for your cooperation.
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Best regards, Ruslan.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> >
>>>> > Groete/Regards
>>>> >
>>>> > Nafiesa Allie
>>>> >
>>>> > Kromco (Pty) Ltd
>>>> >
>>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco
>>>> > |
>>>> >
>>>> > *Important Notice: This e-mail may contain trade secrets or
>>>> > privileged,
>>>> > undisclosed, or otherwise confidential information.
>>>> >
>>>> > If you have received this e-mail in error, you are hereby notified
>>>> > that any
>>>> > review, copying, or distribution of it is strictly prohibited.
>>>> >
>>>> > Please inform us immediately and destroy the original transmittal.
>>>> > Thank you
>>>> > for your cooperation.
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards, Ruslan.
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Groete/Regards
>>>
>>> Nafiesa Allie
>>>
>>> Kromco (Pty) Ltd
>>>
>>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>>
>>> *Important Notice: This e-mail may contain trade secrets or privileged,
>>> undisclosed, or otherwise confidential information.
>>>
>>> If you have received this e-mail in error, you are hereby notified that
>>> any review, copying, or distribution of it is strictly prohibited.
>>>
>>> Please inform us immediately and destroy the original transmittal. Thank
>>> you for your cooperation.
>>>
>>>
>>
>>
>>
>> --
>>
>> Groete/Regards
>>
>> Nafiesa Allie
>>
>> Kromco (Pty) Ltd
>>
>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>
>> *Important Notice: This e-mail may contain trade secrets or privileged,
>> undisclosed, or otherwise confidential information.
>>
>> If you have received this e-mail in error, you are hereby notified that
>> any review, copying, or distribution of it is strictly prohibited.
>>
>> Please inform us immediately and destroy the original transmittal. Thank
>> you for your cooperation.
>>
>>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that any
> review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank you
> for your cooperation.
>
>



--
Best regards, Ruslan.


nafiesaa at kromco

Jul 11, 2012, 12:35 AM

Post #10 of 16 (976 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Thanks, Ruslan.

OK, I created my callback file but now I am not sure what the code should
look like.

Using your dirty variant that applies to RT at a glance
jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt >
tbody > tr').wrap('<td class="boxcontainer" />');
and changing it to
jQuery('table#dashboard-26.dashboard td.boxcontainer >
div').detach().appendTo('table#dashboard-26.dashboard > tbody >
tr').wrap('<td class="boxcontainer" />');
it now applies to the dashboard.

However, adding the code to my callback, does not make any difference, even
after rebooting the RT server, regardless whether I am using your variant
or my own. I am not sure whether the problem lies in my code - see
printscreen attached, or elsewhere. I would deeply appreciate some further
help in this and am desperate to resolve this sooner rather than later. If
I am unable to master this, then some other ticketing system will be
enforced.

(It feels like I am taking tiny baby-steps in resolving this problem; I
wish there was a clear example that one could follow.)

Regards
Nafiesa

On 10 July 2012 20:57, Ruslan Zakirov <ruz [at] bestpractical> wrote:

> Hi,
>
> RT's file share/html/Elements/Header contains the following line:
>
> $m->callback( %ARGS, CallbackName => 'Head' );
>
> It's the perfect place to insert custom CSS/JS hacks.
>
> On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco>
> wrote:
> > I think I must clarify what I am saying below:
> > from what I understand RT4 callbacks are defined in /rt4/share/Elements.
> I
> > found a number of callbacks there, but not the one I am looking for, viz.
> > Header, so I need help to either find it or create it from scratch.
> >
> > Regards
> > Nafiesa
> >
> > On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>
> >> Hi Ruslan
> >>
> >> I managed to figure out how to successfully create a dirty variant, and
> it
> >> seems to do what I want. However, I am still struggling to create the
> >> callback.
> >> " There is a callback in Header file to put any custom javascript on RT
> >> pages. " - I do not find such a callback.
> >> I now understand the concept of a callback, but not finding the relevant
> >> callback does not help much. Please could you give me some direction?
> >>
> >> Regards
> >> Nafiesa
> >>
> >>
> >> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>>
> >>> Hi Ruslan
> >>>
> >>> Thanks so much for your swift response plus the given detail; I am so
> >>> glad that it is possible! However, I have no idea how to get to the
> >>> interface that will enable me to add the new code. This is the first
> time I
> >>> am wanting to do a customization, and I do not know where to start.
> How do
> >>> I get to the interface in your screenshot?
> >>>
> >>> Have a great weekend!
> >>> Nafiesa
> >>>
> >>>
> >>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
> >>>>
> >>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco>
> >>>> wrote:
> >>>> > I have already created dashboards with custom searches, but my
> problem
> >>>> > lies
> >>>> > with the fact that I cannot get the panels to lie alongside each
> other
> >>>> > as
> >>>> > per my example. RT only allows two lists/charts panels next to each
> >>>> > other.
> >>>> > How do I overcome this?
> >>>>
> >>>> With javascript:
> >>>>
> >>>> jQuery('table.myrt td.boxcontainer >
> >>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
> >>>> class="boxcontainer" />');
> >>>>
> >>>> Above is dirty variant, but at least it works in Chrome and
> >>>> demonstrates how to start. There is a callback in Header file to put
> >>>> any custom javascript on RT pages.
> >>>>
> >>>> >
> >>>> >
> >>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical> wrote:
> >>>> >>
> >>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
> >>>> >> <nafiesaa [at] kromco>
> >>>> >> wrote:
> >>>> >> > Great! So where do I start? I have never fiddled with CSS or JS
> >>>> >> > before,
> >>>> >> > so
> >>>> >> > it will be helpful if you could direct me to a relevant example.
> >>>> >>
> >>>> >> Start from Dashboards, custom searches and see how close you can
> get
> >>>> >> to what you need.
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> >
> >>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical>
> wrote:
> >>>> >> >>
> >>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
> >>>> >> >> > I am sure this can be done using RT4 by writing a custom page
> -
> >>>> >> >> > but I
> >>>> >> >> > honestly do not know how…
> >>>> >> >>
> >>>> >> >> Learning the basics of how to create your own page in RT will
> >>>> >> >> probably
> >>>> >> >> be faster and more efficient than trying to use the REST
> interface
> >>>> >> >> to
> >>>> >> >> get all the data and interaction you want.
> >>>> >> >>
> >>>> >> >> You can probably do most of what you want with a standard
> >>>> >> >> dashboard and
> >>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
> >>>> >> >> necessary.
> >>>> >> >
> >>>> >> >
> >>>> >> >
> >>>> >> >
> >>>> >> > --
> >>>> >> >
> >>>> >> > Groete/Regards
> >>>> >> >
> >>>> >> > Nafiesa Allie
> >>>> >> >
> >>>> >> > Kromco (Pty) Ltd
> >>>> >> >
> >>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> >>>> >> > nafiesaa [at] kromco |
> >>>> >> >
> >>>> >> > *Important Notice: This e-mail may contain trade secrets or
> >>>> >> > privileged,
> >>>> >> > undisclosed, or otherwise confidential information.
> >>>> >> >
> >>>> >> > If you have received this e-mail in error, you are hereby
> notified
> >>>> >> > that
> >>>> >> > any
> >>>> >> > review, copying, or distribution of it is strictly prohibited.
> >>>> >> >
> >>>> >> > Please inform us immediately and destroy the original
> transmittal.
> >>>> >> > Thank
> >>>> >> > you
> >>>> >> > for your cooperation.
> >>>> >> >
> >>>> >> >
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> --
> >>>> >> Best regards, Ruslan.
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> > --
> >>>> >
> >>>> > Groete/Regards
> >>>> >
> >>>> > Nafiesa Allie
> >>>> >
> >>>> > Kromco (Pty) Ltd
> >>>> >
> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> nafiesaa [at] kromco
> >>>> > |
> >>>> >
> >>>> > *Important Notice: This e-mail may contain trade secrets or
> >>>> > privileged,
> >>>> > undisclosed, or otherwise confidential information.
> >>>> >
> >>>> > If you have received this e-mail in error, you are hereby notified
> >>>> > that any
> >>>> > review, copying, or distribution of it is strictly prohibited.
> >>>> >
> >>>> > Please inform us immediately and destroy the original transmittal.
> >>>> > Thank you
> >>>> > for your cooperation.
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Best regards, Ruslan.
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> Groete/Regards
> >>>
> >>> Nafiesa Allie
> >>>
> >>> Kromco (Pty) Ltd
> >>>
> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
> >>>
> >>> *Important Notice: This e-mail may contain trade secrets or privileged,
> >>> undisclosed, or otherwise confidential information.
> >>>
> >>> If you have received this e-mail in error, you are hereby notified that
> >>> any review, copying, or distribution of it is strictly prohibited.
> >>>
> >>> Please inform us immediately and destroy the original transmittal.
> Thank
> >>> you for your cooperation.
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Groete/Regards
> >>
> >> Nafiesa Allie
> >>
> >> Kromco (Pty) Ltd
> >>
> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
> >>
> >> *Important Notice: This e-mail may contain trade secrets or privileged,
> >> undisclosed, or otherwise confidential information.
> >>
> >> If you have received this e-mail in error, you are hereby notified that
> >> any review, copying, or distribution of it is strictly prohibited.
> >>
> >> Please inform us immediately and destroy the original transmittal. Thank
> >> you for your cooperation.
> >>
> >>
> >
> >
> >
> > --
> >
> > Groete/Regards
> >
> > Nafiesa Allie
> >
> > Kromco (Pty) Ltd
> >
> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
> >
> > *Important Notice: This e-mail may contain trade secrets or privileged,
> > undisclosed, or otherwise confidential information.
> >
> > If you have received this e-mail in error, you are hereby notified that
> any
> > review, copying, or distribution of it is strictly prohibited.
> >
> > Please inform us immediately and destroy the original transmittal. Thank
> you
> > for your cooperation.
> >
> >
>
>
>
> --
> Best regards, Ruslan.
>



--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.
Attachments: callback.png (78.6 KB)


nafiesaa at kromco

Jul 11, 2012, 2:02 AM

Post #11 of 16 (978 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

OK, I figured out how to get RT to incorporate the code that I put into the
Callback for the Header, however, there is something wrong with my code.
Please can you give me guidance? Remember, that in the end I want the
dashboard panels to lie side by side, and not the panels on the RT at a
glance screen. Thanks.

On 11 July 2012 09:35, Nafiesa Allie <nafiesaa [at] kromco> wrote:

> Thanks, Ruslan.
>
> OK, I created my callback file but now I am not sure what the code should
> look like.
>
> Using your dirty variant that applies to RT at a glance
> jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt >
> tbody > tr').wrap('<td class="boxcontainer" />');
> and changing it to
> jQuery('table#dashboard-26.dashboard td.boxcontainer >
> div').detach().appendTo('table#dashboard-26.dashboard > tbody >
> tr').wrap('<td class="boxcontainer" />');
> it now applies to the dashboard.
>
> However, adding the code to my callback, does not make any difference,
> even after rebooting the RT server, regardless whether I am using your
> variant or my own. I am not sure whether the problem lies in my code - see
> printscreen attached, or elsewhere. I would deeply appreciate some further
> help in this and am desperate to resolve this sooner rather than later. If
> I am unable to master this, then some other ticketing system will be
> enforced.
>
> (It feels like I am taking tiny baby-steps in resolving this problem; I
> wish there was a clear example that one could follow.)
>
> Regards
> Nafiesa
>
> On 10 July 2012 20:57, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>
>> Hi,
>>
>> RT's file share/html/Elements/Header contains the following line:
>>
>> $m->callback( %ARGS, CallbackName => 'Head' );
>>
>> It's the perfect place to insert custom CSS/JS hacks.
>>
>> On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco>
>> wrote:
>> > I think I must clarify what I am saying below:
>> > from what I understand RT4 callbacks are defined in
>> /rt4/share/Elements. I
>> > found a number of callbacks there, but not the one I am looking for,
>> viz.
>> > Header, so I need help to either find it or create it from scratch.
>> >
>> > Regards
>> > Nafiesa
>> >
>> > On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>> >>
>> >> Hi Ruslan
>> >>
>> >> I managed to figure out how to successfully create a dirty variant,
>> and it
>> >> seems to do what I want. However, I am still struggling to create the
>> >> callback.
>> >> " There is a callback in Header file to put any custom javascript on RT
>> >> pages. " - I do not find such a callback.
>> >> I now understand the concept of a callback, but not finding the
>> relevant
>> >> callback does not help much. Please could you give me some direction?
>> >>
>> >> Regards
>> >> Nafiesa
>> >>
>> >>
>> >> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>> >>>
>> >>> Hi Ruslan
>> >>>
>> >>> Thanks so much for your swift response plus the given detail; I am so
>> >>> glad that it is possible! However, I have no idea how to get to the
>> >>> interface that will enable me to add the new code. This is the first
>> time I
>> >>> am wanting to do a customization, and I do not know where to start.
>> How do
>> >>> I get to the interface in your screenshot?
>> >>>
>> >>> Have a great weekend!
>> >>> Nafiesa
>> >>>
>> >>>
>> >>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>> >>>>
>> >>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa [at] kromco
>> >
>> >>>> wrote:
>> >>>> > I have already created dashboards with custom searches, but my
>> problem
>> >>>> > lies
>> >>>> > with the fact that I cannot get the panels to lie alongside each
>> other
>> >>>> > as
>> >>>> > per my example. RT only allows two lists/charts panels next to
>> each
>> >>>> > other.
>> >>>> > How do I overcome this?
>> >>>>
>> >>>> With javascript:
>> >>>>
>> >>>> jQuery('table.myrt td.boxcontainer >
>> >>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>> >>>> class="boxcontainer" />');
>> >>>>
>> >>>> Above is dirty variant, but at least it works in Chrome and
>> >>>> demonstrates how to start. There is a callback in Header file to put
>> >>>> any custom javascript on RT pages.
>> >>>>
>> >>>> >
>> >>>> >
>> >>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical>
>> wrote:
>> >>>> >>
>> >>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>> >>>> >> <nafiesaa [at] kromco>
>> >>>> >> wrote:
>> >>>> >> > Great! So where do I start? I have never fiddled with CSS or JS
>> >>>> >> > before,
>> >>>> >> > so
>> >>>> >> > it will be helpful if you could direct me to a relevant example.
>> >>>> >>
>> >>>> >> Start from Dashboards, custom searches and see how close you can
>> get
>> >>>> >> to what you need.
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >> >
>> >>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical>
>> wrote:
>> >>>> >> >>
>> >>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>> >>>> >> >> > I am sure this can be done using RT4 by writing a custom
>> page -
>> >>>> >> >> > but I
>> >>>> >> >> > honestly do not know how…
>> >>>> >> >>
>> >>>> >> >> Learning the basics of how to create your own page in RT will
>> >>>> >> >> probably
>> >>>> >> >> be faster and more efficient than trying to use the REST
>> interface
>> >>>> >> >> to
>> >>>> >> >> get all the data and interaction you want.
>> >>>> >> >>
>> >>>> >> >> You can probably do most of what you want with a standard
>> >>>> >> >> dashboard and
>> >>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>> >>>> >> >> necessary.
>> >>>> >> >
>> >>>> >> >
>> >>>> >> >
>> >>>> >> >
>> >>>> >> > --
>> >>>> >> >
>> >>>> >> > Groete/Regards
>> >>>> >> >
>> >>>> >> > Nafiesa Allie
>> >>>> >> >
>> >>>> >> > Kromco (Pty) Ltd
>> >>>> >> >
>> >>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>> >>>> >> > nafiesaa [at] kromco |
>> >>>> >> >
>> >>>> >> > *Important Notice: This e-mail may contain trade secrets or
>> >>>> >> > privileged,
>> >>>> >> > undisclosed, or otherwise confidential information.
>> >>>> >> >
>> >>>> >> > If you have received this e-mail in error, you are hereby
>> notified
>> >>>> >> > that
>> >>>> >> > any
>> >>>> >> > review, copying, or distribution of it is strictly prohibited.
>> >>>> >> >
>> >>>> >> > Please inform us immediately and destroy the original
>> transmittal.
>> >>>> >> > Thank
>> >>>> >> > you
>> >>>> >> > for your cooperation.
>> >>>> >> >
>> >>>> >> >
>> >>>> >>
>> >>>> >>
>> >>>> >>
>> >>>> >> --
>> >>>> >> Best regards, Ruslan.
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> > --
>> >>>> >
>> >>>> > Groete/Regards
>> >>>> >
>> >>>> > Nafiesa Allie
>> >>>> >
>> >>>> > Kromco (Pty) Ltd
>> >>>> >
>> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>> nafiesaa [at] kromco
>> >>>> > |
>> >>>> >
>> >>>> > *Important Notice: This e-mail may contain trade secrets or
>> >>>> > privileged,
>> >>>> > undisclosed, or otherwise confidential information.
>> >>>> >
>> >>>> > If you have received this e-mail in error, you are hereby notified
>> >>>> > that any
>> >>>> > review, copying, or distribution of it is strictly prohibited.
>> >>>> >
>> >>>> > Please inform us immediately and destroy the original transmittal.
>> >>>> > Thank you
>> >>>> > for your cooperation.
>> >>>> >
>> >>>> >
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Best regards, Ruslan.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>>
>> >>> Groete/Regards
>> >>>
>> >>> Nafiesa Allie
>> >>>
>> >>> Kromco (Pty) Ltd
>> >>>
>> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
>> >>>
>> >>> *Important Notice: This e-mail may contain trade secrets or
>> privileged,
>> >>> undisclosed, or otherwise confidential information.
>> >>>
>> >>> If you have received this e-mail in error, you are hereby notified
>> that
>> >>> any review, copying, or distribution of it is strictly prohibited.
>> >>>
>> >>> Please inform us immediately and destroy the original transmittal.
>> Thank
>> >>> you for your cooperation.
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Groete/Regards
>> >>
>> >> Nafiesa Allie
>> >>
>> >> Kromco (Pty) Ltd
>> >>
>> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
>> >>
>> >> *Important Notice: This e-mail may contain trade secrets or privileged,
>> >> undisclosed, or otherwise confidential information.
>> >>
>> >> If you have received this e-mail in error, you are hereby notified that
>> >> any review, copying, or distribution of it is strictly prohibited.
>> >>
>> >> Please inform us immediately and destroy the original transmittal.
>> Thank
>> >> you for your cooperation.
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> >
>> > Groete/Regards
>> >
>> > Nafiesa Allie
>> >
>> > Kromco (Pty) Ltd
>> >
>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>> >
>> > *Important Notice: This e-mail may contain trade secrets or privileged,
>> > undisclosed, or otherwise confidential information.
>> >
>> > If you have received this e-mail in error, you are hereby notified that
>> any
>> > review, copying, or distribution of it is strictly prohibited.
>> >
>> > Please inform us immediately and destroy the original transmittal.
>> Thank you
>> > for your cooperation.
>> >
>> >
>>
>>
>>
>> --
>> Best regards, Ruslan.
>>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that
> any review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank
> you for your cooperation.
>
>


--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


nafiesaa at kromco

Jul 11, 2012, 2:17 AM

Post #12 of 16 (979 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Here is the error I got with my callback:
Undefined subroutine &HTML::Mason::Commands::jQuery called at
/svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head line 2.

On 11 July 2012 11:02, Nafiesa Allie <nafiesaa [at] kromco> wrote:

> OK, I figured out how to get RT to incorporate the code that I put into
> the Callback for the Header, however, there is something wrong with my
> code. Please can you give me guidance? Remember, that in the end I want
> the dashboard panels to lie side by side, and not the panels on the RT at a
> glance screen. Thanks.
>
> On 11 July 2012 09:35, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>
>> Thanks, Ruslan.
>>
>> OK, I created my callback file but now I am not sure what the code should
>> look like.
>>
>> Using your dirty variant that applies to RT at a glance
>> jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt
>> > tbody > tr').wrap('<td class="boxcontainer" />');
>> and changing it to
>> jQuery('table#dashboard-26.dashboard td.boxcontainer >
>> div').detach().appendTo('table#dashboard-26.dashboard > tbody >
>> tr').wrap('<td class="boxcontainer" />');
>> it now applies to the dashboard.
>>
>> However, adding the code to my callback, does not make any difference,
>> even after rebooting the RT server, regardless whether I am using your
>> variant or my own. I am not sure whether the problem lies in my code - see
>> printscreen attached, or elsewhere. I would deeply appreciate some further
>> help in this and am desperate to resolve this sooner rather than later. If
>> I am unable to master this, then some other ticketing system will be
>> enforced.
>>
>> (It feels like I am taking tiny baby-steps in resolving this problem; I
>> wish there was a clear example that one could follow.)
>>
>> Regards
>> Nafiesa
>>
>> On 10 July 2012 20:57, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>
>>> Hi,
>>>
>>> RT's file share/html/Elements/Header contains the following line:
>>>
>>> $m->callback( %ARGS, CallbackName => 'Head' );
>>>
>>> It's the perfect place to insert custom CSS/JS hacks.
>>>
>>> On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco>
>>> wrote:
>>> > I think I must clarify what I am saying below:
>>> > from what I understand RT4 callbacks are defined in
>>> /rt4/share/Elements. I
>>> > found a number of callbacks there, but not the one I am looking for,
>>> viz.
>>> > Header, so I need help to either find it or create it from scratch.
>>> >
>>> > Regards
>>> > Nafiesa
>>> >
>>> > On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>> >>
>>> >> Hi Ruslan
>>> >>
>>> >> I managed to figure out how to successfully create a dirty variant,
>>> and it
>>> >> seems to do what I want. However, I am still struggling to create the
>>> >> callback.
>>> >> " There is a callback in Header file to put any custom javascript on
>>> RT
>>> >> pages. " - I do not find such a callback.
>>> >> I now understand the concept of a callback, but not finding the
>>> relevant
>>> >> callback does not help much. Please could you give me some direction?
>>> >>
>>> >> Regards
>>> >> Nafiesa
>>> >>
>>> >>
>>> >> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>> >>>
>>> >>> Hi Ruslan
>>> >>>
>>> >>> Thanks so much for your swift response plus the given detail; I am
>>> so
>>> >>> glad that it is possible! However, I have no idea how to get to the
>>> >>> interface that will enable me to add the new code. This is the
>>> first time I
>>> >>> am wanting to do a customization, and I do not know where to start.
>>> How do
>>> >>> I get to the interface in your screenshot?
>>> >>>
>>> >>> Have a great weekend!
>>> >>> Nafiesa
>>> >>>
>>> >>>
>>> >>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>> >>>>
>>> >>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <
>>> nafiesaa [at] kromco>
>>> >>>> wrote:
>>> >>>> > I have already created dashboards with custom searches, but my
>>> problem
>>> >>>> > lies
>>> >>>> > with the fact that I cannot get the panels to lie alongside each
>>> other
>>> >>>> > as
>>> >>>> > per my example. RT only allows two lists/charts panels next to
>>> each
>>> >>>> > other.
>>> >>>> > How do I overcome this?
>>> >>>>
>>> >>>> With javascript:
>>> >>>>
>>> >>>> jQuery('table.myrt td.boxcontainer >
>>> >>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>>> >>>> class="boxcontainer" />');
>>> >>>>
>>> >>>> Above is dirty variant, but at least it works in Chrome and
>>> >>>> demonstrates how to start. There is a callback in Header file to put
>>> >>>> any custom javascript on RT pages.
>>> >>>>
>>> >>>> >
>>> >>>> >
>>> >>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical>
>>> wrote:
>>> >>>> >>
>>> >>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>>> >>>> >> <nafiesaa [at] kromco>
>>> >>>> >> wrote:
>>> >>>> >> > Great! So where do I start? I have never fiddled with CSS or
>>> JS
>>> >>>> >> > before,
>>> >>>> >> > so
>>> >>>> >> > it will be helpful if you could direct me to a relevant
>>> example.
>>> >>>> >>
>>> >>>> >> Start from Dashboards, custom searches and see how close you can
>>> get
>>> >>>> >> to what you need.
>>> >>>> >>
>>> >>>> >>
>>> >>>> >>
>>> >>>> >> >
>>> >>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical>
>>> wrote:
>>> >>>> >> >>
>>> >>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>>> >>>> >> >> > I am sure this can be done using RT4 by writing a custom
>>> page -
>>> >>>> >> >> > but I
>>> >>>> >> >> > honestly do not know how…
>>> >>>> >> >>
>>> >>>> >> >> Learning the basics of how to create your own page in RT will
>>> >>>> >> >> probably
>>> >>>> >> >> be faster and more efficient than trying to use the REST
>>> interface
>>> >>>> >> >> to
>>> >>>> >> >> get all the data and interaction you want.
>>> >>>> >> >>
>>> >>>> >> >> You can probably do most of what you want with a standard
>>> >>>> >> >> dashboard and
>>> >>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>>> >>>> >> >> necessary.
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >> > --
>>> >>>> >> >
>>> >>>> >> > Groete/Regards
>>> >>>> >> >
>>> >>>> >> > Nafiesa Allie
>>> >>>> >> >
>>> >>>> >> > Kromco (Pty) Ltd
>>> >>>> >> >
>>> >>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>> >>>> >> > nafiesaa [at] kromco |
>>> >>>> >> >
>>> >>>> >> > *Important Notice: This e-mail may contain trade secrets or
>>> >>>> >> > privileged,
>>> >>>> >> > undisclosed, or otherwise confidential information.
>>> >>>> >> >
>>> >>>> >> > If you have received this e-mail in error, you are hereby
>>> notified
>>> >>>> >> > that
>>> >>>> >> > any
>>> >>>> >> > review, copying, or distribution of it is strictly prohibited.
>>> >>>> >> >
>>> >>>> >> > Please inform us immediately and destroy the original
>>> transmittal.
>>> >>>> >> > Thank
>>> >>>> >> > you
>>> >>>> >> > for your cooperation.
>>> >>>> >> >
>>> >>>> >> >
>>> >>>> >>
>>> >>>> >>
>>> >>>> >>
>>> >>>> >> --
>>> >>>> >> Best regards, Ruslan.
>>> >>>> >
>>> >>>> >
>>> >>>> >
>>> >>>> >
>>> >>>> > --
>>> >>>> >
>>> >>>> > Groete/Regards
>>> >>>> >
>>> >>>> > Nafiesa Allie
>>> >>>> >
>>> >>>> > Kromco (Pty) Ltd
>>> >>>> >
>>> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>> nafiesaa [at] kromco
>>> >>>> > |
>>> >>>> >
>>> >>>> > *Important Notice: This e-mail may contain trade secrets or
>>> >>>> > privileged,
>>> >>>> > undisclosed, or otherwise confidential information.
>>> >>>> >
>>> >>>> > If you have received this e-mail in error, you are hereby notified
>>> >>>> > that any
>>> >>>> > review, copying, or distribution of it is strictly prohibited.
>>> >>>> >
>>> >>>> > Please inform us immediately and destroy the original transmittal.
>>> >>>> > Thank you
>>> >>>> > for your cooperation.
>>> >>>> >
>>> >>>> >
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Best regards, Ruslan.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>>
>>> >>> Groete/Regards
>>> >>>
>>> >>> Nafiesa Allie
>>> >>>
>>> >>> Kromco (Pty) Ltd
>>> >>>
>>> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>> nafiesaa [at] kromco |
>>> >>>
>>> >>> *Important Notice: This e-mail may contain trade secrets or
>>> privileged,
>>> >>> undisclosed, or otherwise confidential information.
>>> >>>
>>> >>> If you have received this e-mail in error, you are hereby notified
>>> that
>>> >>> any review, copying, or distribution of it is strictly prohibited.
>>> >>>
>>> >>> Please inform us immediately and destroy the original transmittal.
>>> Thank
>>> >>> you for your cooperation.
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >> Groete/Regards
>>> >>
>>> >> Nafiesa Allie
>>> >>
>>> >> Kromco (Pty) Ltd
>>> >>
>>> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
>>> >>
>>> >> *Important Notice: This e-mail may contain trade secrets or
>>> privileged,
>>> >> undisclosed, or otherwise confidential information.
>>> >>
>>> >> If you have received this e-mail in error, you are hereby notified
>>> that
>>> >> any review, copying, or distribution of it is strictly prohibited.
>>> >>
>>> >> Please inform us immediately and destroy the original transmittal.
>>> Thank
>>> >> you for your cooperation.
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> >
>>> > Groete/Regards
>>> >
>>> > Nafiesa Allie
>>> >
>>> > Kromco (Pty) Ltd
>>> >
>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
>>> >
>>> > *Important Notice: This e-mail may contain trade secrets or privileged,
>>> > undisclosed, or otherwise confidential information.
>>> >
>>> > If you have received this e-mail in error, you are hereby notified
>>> that any
>>> > review, copying, or distribution of it is strictly prohibited.
>>> >
>>> > Please inform us immediately and destroy the original transmittal.
>>> Thank you
>>> > for your cooperation.
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Best regards, Ruslan.
>>>
>>
>>
>>
>> --
>>
>> Groete/Regards
>>
>> Nafiesa Allie
>>
>> Kromco (Pty) Ltd
>>
>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>
>> *Important Notice: This e-mail may contain trade secrets or privileged,
>> undisclosed, or otherwise confidential information.
>>
>> If you have received this e-mail in error, you are hereby notified that
>> any review, copying, or distribution of it is strictly prohibited.
>>
>> Please inform us immediately and destroy the original transmittal. Thank
>> you for your cooperation.
>>
>>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that
> any review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank
> you for your cooperation.
>
>


--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


ruz at bestpractical

Jul 11, 2012, 4:04 AM

Post #13 of 16 (982 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On Wed, Jul 11, 2012 at 12:17 PM, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> Here is the error I got with my callback:
> Undefined subroutine &HTML::Mason::Commands::jQuery called at
> /svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head line 2.


Do you expect us to guess what in the file?


>
>
> On 11 July 2012 11:02, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>
>> OK, I figured out how to get RT to incorporate the code that I put into
>> the Callback for the Header, however, there is something wrong with my code.
>> Please can you give me guidance? Remember, that in the end I want the
>> dashboard panels to lie side by side, and not the panels on the RT at a
>> glance screen. Thanks.
>>
>> On 11 July 2012 09:35, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>>
>>> Thanks, Ruslan.
>>>
>>> OK, I created my callback file but now I am not sure what the code should
>>> look like.
>>>
>>> Using your dirty variant that applies to RT at a glance
>>> jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt
>>> > tbody > tr').wrap('<td class="boxcontainer" />');
>>> and changing it to
>>> jQuery('table#dashboard-26.dashboard td.boxcontainer >
>>> div').detach().appendTo('table#dashboard-26.dashboard > tbody >
>>> tr').wrap('<td class="boxcontainer" />');
>>> it now applies to the dashboard.
>>>
>>> However, adding the code to my callback, does not make any difference,
>>> even after rebooting the RT server, regardless whether I am using your
>>> variant or my own. I am not sure whether the problem lies in my code - see
>>> printscreen attached, or elsewhere. I would deeply appreciate some further
>>> help in this and am desperate to resolve this sooner rather than later. If
>>> I am unable to master this, then some other ticketing system will be
>>> enforced.
>>>
>>> (It feels like I am taking tiny baby-steps in resolving this problem; I
>>> wish there was a clear example that one could follow.)
>>>
>>> Regards
>>> Nafiesa
>>>
>>> On 10 July 2012 20:57, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>>>
>>>> Hi,
>>>>
>>>> RT's file share/html/Elements/Header contains the following line:
>>>>
>>>> $m->callback( %ARGS, CallbackName => 'Head' );
>>>>
>>>> It's the perfect place to insert custom CSS/JS hacks.
>>>>
>>>> On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco>
>>>> wrote:
>>>> > I think I must clarify what I am saying below:
>>>> > from what I understand RT4 callbacks are defined in
>>>> > /rt4/share/Elements. I
>>>> > found a number of callbacks there, but not the one I am looking for,
>>>> > viz.
>>>> > Header, so I need help to either find it or create it from scratch.
>>>> >
>>>> > Regards
>>>> > Nafiesa
>>>> >
>>>> > On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>>> >>
>>>> >> Hi Ruslan
>>>> >>
>>>> >> I managed to figure out how to successfully create a dirty variant,
>>>> >> and it
>>>> >> seems to do what I want. However, I am still struggling to create
>>>> >> the
>>>> >> callback.
>>>> >> " There is a callback in Header file to put any custom javascript on
>>>> >> RT
>>>> >> pages. " - I do not find such a callback.
>>>> >> I now understand the concept of a callback, but not finding the
>>>> >> relevant
>>>> >> callback does not help much. Please could you give me some
>>>> >> direction?
>>>> >>
>>>> >> Regards
>>>> >> Nafiesa
>>>> >>
>>>> >>
>>>> >> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
>>>> >>>
>>>> >>> Hi Ruslan
>>>> >>>
>>>> >>> Thanks so much for your swift response plus the given detail; I am
>>>> >>> so
>>>> >>> glad that it is possible! However, I have no idea how to get to the
>>>> >>> interface that will enable me to add the new code. This is the
>>>> >>> first time I
>>>> >>> am wanting to do a customization, and I do not know where to start.
>>>> >>> How do
>>>> >>> I get to the interface in your screenshot?
>>>> >>>
>>>> >>> Have a great weekend!
>>>> >>> Nafiesa
>>>> >>>
>>>> >>>
>>>> >>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical> wrote:
>>>> >>>>
>>>> >>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie
>>>> >>>> <nafiesaa [at] kromco>
>>>> >>>> wrote:
>>>> >>>> > I have already created dashboards with custom searches, but my
>>>> >>>> > problem
>>>> >>>> > lies
>>>> >>>> > with the fact that I cannot get the panels to lie alongside each
>>>> >>>> > other
>>>> >>>> > as
>>>> >>>> > per my example. RT only allows two lists/charts panels next to
>>>> >>>> > each
>>>> >>>> > other.
>>>> >>>> > How do I overcome this?
>>>> >>>>
>>>> >>>> With javascript:
>>>> >>>>
>>>> >>>> jQuery('table.myrt td.boxcontainer >
>>>> >>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
>>>> >>>> class="boxcontainer" />');
>>>> >>>>
>>>> >>>> Above is dirty variant, but at least it works in Chrome and
>>>> >>>> demonstrates how to start. There is a callback in Header file to
>>>> >>>> put
>>>> >>>> any custom javascript on RT pages.
>>>> >>>>
>>>> >>>> >
>>>> >>>> >
>>>> >>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical>
>>>> >>>> > wrote:
>>>> >>>> >>
>>>> >>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>>>> >>>> >> <nafiesaa [at] kromco>
>>>> >>>> >> wrote:
>>>> >>>> >> > Great! So where do I start? I have never fiddled with CSS or
>>>> >>>> >> > JS
>>>> >>>> >> > before,
>>>> >>>> >> > so
>>>> >>>> >> > it will be helpful if you could direct me to a relevant
>>>> >>>> >> > example.
>>>> >>>> >>
>>>> >>>> >> Start from Dashboards, custom searches and see how close you can
>>>> >>>> >> get
>>>> >>>> >> to what you need.
>>>> >>>> >>
>>>> >>>> >>
>>>> >>>> >>
>>>> >>>> >> >
>>>> >>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical>
>>>> >>>> >> > wrote:
>>>> >>>> >> >>
>>>> >>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
>>>> >>>> >> >> > I am sure this can be done using RT4 by writing a custom
>>>> >>>> >> >> > page -
>>>> >>>> >> >> > but I
>>>> >>>> >> >> > honestly do not know how…
>>>> >>>> >> >>
>>>> >>>> >> >> Learning the basics of how to create your own page in RT will
>>>> >>>> >> >> probably
>>>> >>>> >> >> be faster and more efficient than trying to use the REST
>>>> >>>> >> >> interface
>>>> >>>> >> >> to
>>>> >>>> >> >> get all the data and interaction you want.
>>>> >>>> >> >>
>>>> >>>> >> >> You can probably do most of what you want with a standard
>>>> >>>> >> >> dashboard and
>>>> >>>> >> >> a bunch of custom CSS and JS that targets it to rearrange as
>>>> >>>> >> >> necessary.
>>>> >>>> >> >
>>>> >>>> >> >
>>>> >>>> >> >
>>>> >>>> >> >
>>>> >>>> >> > --
>>>> >>>> >> >
>>>> >>>> >> > Groete/Regards
>>>> >>>> >> >
>>>> >>>> >> > Nafiesa Allie
>>>> >>>> >> >
>>>> >>>> >> > Kromco (Pty) Ltd
>>>> >>>> >> >
>>>> >>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>>> >>>> >> > nafiesaa [at] kromco |
>>>> >>>> >> >
>>>> >>>> >> > *Important Notice: This e-mail may contain trade secrets or
>>>> >>>> >> > privileged,
>>>> >>>> >> > undisclosed, or otherwise confidential information.
>>>> >>>> >> >
>>>> >>>> >> > If you have received this e-mail in error, you are hereby
>>>> >>>> >> > notified
>>>> >>>> >> > that
>>>> >>>> >> > any
>>>> >>>> >> > review, copying, or distribution of it is strictly prohibited.
>>>> >>>> >> >
>>>> >>>> >> > Please inform us immediately and destroy the original
>>>> >>>> >> > transmittal.
>>>> >>>> >> > Thank
>>>> >>>> >> > you
>>>> >>>> >> > for your cooperation.
>>>> >>>> >> >
>>>> >>>> >> >
>>>> >>>> >>
>>>> >>>> >>
>>>> >>>> >>
>>>> >>>> >> --
>>>> >>>> >> Best regards, Ruslan.
>>>> >>>> >
>>>> >>>> >
>>>> >>>> >
>>>> >>>> >
>>>> >>>> > --
>>>> >>>> >
>>>> >>>> > Groete/Regards
>>>> >>>> >
>>>> >>>> > Nafiesa Allie
>>>> >>>> >
>>>> >>>> > Kromco (Pty) Ltd
>>>> >>>> >
>>>> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>>> >>>> > nafiesaa [at] kromco
>>>> >>>> > |
>>>> >>>> >
>>>> >>>> > *Important Notice: This e-mail may contain trade secrets or
>>>> >>>> > privileged,
>>>> >>>> > undisclosed, or otherwise confidential information.
>>>> >>>> >
>>>> >>>> > If you have received this e-mail in error, you are hereby
>>>> >>>> > notified
>>>> >>>> > that any
>>>> >>>> > review, copying, or distribution of it is strictly prohibited.
>>>> >>>> >
>>>> >>>> > Please inform us immediately and destroy the original
>>>> >>>> > transmittal.
>>>> >>>> > Thank you
>>>> >>>> > for your cooperation.
>>>> >>>> >
>>>> >>>> >
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> Best regards, Ruslan.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>>
>>>> >>> Groete/Regards
>>>> >>>
>>>> >>> Nafiesa Allie
>>>> >>>
>>>> >>> Kromco (Pty) Ltd
>>>> >>>
>>>> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
>>>> >>> nafiesaa [at] kromco |
>>>> >>>
>>>> >>> *Important Notice: This e-mail may contain trade secrets or
>>>> >>> privileged,
>>>> >>> undisclosed, or otherwise confidential information.
>>>> >>>
>>>> >>> If you have received this e-mail in error, you are hereby notified
>>>> >>> that
>>>> >>> any review, copying, or distribution of it is strictly prohibited.
>>>> >>>
>>>> >>> Please inform us immediately and destroy the original transmittal.
>>>> >>> Thank
>>>> >>> you for your cooperation.
>>>> >>>
>>>> >>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >>
>>>> >> Groete/Regards
>>>> >>
>>>> >> Nafiesa Allie
>>>> >>
>>>> >> Kromco (Pty) Ltd
>>>> >>
>>>> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco
>>>> >> |
>>>> >>
>>>> >> *Important Notice: This e-mail may contain trade secrets or
>>>> >> privileged,
>>>> >> undisclosed, or otherwise confidential information.
>>>> >>
>>>> >> If you have received this e-mail in error, you are hereby notified
>>>> >> that
>>>> >> any review, copying, or distribution of it is strictly prohibited.
>>>> >>
>>>> >> Please inform us immediately and destroy the original transmittal.
>>>> >> Thank
>>>> >> you for your cooperation.
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> >
>>>> > Groete/Regards
>>>> >
>>>> > Nafiesa Allie
>>>> >
>>>> > Kromco (Pty) Ltd
>>>> >
>>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco
>>>> > |
>>>> >
>>>> > *Important Notice: This e-mail may contain trade secrets or
>>>> > privileged,
>>>> > undisclosed, or otherwise confidential information.
>>>> >
>>>> > If you have received this e-mail in error, you are hereby notified
>>>> > that any
>>>> > review, copying, or distribution of it is strictly prohibited.
>>>> >
>>>> > Please inform us immediately and destroy the original transmittal.
>>>> > Thank you
>>>> > for your cooperation.
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards, Ruslan.
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Groete/Regards
>>>
>>> Nafiesa Allie
>>>
>>> Kromco (Pty) Ltd
>>>
>>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>>
>>> *Important Notice: This e-mail may contain trade secrets or privileged,
>>> undisclosed, or otherwise confidential information.
>>>
>>> If you have received this e-mail in error, you are hereby notified that
>>> any review, copying, or distribution of it is strictly prohibited.
>>>
>>> Please inform us immediately and destroy the original transmittal. Thank
>>> you for your cooperation.
>>>
>>>
>>
>>
>>
>> --
>>
>> Groete/Regards
>>
>> Nafiesa Allie
>>
>> Kromco (Pty) Ltd
>>
>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>>
>> *Important Notice: This e-mail may contain trade secrets or privileged,
>> undisclosed, or otherwise confidential information.
>>
>> If you have received this e-mail in error, you are hereby notified that
>> any review, copying, or distribution of it is strictly prohibited.
>>
>> Please inform us immediately and destroy the original transmittal. Thank
>> you for your cooperation.
>>
>>
>
>
>
> --
>
> Groete/Regards
>
> Nafiesa Allie
>
> Kromco (Pty) Ltd
>
> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
>
> *Important Notice: This e-mail may contain trade secrets or privileged,
> undisclosed, or otherwise confidential information.
>
> If you have received this e-mail in error, you are hereby notified that any
> review, copying, or distribution of it is strictly prohibited.
>
> Please inform us immediately and destroy the original transmittal. Thank you
> for your cooperation.
>
>



--
Best regards, Ruslan.


nafiesaa at kromco

Jul 11, 2012, 5:19 AM

Post #14 of 16 (980 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

Did you not get my mail with the attachment?

Ok, I will put it in writing: the file that I created is
/svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head and its contents is:

<%INIT>
jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt >
tbody > tr').wrap('<td class="boxcontainer" />');
</%INIT>
<%ARGS>
</%ARGS>

Please bear in mind that I have never programmed in Java/Jquery or HTML
before.

Regards
Nafiesa


On 11 July 2012 13:04, Ruslan Zakirov <ruz [at] bestpractical> wrote:

> On Wed, Jul 11, 2012 at 12:17 PM, Nafiesa Allie <nafiesaa [at] kromco>
> wrote:
> > Here is the error I got with my callback:
> > Undefined subroutine &HTML::Mason::Commands::jQuery called at
> > /svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head line 2.
>
>
> Do you expect us to guess what in the file?
>
>
> >
> >
> > On 11 July 2012 11:02, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>
> >> OK, I figured out how to get RT to incorporate the code that I put into
> >> the Callback for the Header, however, there is something wrong with my
> code.
> >> Please can you give me guidance? Remember, that in the end I want the
> >> dashboard panels to lie side by side, and not the panels on the RT at a
> >> glance screen. Thanks.
> >>
> >> On 11 July 2012 09:35, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>>
> >>> Thanks, Ruslan.
> >>>
> >>> OK, I created my callback file but now I am not sure what the code
> should
> >>> look like.
> >>>
> >>> Using your dirty variant that applies to RT at a glance
> >>> jQuery('table.myrt td.boxcontainer >
> div').detach().appendTo('table.myrt
> >>> > tbody > tr').wrap('<td class="boxcontainer" />');
> >>> and changing it to
> >>> jQuery('table#dashboard-26.dashboard td.boxcontainer >
> >>> div').detach().appendTo('table#dashboard-26.dashboard > tbody >
> >>> tr').wrap('<td class="boxcontainer" />');
> >>> it now applies to the dashboard.
> >>>
> >>> However, adding the code to my callback, does not make any difference,
> >>> even after rebooting the RT server, regardless whether I am using your
> >>> variant or my own. I am not sure whether the problem lies in my code
> - see
> >>> printscreen attached, or elsewhere. I would deeply appreciate some
> further
> >>> help in this and am desperate to resolve this sooner rather than
> later. If
> >>> I am unable to master this, then some other ticketing system will be
> >>> enforced.
> >>>
> >>> (It feels like I am taking tiny baby-steps in resolving this problem;
> I
> >>> wish there was a clear example that one could follow.)
> >>>
> >>> Regards
> >>> Nafiesa
> >>>
> >>> On 10 July 2012 20:57, Ruslan Zakirov <ruz [at] bestpractical> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> RT's file share/html/Elements/Header contains the following line:
> >>>>
> >>>> $m->callback( %ARGS, CallbackName => 'Head' );
> >>>>
> >>>> It's the perfect place to insert custom CSS/JS hacks.
> >>>>
> >>>> On Tue, Jul 10, 2012 at 2:51 PM, Nafiesa Allie <nafiesaa [at] kromco
> >
> >>>> wrote:
> >>>> > I think I must clarify what I am saying below:
> >>>> > from what I understand RT4 callbacks are defined in
> >>>> > /rt4/share/Elements. I
> >>>> > found a number of callbacks there, but not the one I am looking for,
> >>>> > viz.
> >>>> > Header, so I need help to either find it or create it from scratch.
> >>>> >
> >>>> > Regards
> >>>> > Nafiesa
> >>>> >
> >>>> > On 10 July 2012 13:36, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>>> >>
> >>>> >> Hi Ruslan
> >>>> >>
> >>>> >> I managed to figure out how to successfully create a dirty variant,
> >>>> >> and it
> >>>> >> seems to do what I want. However, I am still struggling to create
> >>>> >> the
> >>>> >> callback.
> >>>> >> " There is a callback in Header file to put any custom javascript
> on
> >>>> >> RT
> >>>> >> pages. " - I do not find such a callback.
> >>>> >> I now understand the concept of a callback, but not finding the
> >>>> >> relevant
> >>>> >> callback does not help much. Please could you give me some
> >>>> >> direction?
> >>>> >>
> >>>> >> Regards
> >>>> >> Nafiesa
> >>>> >>
> >>>> >>
> >>>> >> On 6 July 2012 15:21, Nafiesa Allie <nafiesaa [at] kromco> wrote:
> >>>> >>>
> >>>> >>> Hi Ruslan
> >>>> >>>
> >>>> >>> Thanks so much for your swift response plus the given detail; I
> am
> >>>> >>> so
> >>>> >>> glad that it is possible! However, I have no idea how to get to
> the
> >>>> >>> interface that will enable me to add the new code. This is the
> >>>> >>> first time I
> >>>> >>> am wanting to do a customization, and I do not know where to
> start.
> >>>> >>> How do
> >>>> >>> I get to the interface in your screenshot?
> >>>> >>>
> >>>> >>> Have a great weekend!
> >>>> >>> Nafiesa
> >>>> >>>
> >>>> >>>
> >>>> >>> On 5 July 2012 14:53, Ruslan Zakirov <ruz [at] bestpractical>
> wrote:
> >>>> >>>>
> >>>> >>>> On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie
> >>>> >>>> <nafiesaa [at] kromco>
> >>>> >>>> wrote:
> >>>> >>>> > I have already created dashboards with custom searches, but my
> >>>> >>>> > problem
> >>>> >>>> > lies
> >>>> >>>> > with the fact that I cannot get the panels to lie alongside
> each
> >>>> >>>> > other
> >>>> >>>> > as
> >>>> >>>> > per my example. RT only allows two lists/charts panels next to
> >>>> >>>> > each
> >>>> >>>> > other.
> >>>> >>>> > How do I overcome this?
> >>>> >>>>
> >>>> >>>> With javascript:
> >>>> >>>>
> >>>> >>>> jQuery('table.myrt td.boxcontainer >
> >>>> >>>> div').detach().appendTo('table.myrt > tbody > tr').wrap('<td
> >>>> >>>> class="boxcontainer" />');
> >>>> >>>>
> >>>> >>>> Above is dirty variant, but at least it works in Chrome and
> >>>> >>>> demonstrates how to start. There is a callback in Header file to
> >>>> >>>> put
> >>>> >>>> any custom javascript on RT pages.
> >>>> >>>>
> >>>> >>>> >
> >>>> >>>> >
> >>>> >>>> > On 2 July 2012 21:47, Ruslan Zakirov <ruz [at] bestpractical>
> >>>> >>>> > wrote:
> >>>> >>>> >>
> >>>> >>>> >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
> >>>> >>>> >> <nafiesaa [at] kromco>
> >>>> >>>> >> wrote:
> >>>> >>>> >> > Great! So where do I start? I have never fiddled with CSS
> or
> >>>> >>>> >> > JS
> >>>> >>>> >> > before,
> >>>> >>>> >> > so
> >>>> >>>> >> > it will be helpful if you could direct me to a relevant
> >>>> >>>> >> > example.
> >>>> >>>> >>
> >>>> >>>> >> Start from Dashboards, custom searches and see how close you
> can
> >>>> >>>> >> get
> >>>> >>>> >> to what you need.
> >>>> >>>> >>
> >>>> >>>> >>
> >>>> >>>> >>
> >>>> >>>> >> >
> >>>> >>>> >> > On 29 June 2012 20:09, Thomas Sibley <trs [at] bestpractical
> >
> >>>> >>>> >> > wrote:
> >>>> >>>> >> >>
> >>>> >>>> >> >> On 06/29/2012 10:57 AM, Benjamin Boksa wrote:
> >>>> >>>> >> >> > I am sure this can be done using RT4 by writing a custom
> >>>> >>>> >> >> > page -
> >>>> >>>> >> >> > but I
> >>>> >>>> >> >> > honestly do not know how…
> >>>> >>>> >> >>
> >>>> >>>> >> >> Learning the basics of how to create your own page in RT
> will
> >>>> >>>> >> >> probably
> >>>> >>>> >> >> be faster and more efficient than trying to use the REST
> >>>> >>>> >> >> interface
> >>>> >>>> >> >> to
> >>>> >>>> >> >> get all the data and interaction you want.
> >>>> >>>> >> >>
> >>>> >>>> >> >> You can probably do most of what you want with a standard
> >>>> >>>> >> >> dashboard and
> >>>> >>>> >> >> a bunch of custom CSS and JS that targets it to rearrange
> as
> >>>> >>>> >> >> necessary.
> >>>> >>>> >> >
> >>>> >>>> >> >
> >>>> >>>> >> >
> >>>> >>>> >> >
> >>>> >>>> >> > --
> >>>> >>>> >> >
> >>>> >>>> >> > Groete/Regards
> >>>> >>>> >> >
> >>>> >>>> >> > Nafiesa Allie
> >>>> >>>> >> >
> >>>> >>>> >> > Kromco (Pty) Ltd
> >>>> >>>> >> >
> >>>> >>>> >> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> >>>> >>>> >> > nafiesaa [at] kromco |
> >>>> >>>> >> >
> >>>> >>>> >> > *Important Notice: This e-mail may contain trade secrets or
> >>>> >>>> >> > privileged,
> >>>> >>>> >> > undisclosed, or otherwise confidential information.
> >>>> >>>> >> >
> >>>> >>>> >> > If you have received this e-mail in error, you are hereby
> >>>> >>>> >> > notified
> >>>> >>>> >> > that
> >>>> >>>> >> > any
> >>>> >>>> >> > review, copying, or distribution of it is strictly
> prohibited.
> >>>> >>>> >> >
> >>>> >>>> >> > Please inform us immediately and destroy the original
> >>>> >>>> >> > transmittal.
> >>>> >>>> >> > Thank
> >>>> >>>> >> > you
> >>>> >>>> >> > for your cooperation.
> >>>> >>>> >> >
> >>>> >>>> >> >
> >>>> >>>> >>
> >>>> >>>> >>
> >>>> >>>> >>
> >>>> >>>> >> --
> >>>> >>>> >> Best regards, Ruslan.
> >>>> >>>> >
> >>>> >>>> >
> >>>> >>>> >
> >>>> >>>> >
> >>>> >>>> > --
> >>>> >>>> >
> >>>> >>>> > Groete/Regards
> >>>> >>>> >
> >>>> >>>> > Nafiesa Allie
> >>>> >>>> >
> >>>> >>>> > Kromco (Pty) Ltd
> >>>> >>>> >
> >>>> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> >>>> >>>> > nafiesaa [at] kromco
> >>>> >>>> > |
> >>>> >>>> >
> >>>> >>>> > *Important Notice: This e-mail may contain trade secrets or
> >>>> >>>> > privileged,
> >>>> >>>> > undisclosed, or otherwise confidential information.
> >>>> >>>> >
> >>>> >>>> > If you have received this e-mail in error, you are hereby
> >>>> >>>> > notified
> >>>> >>>> > that any
> >>>> >>>> > review, copying, or distribution of it is strictly prohibited.
> >>>> >>>> >
> >>>> >>>> > Please inform us immediately and destroy the original
> >>>> >>>> > transmittal.
> >>>> >>>> > Thank you
> >>>> >>>> > for your cooperation.
> >>>> >>>> >
> >>>> >>>> >
> >>>> >>>>
> >>>> >>>>
> >>>> >>>>
> >>>> >>>> --
> >>>> >>>> Best regards, Ruslan.
> >>>> >>>
> >>>> >>>
> >>>> >>>
> >>>> >>>
> >>>> >>> --
> >>>> >>>
> >>>> >>> Groete/Regards
> >>>> >>>
> >>>> >>> Nafiesa Allie
> >>>> >>>
> >>>> >>> Kromco (Pty) Ltd
> >>>> >>>
> >>>> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> >>>> >>> nafiesaa [at] kromco |
> >>>> >>>
> >>>> >>> *Important Notice: This e-mail may contain trade secrets or
> >>>> >>> privileged,
> >>>> >>> undisclosed, or otherwise confidential information.
> >>>> >>>
> >>>> >>> If you have received this e-mail in error, you are hereby notified
> >>>> >>> that
> >>>> >>> any review, copying, or distribution of it is strictly prohibited.
> >>>> >>>
> >>>> >>> Please inform us immediately and destroy the original transmittal.
> >>>> >>> Thank
> >>>> >>> you for your cooperation.
> >>>> >>>
> >>>> >>>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> --
> >>>> >>
> >>>> >> Groete/Regards
> >>>> >>
> >>>> >> Nafiesa Allie
> >>>> >>
> >>>> >> Kromco (Pty) Ltd
> >>>> >>
> >>>> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> nafiesaa [at] kromco
> >>>> >> |
> >>>> >>
> >>>> >> *Important Notice: This e-mail may contain trade secrets or
> >>>> >> privileged,
> >>>> >> undisclosed, or otherwise confidential information.
> >>>> >>
> >>>> >> If you have received this e-mail in error, you are hereby notified
> >>>> >> that
> >>>> >> any review, copying, or distribution of it is strictly prohibited.
> >>>> >>
> >>>> >> Please inform us immediately and destroy the original transmittal.
> >>>> >> Thank
> >>>> >> you for your cooperation.
> >>>> >>
> >>>> >>
> >>>> >
> >>>> >
> >>>> >
> >>>> > --
> >>>> >
> >>>> > Groete/Regards
> >>>> >
> >>>> > Nafiesa Allie
> >>>> >
> >>>> > Kromco (Pty) Ltd
> >>>> >
> >>>> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e
> nafiesaa [at] kromco
> >>>> > |
> >>>> >
> >>>> > *Important Notice: This e-mail may contain trade secrets or
> >>>> > privileged,
> >>>> > undisclosed, or otherwise confidential information.
> >>>> >
> >>>> > If you have received this e-mail in error, you are hereby notified
> >>>> > that any
> >>>> > review, copying, or distribution of it is strictly prohibited.
> >>>> >
> >>>> > Please inform us immediately and destroy the original transmittal.
> >>>> > Thank you
> >>>> > for your cooperation.
> >>>> >
> >>>> >
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Best regards, Ruslan.
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>>
> >>> Groete/Regards
> >>>
> >>> Nafiesa Allie
> >>>
> >>> Kromco (Pty) Ltd
> >>>
> >>> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco|
> >>>
> >>> *Important Notice: This e-mail may contain trade secrets or privileged,
> >>> undisclosed, or otherwise confidential information.
> >>>
> >>> If you have received this e-mail in error, you are hereby notified that
> >>> any review, copying, or distribution of it is strictly prohibited.
> >>>
> >>> Please inform us immediately and destroy the original transmittal.
> Thank
> >>> you for your cooperation.
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> Groete/Regards
> >>
> >> Nafiesa Allie
> >>
> >> Kromco (Pty) Ltd
> >>
> >> | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
> >>
> >> *Important Notice: This e-mail may contain trade secrets or privileged,
> >> undisclosed, or otherwise confidential information.
> >>
> >> If you have received this e-mail in error, you are hereby notified that
> >> any review, copying, or distribution of it is strictly prohibited.
> >>
> >> Please inform us immediately and destroy the original transmittal. Thank
> >> you for your cooperation.
> >>
> >>
> >
> >
> >
> > --
> >
> > Groete/Regards
> >
> > Nafiesa Allie
> >
> > Kromco (Pty) Ltd
> >
> > | t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |
> >
> > *Important Notice: This e-mail may contain trade secrets or privileged,
> > undisclosed, or otherwise confidential information.
> >
> > If you have received this e-mail in error, you are hereby notified that
> any
> > review, copying, or distribution of it is strictly prohibited.
> >
> > Please inform us immediately and destroy the original transmittal. Thank
> you
> > for your cooperation.
> >
> >
>
>
>
> --
> Best regards, Ruslan.
>



--

Groete/Regards

Nafiesa Allie

Kromco (Pty) Ltd

| t +27[0]21 850-6847 | f +27[0]21 850-6871 | e nafiesaa [at] kromco |

*Important Notice: This e-mail may contain trade secrets or privileged,
undisclosed, or otherwise confidential information.

If you have received this e-mail in error, you are hereby notified that any
review, copying, or distribution of it is strictly prohibited.

Please inform us immediately and destroy the original transmittal. Thank
you for your cooperation.


odhiambo at gmail

Jul 11, 2012, 5:50 AM

Post #15 of 16 (983 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On Wed, Jul 11, 2012 at 3:19 PM, Nafiesa Allie <nafiesaa [at] kromco>wrote:

> Did you not get my mail with the attachment?
>
> Ok, I will put it in writing: the file that I created is
> /svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head and its contents is:
>
> <%INIT>
> jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt >
> tbody > tr').wrap('<td class="boxcontainer" />');
> </%INIT>
> <%ARGS>
> </%ARGS>
>
> Please bear in mind that I have never programmed in Java/Jquery or HTML
> before.
>

That's why you should consider paying Bestpractical to do this
customizations for you, I think. That's how the likes of Ruslan make their
living.



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.


ruz at bestpractical

Jul 11, 2012, 7:59 AM

Post #16 of 16 (980 views)
Permalink
Re: RT Visual Interface Enhancements Enquiry [In reply to]

On Wed, Jul 11, 2012 at 3:50 PM, Odhiambo Washington <odhiambo [at] gmail> wrote:
>
>
> On Wed, Jul 11, 2012 at 3:19 PM, Nafiesa Allie <nafiesaa [at] kromco>
> wrote:
>>
>> Did you not get my mail with the attachment?
>>
>> Ok, I will put it in writing: the file that I created is
>> /svr/rt4/local/html/Callbacks/SLAC/Elements/Header/Head and its contents is:
>>
>> <%INIT>
>> jQuery('table.myrt td.boxcontainer > div').detach().appendTo('table.myrt >
>> tbody > tr').wrap('<td class="boxcontainer" />');
>> </%INIT>
>> <%ARGS>
>> </%ARGS>
>>
>> Please bear in mind that I have never programmed in Java/Jquery or HTML
>> before.

You've put everything into <%INIT> block where perl code should live
that initializes
data for the page. Delete all special blocks and just leave
html/javascript. Also, your code
is javascript and to place it properly into HTML you have to wrap it
into <script></script>
tag.

> That's why you should consider paying Bestpractical to do this
> customizations for you, I think. That's how the likes of Ruslan make their
> living.

Well, we can help on the mailing list as long as user have time, does
leg work, learns, keep
pushing by providing additional info, doesn't yell that help is slow
and so on ... Usual situation
with mailing lists.

> --
> Best regards,
> Odhiambo WASHINGTON,


--
Best regards, Ruslan.

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.