New Plugin: RTx::Tags

Nothing fancy, just my prior patch for custom field searching
(requires manual application),
and some callbacks to provide directions and a tag cloud on Simple/Search.html
A screenshot is available at

and the tarball should be showing up on your local CPAN mirrors Real Soon Now.

P.S. I cargo-culted the installer from RTx::Calendar without
testing/clobbering my local copy,
but it should work?

P.P.S. I know there should be a paragraph tag around the CF blurb, and
will add it soon,
but am holding off for other bug reports.
Cambridge Energy Alliance: Save money & the planet

Nothing fancy, just my prior patch for custom field searching
(requires manual application),
and some callbacks to provide directions and a tag cloud on Simple/
Search.html

Neat! Have you also built out tag setting/browsing from within tickets?

A screenshot is available at
ImageShack - Best place for all of your image hosting and image sharing needs
and the tarball should be showing up on your local CPAN mirrors Real
Soon Now.

P.S. I cargo-culted the installer from RTx::Calendar without
testing/clobbering my local copy,
but it should work?

Install Module::Install::RTx from CPAN and then rm -rf inc in your
distribution. Module::Install will take care of the rest.

Nothing fancy, just my prior patch for custom field searching
(requires manual application),
and some callbacks to provide directions and a tag cloud on
Simple/Search.html

Neat! Have you also built out tag setting/browsing from within tickets?
Sort of, it just relies upon there being a custom field named Tags.
Seemed the easiest and most logical thing to do.

Install Module::Install::RTx from CPAN and then rm -rf inc in your
distribution. Module::Install will take care of the rest.
Will do. Esp. since, at a minimum, I’m going to try to use an overlay
for Googleish,
instead of requiring patching. Of course, there’s then always the joy
of becoming
out of sync with the RT codebase… given the recent threads about
search customizatiom.
this might be a good place for callbacks :stuck_out_tongue:

Cambridge Energy Alliance: Save money & the planet

Nothing fancy, just my prior patch for custom field searching
(requires manual application),
and some callbacks to provide directions and a tag cloud on
Simple/Search.html

Neat! Have you also built out tag setting/browsing from within
tickets?
Sort of, it just relies upon there being a custom field named Tags.
Seemed the easiest and most logical thing to do.

That seems reasonable, though you may want to look at how RTIR creates
“hidden” custom fields so it can do its own rendering ,etc.

Install Module::Install::RTx from CPAN and then rm -rf inc in your
distribution. Module::Install will take care of the rest.
Will do. Esp. since, at a minimum, I’m going to try to use an overlay
for Googleish,
instead of requiring patching. Of course, there’s then always the joy
of becoming
out of sync with the RT codebase… given the recent threads about
search customizatiom.
this might be a good place for callbacks :stuck_out_tongue:

I might recommend using Hook::LexWrap on the routines in Googleish
rather than overriding the sub. That will be more “durable”

I might recommend using Hook::LexWrap on the routines in Googleish rather
than overriding the sub. That will be more “durable”
I think I’ve got the design worked out, but I cannot seem to find the
right place to put
the Overlay? Have tried:

plugins/RTx-Tags/lib/Search/Googleish_Overlay.pm
plugins/RTx-Tags/lib/RTx/Googleish_Overlay.pm
plugins/RTx-Tags/lib/RTx/Search/Googleish_Overlay.pm

Cambridge Energy Alliance: Save money & the planet

See discussion from the list about RTx and Plugin issues over the past
week.On Sep 15, 2008, at 11:01 AM, Jerrad Pierce wrote:

I might recommend using Hook::LexWrap on the routines in Googleish
rather
than overriding the sub. That will be more “durable”
I think I’ve got the design worked out, but I cannot seem to find the
right place to put
the Overlay? Have tried:

plugins/RTx-Tags/lib/Search/Googleish_Overlay.pm
plugins/RTx-Tags/lib/RTx/Googleish_Overlay.pm
plugins/RTx-Tags/lib/RTx/Search/Googleish_Overlay.pm


Cambridge Energy Alliance: Save money & the planet

See discussion from the list about RTx and Plugin issues over the past week.
That didn’t help much, but I eventually figured it out. Several of the
locations were actually
working, but I was getting bitten by

$query = shift || $self->Argument

since a simple query for only a custom field meant $query would be
empty after I’d
gleaned my custom syntax from $query :stuck_out_tongue:

Anyway, 0.04 coming out soon with bug fixes and painless install.
Cambridge Energy Alliance: Save money & the planet

I might recommend using Hook::LexWrap on the routines in Googleish rather
than overriding the sub. That will be more “durable”
FYI, LexWrap doesn’t let you tweak @_ adequately, so I had to glob.

Also, any idea why Module::Install installs two copies of everything?

make install

cp lib/RTx/Tags.pm blib/lib/RTx/Tags.pm
cp lib/RT/Search/Googleish_Local.pm blib/lib/RT/Search/Googleish_Local.pm
Manifying blib/man3/RTx::Tags.3pm
Manifying blib/man3/RT::Search::Googleish_Local.3pm
Installing /opt/rt3/local/lib/RT/Search/Googleish_Local.pm
Installing /opt/rt3/local/lib/RTx/Tags.pm
Installing /opt/rt3/local/man/man3/RTx::Tags.3pm
Installing /opt/rt3/local/man/man3/RT::Search::Googleish_Local.3pm
Writing /opt/rt3/local/man/auto/RTx/Tags/.packlist
Appending installation info to /opt/rt3/local/lib/perllocal.pod
Installing /opt/rt3/local/plugins/RTx-Tags/html/NoAuth/css/cloud.css
Installing /opt/rt3/local/plugins/RTx-Tags/html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
Installing /opt/rt3/local/plugins/RTx-Tags/html/Callbacks/RTx-Tags/Elements/Header/Head
Installing /opt/rt3/local/plugins/RTx-Tags/lib/RT/Search/Googleish_Local.pm
Installing /opt/rt3/local/plugins/RTx-Tags/lib/RTx/Tags.pm

Cambridge Energy Alliance: Save money & the planet

I might recommend using Hook::LexWrap on the routines in Googleish rather
than overriding the sub. That will be more “durable”
FYI, LexWrap doesn’t let you tweak @_ adequately, so I had to glob.

Also, any idea why Module::Install installs two copies of everything?

It’s a bug. I’m going to release new M::I::RTx to the CPAN with fixes.

make install

cp lib/RTx/Tags.pm blib/lib/RTx/Tags.pm
cp lib/RT/Search/Googleish_Local.pm blib/lib/RT/Search/Googleish_Local.pm
Manifying blib/man3/RTx::Tags.3pm
Manifying blib/man3/RT::Search::Googleish_Local.3pm
Installing /opt/rt3/local/lib/RT/Search/Googleish_Local.pm
Installing /opt/rt3/local/lib/RTx/Tags.pm
Installing /opt/rt3/local/man/man3/RTx::Tags.3pm
Installing /opt/rt3/local/man/man3/RT::Search::Googleish_Local.3pm
Writing /opt/rt3/local/man/auto/RTx/Tags/.packlist
Appending installation info to /opt/rt3/local/lib/perllocal.pod
Installing /opt/rt3/local/plugins/RTx-Tags/html/NoAuth/css/cloud.css
Installing /opt/rt3/local/plugins/RTx-Tags/html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
Installing /opt/rt3/local/plugins/RTx-Tags/html/Callbacks/RTx-Tags/Elements/Header/Head
Installing /opt/rt3/local/plugins/RTx-Tags/lib/RT/Search/Googleish_Local.pm
Installing /opt/rt3/local/plugins/RTx-Tags/lib/RTx/Tags.pm


Cambridge Energy Alliance: Save money & the planet


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.