[rt-users] RT Possibilites?

John Gedeon jgedeon at qualcomm.com
Fri Jan 17 19:55:36 EST 2003


Would it be possible to have the directory structure like such

WebRT/html/
    Default/
         Ticket/
         User/ ....
    Queue1/
         include only files I changed
    Queue2/
         include only files I changed

and have html_mason look at for the file in the queue's directory and if 
not found use the one in the Default?
I would want this to also work for the .html files (IE so i could rearrage 
the forms or change some of the form names on the outside, like owner to 
assigned to)
But I would want html mason to hide the Default or Queue1 part of the url 
from everything else.

so a link like http://www.example.com/Ticket/History.html?id=42
would take them to the queue specific view of that ticket which would have 
the files in
WebRT/html/Queue2/Ticket/History.html

Is that possible?

John


At 02:01 PM 1/17/2003, Bruce Campbell wrote:
>On Fri, 17 Jan 2003, John Gedeon wrote:
>
> > I have a request for a queue with the look of rt a little different. Thing
> > is only people using that queue want the change. Is there a way to make
> > different mason files show up for specific queues? Has this been done?
>
>Interesting.  It certainly can be done.
>
>What you want to be doing is to have your collection of files for Queue
>'foo'.  For simplicity, give them the extension '.foo'.
>
>Then, you can change your main pages to include files based on the queue
>name, eg:
>
>         <& /Elements/TitleBoxEnd.$queuename &>
>
>( This is a quick example, and I'm skipping over a lot of stuff, such as
>   how you're setting $queuename etc ).
>
>If you wanted to be more tricky, you could have your magic include file,
>like:
>
>         <& /Elements/DefInclude, queue => $queuename, include =>
>           '/Elements/TitleBoxEnd &>
>
>Where /Elements/DefInclude looked for the requested_file.$queuename, or
>the requested_file in the former's absence.
>
> > Main point is how complex is it to have it done?
>
>Its not that complex, it would just be annoying to set this up (in
>changing all the files that did includes in the appropriate manner).
>
>--
>                              Bruce Campbell                            RIPE
>                    Systems/Network Engineer                             NCC
>                  www.ripe.net - PGP562C8B1B             Operations/Security
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


--
<>< Proverbs 3:5 "Trust in the Lord with all your heart and lean not on 
your own understanding;"




More information about the rt-users mailing list