Set a default template for the Subscription role.
use WebGUI::Mail::Send, too.
This commit is contained in:
parent
54ea1f66e1
commit
1860408b62
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ property subscriptionTemplateId => (
|
|||
namespace => \&_subscriptionTemplateId_namespace,
|
||||
label => ["Email Template", 'Role_Subscribable'],
|
||||
hoverHelp => ["Email Template help", 'Role_Subscribable'],
|
||||
default => 'limMkk80fMB3fqNZVf162w',
|
||||
);
|
||||
sub _subscriptionTemplateId_namespace {
|
||||
my $self = shift;
|
||||
|
|
@ -44,6 +45,8 @@ property skipNotification => (
|
|||
fieldType => 'yesNo',
|
||||
);
|
||||
|
||||
use WebGUI::Mail::Send;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
WebGUI::Role::Asset::Subscribable - Let users subscribe to your asset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue