update module and data_count for widget

This commit is contained in:
邱博亞 2023-03-25 15:10:55 +08:00
parent 16bb17a6d9
commit a8b0d1f480
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module VideoPro
module_label "video_pro.video_pro"
base_url File.expand_path File.dirname(__FILE__)
widget_methods ["widget"]
widget_settings [{"multiselect"=>false,"display_field"=>"title","enable_custom_widget_data"=>true}]
widget_settings [{"multiselect"=>false,"display_field"=>"title","enable_custom_widget_data"=>true, "data_count"=>30}]
# models_to_cache [:video_data,:video_image]
taggable "VideoImage"
categorizable

View File

@ -2,6 +2,7 @@
"widgets" : [
{
"filename" : "video_pro_widget1",
"force_cover": "true",
"name" : {
"zh_tw" : "1. 影片列表1 ( 縮圖, 影片資訊, 頁面連結)",
"en" : "1. Video List 1 ( snapshot, video info, page link)"
@ -10,6 +11,7 @@
},
{
"filename" : "video_pro_widget_jqcloud1",
"force_cover": "true",
"name" : {
"zh_tw" : "2. 影片文字雲(標籤)",
"en" : "2. Video Word Cloud(tags)"