RT Visual Interface Enhancements Enquiry

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@kromco.co.za |

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

Hi :slight_smile:

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) :slight_smile: 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

BenjaminAm 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@kromco.co.za |

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

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.

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@bestpractical.com 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@kromco.co.za |

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

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.

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@kromco.co.za |

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

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za |

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

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(‘’);

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.

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.

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@kromco.co.za |

*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@kromco.co.za |

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

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
NafiesaOn 6 July 2012 15:21, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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
NafiesaOn 10 July 2012 13:36, Nafiesa Allie nafiesaa@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie <nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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@kromco.co.za 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(‘’);
and changing it to
jQuery(‘table#dashboard-26.dashboard td.boxcontainer >
div’).detach().appendTo(‘table#dashboard-26.dashboard > tbody >
tr’).wrap(‘’);
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@bestpractical.com 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@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za|

*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@kromco.co.za|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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@kromco.co.za 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@kromco.co.za 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(‘’);
and changing it to
jQuery(‘table#dashboard-26.dashboard td.boxcontainer >
div’).detach().appendTo(‘table#dashboard-26.dashboard > tbody >
tr’).wrap(‘’);
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@bestpractical.com 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@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie < nafiesaa@kromco.co.za> 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za |

*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@kromco.co.za|

*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@kromco.co.za|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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?

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.

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(‘’);
and changing it to
jQuery(‘table#dashboard-26.dashboard td.boxcontainer >
div’).detach().appendTo(‘table#dashboard-26.dashboard > tbody >
tr’).wrap(‘’);
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

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.

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

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

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

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(‘’);

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.

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.

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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za
|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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(‘’);
</%INIT>
<%ARGS>
</%ARGS>

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

Regards
NafiesaOn 11 July 2012 13:04, Ruslan Zakirov ruz@bestpractical.com wrote:

On Wed, Jul 11, 2012 at 12:17 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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(‘’);
and changing it to
jQuery(‘table#dashboard-26.dashboard td.boxcontainer >
div’).detach().appendTo(‘table#dashboard-26.dashboard > tbody >
tr’).wrap(‘’);
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@bestpractical.com 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@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za
|

*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@kromco.co.za|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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

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(‘’);
</%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.

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(‘’);
</%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
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.

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(‘’);
and changing it to
jQuery(‘table#dashboard-26.dashboard td.boxcontainer >
div’).detach().appendTo(‘table#dashboard-26.dashboard > tbody >
tr’).wrap(‘’);
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
NafiesaOn 10 July 2012 20:57, Ruslan Zakirov ruz@bestpractical.com 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@kromco.co.za 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@kromco.co.za 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@kromco.co.za 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@bestpractical.com wrote:

On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie nafiesaa@kromco.co.za 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(‘’);

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@bestpractical.com wrote:

On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie nafiesaa@kromco.co.za 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@bestpractical.com 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@kromco.co.za |

*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@kromco.co.za
|

*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@kromco.co.za|

*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@kromco.co.za |

*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@kromco.co.za |

*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@kromco.co.za |

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