[rt-users] customizing RT interface
Ruslan Zakirov
ruslan.zakirov at gmail.com
Mon Aug 29 09:36:40 EDT 2005
We've got different ways to customize RT:
* callbacks(code extending)
* local dir(file overriding)
* overlays(code overriding, extending is also possible)
* CSS(overriding+extending pages look)
* patches
More about this you can read on
http://wiki.bestpractical.com/index.cgi?CleanlyCustomizeRT
you can use this technics:
* change colors with CSS, copy css file to local dir and rewrite
* change position of elements in page layout with CSS
* change page layout by overriding of Mason components like Header,
Footer, PageLayout...
* add new funcionality to interface components with Callbacks
* change RT core behaviour with overlays
* if you change is bug fix or feature that should be merged into
mainline use patches and send them to rt-devel
New 3.5.x development releases have a lot of work done in CSS part, it
can have more then one css scheme and you can choose it in RT config.
On 8/29/05, Jan Hudec <bulb at ucw.cz> wrote:
> On Mon, Aug 29, 2005 at 09:33:05 +0100, Graham Briggs wrote:
> > Yes, of course I was including the fact that there was a local/html
> > folder for your own HTML code that effectively overrides the HTML
> > code in share/html in that statement! Of course, if you want to
> > modify certain components, you need to override the Perl code that
> > generates them.
>
> ... for which again code in local/lib overrides share/lib.
>
> > Sorry, I should have been more concise and stated that I meant that
> > you could both override the Perl and HTML aspects of RT, and that it
> > is quite easy if you read the online documentation and can program
> > Perl and HTML.
>
> The confusion stems from the fact, that there is also a mechanism called
> "Callbacks", where you can place mason templates in
> html/Callbacks/<package>/<something> and it will be inserted where the main
> component calls <& Elements/Callback ... &>, but this never overrides
> anything.
>
> > On 29 Aug 2005, at 07:48, Jan Hudec wrote:
> > >On Mon, Aug 29, 2005 at 00:55:18 +0100, Graham Briggs wrote:
> > >>Yes, there's a load of stuff in the online Wiki on the website. Most
> > >>customisation is done using Callbacks, i.e., code that overrides the
> > >>default layout code. It is possible to completely rewrite the
> > >>interface over time this way, however most people limit the changes
> > >>to the bare minimum.
> > >>
> > >
> > >I would disagree with this. The Callbacks only *add* things, but
> > >can NOT
> > >override them. To override the layout, you need to create your own
> > >version of
> > >the templates, which are Elements/Header and Elements/Footer and
> > >Elements/PageLayout. I have also modified some others -- depends on
> > >what do
> > >you need to change. Just copy these over to the local area and start
> > >modifying. Also note, that if you just want to replace the logo,
> > >it's in
> > >a variable, so you can do that from the RT_SiteConfig.pm file.
>
> --
> Jan 'Bulb' Hudec <bulb at ucw.cz>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDEwMnRel1vVwhjGURAuTwAJ0Zdg8sj8TBHWRZLc5jrW/YYKJXjACdH7vL
> jo/N2W2r8+bcnnpnicXwIaU=
> =gbBl
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from http://rtbook.bestpractical.com
>
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list