first commit
This commit is contained in:
26
plugins/stSlideBannerPlugin/config/config.php
Normal file
26
plugins/stSlideBannerPlugin/config/config.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stSlideBannerPlugin
|
||||
*
|
||||
* Ten plik należy do aplikacji stSearchPlugin opartej na licencji (Open License SOTE) Otwarta Licencja SOTE.
|
||||
* Nie zmieniaj tego pliku, jeśli chcesz korzystać z automatycznych aktualizacji oprogramowania.
|
||||
* Jeśli chcesz wprowadzać swoje modyfikacje do programu, zapoznaj się z dokumentacją, jak zmieniać
|
||||
* oprogramowanie bez zmiany kodu bazowego http://www.sote.pl/modifications
|
||||
*
|
||||
* @package stSlideBanner
|
||||
* @subpackage configs
|
||||
* @copyright SOTE (www.sote.pl)
|
||||
* @license http://www.sote.pl/license/open (Open License SOTE) Otwarta Licencja SOTE
|
||||
* @version $Id: config.php 3428 2010-02-10 11:48:32Z piotr $
|
||||
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
||||
*/
|
||||
|
||||
if (SF_APP == 'frontend')
|
||||
{
|
||||
stPluginHelper::addEnableModule('stSlideBannerFrontend');
|
||||
}
|
||||
elseif (SF_APP == 'backend')
|
||||
{
|
||||
stPluginHelper::addEnableModule('stSlideBannerBackend');
|
||||
stPluginHelper::addRouting('stSlideBannerPlugin', '/slide-banner/:action/*', 'stSlideBannerBackend', 'list');
|
||||
}
|
||||
98
plugins/stSlideBannerPlugin/config/schema.yml
Normal file
98
plugins/stSlideBannerPlugin/config/schema.yml
Normal file
@@ -0,0 +1,98 @@
|
||||
---
|
||||
propel:
|
||||
_attributes:
|
||||
defaultIdMethod: native
|
||||
package: plugins.stSlideBannerPlugin.lib.model
|
||||
st_slide_banner:
|
||||
_attributes:
|
||||
phpName: SlideBanner
|
||||
created_at:
|
||||
type: timestamp
|
||||
updated_at:
|
||||
type: timestamp
|
||||
id:
|
||||
type: INTEGER
|
||||
primaryKey: true
|
||||
required: true
|
||||
autoIncrement: true
|
||||
language_id:
|
||||
type: INTEGER
|
||||
required: true
|
||||
foreignTable: st_language
|
||||
foreignReference: id
|
||||
onDelete: restrict
|
||||
image:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
required: false
|
||||
image_small:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
required: false
|
||||
video_mp4:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
required: false
|
||||
video_mp4_link:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
required: false
|
||||
banner_type:
|
||||
type: INTEGER
|
||||
required: true
|
||||
default: 0
|
||||
link:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
group_name:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
description:
|
||||
type: LONGVARCHAR
|
||||
banner_title:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
banner_description:
|
||||
type: LONGVARCHAR
|
||||
button_text:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
button_link:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
banner_description_position:
|
||||
type: INTEGER
|
||||
required: true
|
||||
default: '0'
|
||||
banner_margin_left:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
banner_margin_right:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
banner_bg_text:
|
||||
type: BOOLEAN
|
||||
default: false
|
||||
banner_bg_out:
|
||||
type: BOOLEAN
|
||||
default: false
|
||||
banner_text_align:
|
||||
type: INTEGER
|
||||
default: 0
|
||||
is_active:
|
||||
type: BOOLEAN
|
||||
required: true
|
||||
default: true
|
||||
opt_culture:
|
||||
type: VARCHAR
|
||||
size: 7
|
||||
required: true
|
||||
rank:
|
||||
type: INTEGER
|
||||
_indexes:
|
||||
opt_culture_idx:
|
||||
- opt_culture
|
||||
is_active_idx:
|
||||
- is_active
|
||||
group_name_idx:
|
||||
- group_name
|
||||
Reference in New Issue
Block a user