Adding the "Last Updated" column to SelfService

When looking at a particular queue, one of the columns is Owner/Last Updated, which can be sorted by either criteria.
I’d like to add this column to queues in SelfService, but can’t quite figure it out.
Any detailed advice?

Running RT 3.8.4 on RHEL 5.3
Thanks,

When looking at a particular queue, one of the columns is Owner/Last Updated, which can be
sorted by either criteria.

I’d like to add this column to queues in SelfService, but can’t quite figure it out.

Any detailed advice?

Running RT 3.8.4 on RHEL 5.3

Upgrade to 3.8.7 and use the $DefaultSelfServiceSearchResultFormat
config option

-kevin

Hi RT Developers,
we try to add an additional CSS Sheet to RT, created a new subfolder below NoAuth/css but the new Stylesheet does not appear as option. Searched a little inside the Config and Module Files and found inside lib/RT/Config.pm the following:

WebDefaultStylesheet => {
    Section         => 'General',                #loc
    Overridable     => 1,
    SortOrder       => 3,
    Widget          => '/Widgets/Form/Select',
    WidgetArguments => {
        Description => 'Theme',                  #loc
        # XXX: we need support for 'get values callback'
        Values => [qw(3.5-default 3.4-compat web2)],
   },

i don’t like the idea to change this core module of RT to extent the “themes” options of RT, what about this idea:

WebDefaultStylesheet => {
    Section         => 'General',                #loc
    Overridable     => 1,
    SortOrder       => 3,
    Widget          => '/Widgets/Form/Select',
    WidgetArguments => {
        Description => 'Theme',                  #loc
        # XXX: we need support for 'get values callback'
    Values => RT->Config->Get('WebStylesheets'),
   },

And add an Option to RT_Config.pm like:

Set($WebStylesheets, [qw(web2 mytemplate 3.5-default 3.4-compat)]);

OK, my try was not successfull till now, but i think this way should be usable to get different Styles to work inside RT.

Any hints or suggestions?

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote:

Any hints or suggestions?

We’ve done this the following way:

~rt/local/lib/RT/Config_Local.pm:

our %META;
$META{‘WebDefaultStylesheet’} =
{
Section => ‘General’, #loc
Overridable => 0,
SortOrder => 3,
Widget => ‘/Widgets/Form/Select’,
WidgetArguments => {
Description => ‘Theme’, #loc
Values => [qw(porta)],
},
};

~rt/etc/RT_SiteConfig.pm:

Set($WebDefaultStylesheet, ‘porta’);

But the way you’ve offered (themes list is set via RT_SiteConfig.pm) sounds better.

Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

PortaOne Booth 812 @ ITW 2010
International Telecommunication Week
Marriott Wardman Park Hotel
Washington, DC - May 24-26

Yes. my thoughts was to call from config the values for this, but i have no clue why it is not working…

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne

-----Urspruengliche Nachricht-----Von: Agnislav Onufrijchuk [mailto:Agnislav.Onufrijchuk@portaone.com]
Gesendet: Mittwoch, 7. April 2010 12:22
An: Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Cc: RT developers
Betreff: Re: [Rt-devel] RT 3.8.x different Web Stylesheets

Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote:

Any hints or suggestions?

We’ve done this the following way:

~rt/local/lib/RT/Config_Local.pm:

our %META;
$META{‘WebDefaultStylesheet’} =
{
Section => ‘General’, #loc
Overridable => 0,
SortOrder => 3,
Widget => ‘/Widgets/Form/Select’,
WidgetArguments => {
Description => ‘Theme’, #loc
Values => [qw(porta)],
},
};

~rt/etc/RT_SiteConfig.pm:

Set($WebDefaultStylesheet, ‘porta’);

But the way you’ve offered (themes list is set via RT_SiteConfig.pm) sounds better.

Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

PortaOne Booth 812 @ ITW 2010
International Telecommunication Week
Marriott Wardman Park Hotel
Washington, DC - May 24-26

Hi RT Developers,
we try to add an additional CSS Sheet to RT, created a new subfolder below NoAuth/css but the new Stylesheet does not appear as option. Searched a little inside the Config and Module Files and found inside lib/RT/Config.pm the following:

        # XXX: we need support for 'get values callback'
        Values => [qw(3.5-default 3.4-compat web2)],
   },

i don’t like the idea to change this core module of RT to extent the “themes” options of RT, what about this idea:

Indeed. That “# XXX” comment is developer shorthand saying exactly the
same thing. I’ve turned this mail into a ticket so that we don’t lose
track of it.

signature.asc (197 Bytes)

If you

Set($WebDefaultStylesheet, ‘yourcss’);

Then in Preferences you should see a dropdown that says
"System Default - yourcss"
followed by the other 3

-kevinOn Wed, Apr 07, 2010 at 11:46:40AM +0200, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote:

Hi RT Developers,
we try to add an additional CSS Sheet to RT, created a new subfolder below NoAuth/css but the new Stylesheet does not appear as option. Searched a little inside the Config and Module Files and found inside lib/RT/Config.pm the following:

WebDefaultStylesheet => {
    Section         => 'General',                #loc
    Overridable     => 1,
    SortOrder       => 3,
    Widget          => '/Widgets/Form/Select',
    WidgetArguments => {
        Description => 'Theme',                  #loc
        # XXX: we need support for 'get values callback'
        Values => [qw(3.5-default 3.4-compat web2)],
   },

i don’t like the idea to change this core module of RT to extent the “themes” options of RT, what about this idea:

WebDefaultStylesheet => {
    Section         => 'General',                #loc
    Overridable     => 1,
    SortOrder       => 3,
    Widget          => '/Widgets/Form/Select',
    WidgetArguments => {
        Description => 'Theme',                  #loc
        # XXX: we need support for 'get values callback'
    Values => RT->Config->Get('WebStylesheets'),
   },

And add an Option to RT_Config.pm like:

Set($WebStylesheets, [qw(web2 mytemplate 3.5-default 3.4-compat)]);

OK, my try was not successfull till now, but i think this way should be usable to get different Styles to work inside RT.

Any hints or suggestions?

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel