Subject: | announces are not displayed in the SelfService web interface |
When logged in via the SelfService web interface, announces are not displayed.
I fixed this with the following patch :
--- RT-Extension-Announce-0.06/html/Callbacks/RT-Extension-Announce/Elements/PageLayout/BeforeBody.orig 2012-10-29 23:45:57.000000000 +0900
+++ RT-Extension-Announce-0.06/html/Callbacks/RT-Extension-Announce/Elements/PageLayout/BeforeBody 2013-04-18 13:04:25.233278785 +0900
@@ -97,7 +97,7 @@
</table></div>
<%INIT>
# Only display on Homepage
-return unless ( $m->request_comp->path =~ /^\/index.html$/ );
+return unless ( ($m->request_comp->path =~ /^\/index.html$/ ) || ($m->request_comp->path =~ /^\/SelfService\/index.html$/ ));
my @tickets = RT::Extension::Announce::GetAnnouncements($session{CurrentUser});