several small improvements to lots of stuff
This commit is contained in:
parent
d272e7de58
commit
7cf2c22a95
12 changed files with 122 additions and 64 deletions
|
|
@ -89,7 +89,6 @@ sub addAdManager {
|
|||
title varchar(255) not null,
|
||||
type varchar(15) not null default 'text',
|
||||
storageId varchar(22) binary,
|
||||
filename varchar(255),
|
||||
adText varchar(255),
|
||||
url text,
|
||||
richMedia text,
|
||||
|
|
@ -105,6 +104,12 @@ sub addAdManager {
|
|||
renderedAd text
|
||||
)");
|
||||
$session->db->write("alter table advertisement add index adSpaceId_isActive (adSpaceId, isActive)");
|
||||
my $macros = $session->config->get("macros");
|
||||
$macros->{AdSpace} = "AdSpace";
|
||||
$session->config->set("macros",$macros);
|
||||
my $group = WebGUI::Group->new($session, "new", "pbgroup000000000000017");
|
||||
$group->name("Ad Manager");
|
||||
$group->description("These users will be able to manage advertisements.");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue