fixed: Collaboration system includes header link even with RSS turned off

This commit is contained in:
Graham Knop 2008-07-25 04:03:16 +00:00
parent 91a83974cf
commit 6126bf0fd7
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.5.18 7.5.18
- fixed: Collaboration system includes header link even with RSS turned off
- fixed: edit branch doesn't show list style metadata fields properly - fixed: edit branch doesn't show list style metadata fields properly
- fixed: Product no longer shows "Continue Shopping" view when a different user adds the Product to their Cart. The issue was the Product cached itself when an item was added to the cart. Now it checks for if a cart asset exists for this session. - fixed: Product no longer shows "Continue Shopping" view when a different user adds the Product to their Cart. The issue was the Product cached itself when an item was added to the cart. Now it checks for if a cart asset exists for this session.
- fixed: HTML Export now creates a new session for each asset it exports to - fixed: HTML Export now creates a new session for each asset it exports to

View file

@ -1176,7 +1176,9 @@ sub prepareView {
my $self = shift; my $self = shift;
$self->SUPER::prepareView(); $self->SUPER::prepareView();
my $template = WebGUI::Asset::Template->new($self->session, $self->get("collaborationTemplateId")) or die "no good: ".$self->get("collaborationTemplateId"); my $template = WebGUI::Asset::Template->new($self->session, $self->get("collaborationTemplateId")) or die "no good: ".$self->get("collaborationTemplateId");
$self->session->style->setLink($self->getRssUrl,{ rel=>'alternate', type=>'application/rss+xml', title=>$self->get('title') . ' RSS' }); if ($self->get('rssCapableRssEnabled')) {
$self->session->style->setLink($self->getRssUrl,{ rel=>'alternate', type=>'application/rss+xml', title=>$self->get('title') . ' RSS' });
}
$template->prepare; $template->prepare;
$self->{_viewTemplate} = $template; $self->{_viewTemplate} = $template;
} }