Subject: | Incorrect links for Search.html |
Date: | Fri, 31 Oct 2008 20:57:40 -0700 (PDT) |
To: | bug-RTx-Tags [...] rt.cpan.org |
From: | Paul Nijjar <paul_nijjar [...] yahoo.ca> |
Hi,
I just installed the RTx::Tags plugin for RT 3.8.1 . My tag cloud was
generated in the Simple Search page, but each tag link was pointing to
the wrong location. Instead of pointing to
http://myserver/rt38/Search/Simple.html?q=.tags:sometag
I would get
http://myserver/Search/Simple.html?q=.tags:sometag
Namely, for me the WebPath variable is missing.
My hack was to replace the following line in
/opt/rt3.8/local/plugins/RTx-Tags/html/Callbacks/RTx-Tags/Search/Simple.html/PreForm
from
$cloud->add($k, "/Search/Simple.html?q=.tags%3A$k", $tags{$k});
to
$cloud->add($k, RT->Config->Get('WebPath') . "/Search/Simple.html?q=.tags%3A$k", $tags{$k});
- Paul
Show quoted text
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca