Re: [rt-users] searching for tickets that haven't had a response yet?

2012-07-11 Thread Bill Cole

On 11 Jul 2012, at 10:27, Roedel, Mark wrote:

What's the proper TicketSQL to return the list of tickets that don't 
yet have a "Told" date set?


The answer to that may be version sensitive, since it appears to me that 
there is breakage in at least versions 3.8.7, 3.8.11, and 4.0.5. You 
will note that these are all not the most recent releases.


You SHOULD be able to use:

Told = '1970-01-01'

or:

Told = 'Not set'

However, neither of those criteria works. I believe they *should* 
because they both work with 'Due' instead of 'Told' and those are the 
same data type. They are both manipulated by RT::Date and can logically 
be unset for a ticket. Unfortunately, there's also a clue to something 
wrong in that if you sort a list by Due the 'Not set' tickets are before 
any others, but if you sort a list by Told they sort as if Told is in 
the future, yet searching for Told after the current date also fails to 
find those tickets.






[rt-users] RES: Help to configure incoming e-mails

2012-07-11 Thread Diaulas Castro
My setup is near what you want to achieve, but i used procmail/RT CLI instead 
of CommandBymail.

With ExchangeServer (mine is Office365) I configured postfix to send all the 
outgoing mails with  From field same as the user who logs on exchange.
  Since apache user send mail the exchange server may block because you log as 
tic...@yourdomain.com and the mail arrives as www-d...@hostname.domain.com.

  Look for smtp_generic_maps  for postfix, for msmtp I dont know how to do.

 


-Mensagem original-
De: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] Em nome de Alberto Villanueva
Enviada em: quarta-feira, 11 de julho de 2012 12:46
Para: rt-users@lists.bestpractical.com
Assunto: [rt-users] Help to configure incoming e-mails

Hi all,


I'm configuring RT to a customer. It runs all enabled features except the 
creation of defects using an e-mail. I have installed CommandByMail and it was 
installed successfully.

I'm going to describe the problem:
- Machine_A
-> Unix
-> RT installation (4.0.5)
-> msmstp   
- Machine_B
-> Windows
-> Exchange server

When I send an email from Machine_A (or Machine_B) to RT to create the ticket 
in a specific queue, the mail log indicates the next message: 
"status = sent (205 2.0.6): Queued mail for delivery", and the ticket is not 
created logically. But RT sends the e-mail when someone comments in a ticket.

When I send the e-mail from Machine_A, I get the next e-mail address: 
"aliases@machine_a.com" but I want to send it to "alia...@domain.com".
I think the problem is in the mail configuration or on the connection between 
the machines. But I don't :-(

Could you help me?


Thank you very much!!

Best regards,

--
Alberto VILLANUEVA DEL VAL
Consultor
Altran España, Industria
___

ALTRAN: talento generando innovación

Parque Empresarial Las Mercedes, Edificio 1 C/ Campezo, 1
28022 Madrid
Spain
Tel. : + 34 917 44 46 00
Fax : + 34 914 15 24 57
alberto.villanu...@altran.es
www.altran.es
www.altran360.es

Síguenos en:
www.linkedin.com/company/altran-espana
www.twitter.com/altran_es
www.facebook.com/altranespana

Antes de imprimir este mensaje, asegúrate de que es necesario. Proteger el 
medio ambiente está también en tu mano.
En cumplimiento de la Ley Orgánica 15/1999, con fecha 13 de diciembre, de 
Protección de Datos de Carácter Personal, y la Ley 34/2002, con fecha
11 de julio, de Servicios de la Sociedad de la Información y de comercio 
electrónico, le comunicamos que su dirección de correo electrónico forma parte 
de un fichero del que es responsable Altran España, y que garantiza la 
confidencialidad y seguridad de sus datos. Tiene usted derecho al acceso, 
rectificación y cancelación de sus datos en los términos establecidos en la Ley 
Orgánica 15/1999 de Protección de Datos de Carácter Personal y demás normativa 
concordante, dirigiéndose a nuestra dirección anteriormente señalada o por 
medio de correo
electrónico: comunicac...@altran.es.

AVISO LEGAL: Este mensaje, junto con cualquier fichero adjunto, está dirigido a 
su destinatario y es confidencial. Cualquier distribución, uso o reproducción 
sin consentimiento del remitente está estrictamente prohibido. Si ha recibido 
este mensaje por error, por favor proceda a ponerlo en conocimiento del 
remitente por e-mail y a borrarlo de su sistema sin realizar copias.





[rt-users] Help to configure incoming e-mails

2012-07-11 Thread Alberto Villanueva

Hi all,


I'm configuring RT to a customer. It runs all enabled features except 
the creation of defects using an e-mail. I have installed CommandByMail 
and it was installed successfully.


I'm going to describe the problem:
- Machine_A
-> Unix
-> RT installation (4.0.5)
-> msmstp
- Machine_B
-> Windows
-> Exchange server

When I send an email from Machine_A (or Machine_B) to RT to create the 
ticket in a specific queue, the mail log indicates the next message: 
"status = sent (205 2.0.6): Queued mail for delivery", and the ticket is 
not created logically. But RT sends the e-mail when someone comments in 
a ticket.


When I send the e-mail from Machine_A, I get the next e-mail address: 
"aliases@machine_a.com" but I want to send it to "alia...@domain.com".
I think the problem is in the mail configuration or on the connection 
between the machines. But I don't :-(


Could you help me?


Thank you very much!!

Best regards,

--
Alberto VILLANUEVA DEL VAL
Consultor
Altran España, Industria
___

ALTRAN: talento generando innovación

Parque Empresarial Las Mercedes, Edificio 1
C/ Campezo, 1
28022 Madrid
Spain
Tel. : + 34 917 44 46 00
Fax : + 34 914 15 24 57
alberto.villanu...@altran.es
www.altran.es
www.altran360.es

Síguenos en:
www.linkedin.com/company/altran-espana
www.twitter.com/altran_es
www.facebook.com/altranespana

Antes de imprimir este mensaje, asegúrate de que es necesario. Proteger 
el medio ambiente está también en tu mano.
En cumplimiento de la Ley Orgánica 15/1999, con fecha 13 de diciembre, 
de Protección de Datos de Carácter Personal, y la Ley 34/2002, con fecha 
11 de julio, de Servicios de la Sociedad de la Información y de comercio 
electrónico, le comunicamos que su dirección de correo electrónico forma 
parte de un fichero del que es responsable Altran España, y que 
garantiza la confidencialidad y seguridad de sus datos. Tiene usted 
derecho al acceso, rectificación y cancelación de sus datos en los 
términos establecidos en la Ley Orgánica 15/1999 de Protección de Datos 
de Carácter Personal y demás normativa concordante, dirigiéndose a 
nuestra dirección anteriormente señalada o por medio de correo 
electrónico: comunicac...@altran.es.


AVISO LEGAL: Este mensaje, junto con cualquier fichero adjunto, está 
dirigido a su destinatario y es confidencial. Cualquier distribución, 
uso o reproducción sin consentimiento del remitente está estrictamente 
prohibido. Si ha recibido este mensaje por error, por favor proceda a 
ponerlo en conocimiento del remitente por e-mail y a borrarlo de su 
sistema sin realizar copias.




Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Ruslan Zakirov
On Wed, Jul 11, 2012 at 3:50 PM, Odhiambo Washington  wrote:
>
>
> On Wed, Jul 11, 2012 at 3:19 PM, Nafiesa Allie 
> 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('');
>> 
>> <%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.


[rt-users] searching for tickets that haven't had a response yet?

2012-07-11 Thread Roedel, Mark
What's the proper TicketSQL to return the list of tickets that don't yet have a 
"Told" date set?


Re: [rt-users] Change the place of title page name

2012-07-11 Thread Jonathan Khattir
OK, I created the callbacks Head and I put in  jQuery('#header
h1').prependTo('#body');
I clean cache, restart server but i have an error : Error during
compilation of
/opt/rt4/local/html/Callbacks/MobiquiThings/Elements/Header/Head:
Useless use of concatenation (.) or string in void context at
/opt/rt4/local/html/Callbacks/MobiquiThings/Elements/Header/Head line 2.
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

Content of my Head callback :

<%INIT>
jQuery(('#header h1').prependTo('#body'));

<%ARGS>



2012/7/2 Jonathan Khattir 

> Hi, I would like to known how i can change the place of the title of
> current page view.
>
> The variable is $Title, define in /Element/Header so i would like export
> this variable or the div <% $Title %> to
> display the page name in footer (/Element/Footer) for exemple.
>
> Thanks to help me :)
>
>
>


Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Odhiambo Washington
On Wed, Jul 11, 2012 at 3:19 PM, Nafiesa Allie 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('');
> 
> <%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.


Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Nafiesa Allie
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('');

<%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  wrote:

> On Wed, Jul 11, 2012 at 12:17 PM, Nafiesa Allie 
> 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  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  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  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  >
>  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  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  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 
> wrote:
>  
>   On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie
>   
>   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 overcom

Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Ruslan Zakirov
On Wed, Jul 11, 2012 at 12:17 PM, Nafiesa Allie  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  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  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  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 
 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  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  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  wrote:
 
  On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie
  
  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('>>>  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 
  > wrote:
  >>
  >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
  >> 
  >> wrote:
  >> > Great! So where do I start?  I have never fiddled with CSS or
  >> 

Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Nafiesa Allie
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  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  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  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 
>>> 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  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  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  wrote:
>>> 
>>>  On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie <
>>> nafie...@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('>>  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 
>>> wrote:
>>>  >>
>>>  >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>>>  >> 
>>>  >> 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.
>>>  >>
>>>  >>
>>>  >>
>>>  >> >
>>>  >> >

Re: [rt-users] RT Visual Interface Enhancements Enquiry

2012-07-11 Thread Nafiesa Allie
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  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  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 
>> 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  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  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  wrote:
>> 
>>  On Tue, Jul 3, 2012 at 9:29 AM, Nafiesa Allie > >
>>  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('>  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 
>> wrote:
>>  >>
>>  >> On Mon, Jul 2, 2012 at 12:42 PM, Nafiesa Allie
>>  >> 
>>  >> 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 
>> 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