added snippet and added getToolbar method to asset superclass
This commit is contained in:
parent
1c409def1f
commit
a215ed8c7c
8 changed files with 204 additions and 29 deletions
|
|
@ -343,7 +343,8 @@ $conf->set("assets"=>[
|
|||
'WebGUI::Asset::Redirect',
|
||||
'WebGUI::Asset::FilePile',
|
||||
'WebGUI::Asset::File',
|
||||
'WebGUI::Asset::File::Image'
|
||||
'WebGUI::Asset::File::Image',
|
||||
'WebGUI::Asset::Snippet'
|
||||
]);
|
||||
$conf->write;
|
||||
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@ create table redirect (
|
|||
redirectUrl text
|
||||
);
|
||||
|
||||
create table snippet (
|
||||
assetId varchar(22) not null primary key,
|
||||
snippet mediumtext
|
||||
);
|
||||
|
||||
create table layout (
|
||||
assetId varchar(22) not null primary key,
|
||||
contentPositions text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue