没有合适的资源?快使用搜索试试~ 我知道了~
spree-static-content:扩展以管理您的狂欢商店的静态页面
共78个文件
rb:36个
yml:16个
erb:10个
需积分: 9 0 下载量 88 浏览量
2021-06-28
07:25:33
上传
评论
收藏 46KB ZIP 举报
温馨提示
狂欢静态内容 Spree 页面的良好、干净的内容管理。 您可以使用它来: 添加和管理静态页面,例如“关于”页面。 显示静态页面而不是现有的动态页面,例如主页、产品页面和分类页面。 如何 使用管理选项卡中的“页面”选项,您可以将静态页面添加到您的 Spree 安装中。 页面内容可以直接从数据库中提取,可以是单独的布局文件,也可以呈现为部分内容。 在管理选项卡中,使用“新页面”选项创建一个新的静态页面。 title、slug、body 和 meta 字段将在加载时替换它们各自的页面元素。 title、slug 和 body 元素都是必填字段。 未指定布局/部分的正文文本将在从数据库中提取后加载到 spree_application 布局中。 布局和局部渲染 要在没有 spree_application 布局的情况下渲染整个页面,请指定布局文件的相对路径(例如spree/layou
资源推荐
资源详情
资源评论
收起资源包目录
spree-static-content-master.zip (78个子文件)
spree-static-content-master
db
migrate
20091219021134_add_meta_fields_to_pages.rb 209B
20090814113100_add_visible_to_pages.rb 349B
20110717103112_add_meta_title_to_page.rb 192B
20120723144115_add_render_as_partial_for_layout_for_spree_pages.rb 397B
20100204105222_add_layout_to_pages.rb 182B
20090814142845_add_default_true_to_visible_for_page.rb 176B
20081216193152_create_pages.rb 246B
20140926121757_add_pages_stores.rb 293B
20090625125735_extend_pages.rb 801B
20090829000527_add_index_for_page.rb 168B
20100323085528_add_show_in_sidebar_option_to_pages.rb 243B
.hound.yml 386B
spree_static_content.gemspec 2KB
lib
generators
spree_static_content
install
install_generator.rb 843B
spree_static_content
engine.rb 442B
version.rb 348B
spree_static_content.rb 658B
Gemfile 94B
Guardfile 622B
spec
models
page_spec.rb 988B
controllers
static_content_controller_spec.rb 1KB
lib
spree_static_content_spec.rb 930B
helpers
page_helper_spec.rb 326B
spec_helper.rb 801B
features
admin
pages_spec.rb 2KB
static_content_spec.rb 2KB
factories
page_factory.rb 284B
support
spree.rb 449B
capybara.rb 429B
factory_girl.rb 132B
database_cleaner.rb 390B
Rakefile 321B
CONTRIBUTING.md 3KB
.travis.yml 197B
config
locales
pl.yml 770B
sv.yml 693B
pt.yml 729B
et.yml 740B
nl.yml 712B
fr.yml 715B
ru.yml 1KB
pt-BR.yml 730B
en.yml 678B
de.yml 723B
ro.yml 736B
it.yml 684B
es.yml 755B
routes.rb 189B
LICENSE.md 1KB
README.md 3KB
.rubocop.yml 100B
Versionfile 748B
.rspec 40B
.gitignore 99B
app
views
spree
admin
pages
_form.html.erb 4KB
new.html.erb 134B
index.html.erb 2KB
edit.html.erb 158B
shared
_pages_sidebar_menu.erb 203B
static_content
_static_content_footer.html.erb 189B
show.html.erb 838B
_static_content_header.html.erb 147B
_static_content_list.html.erb 460B
_static_content_sidebar.html.erb 417B
overrides
add_pages_to_admin_sidebar_menu.rb 184B
pages_in_footer.rb 181B
pages_in_sidebar.rb 179B
pages_in_header.rb 204B
models
spree
page.rb 2KB
controllers
spree
admin
pages_controller.rb 93B
static_content_controller.rb 586B
helpers
spree
pages_helper.rb 153B
assets
stylesheets
spree
frontend
spree_static_content.css 342B
backend
spree_static_content.css 32B
javascripts
spree
frontend
spree_static_content.js 26B
backend
spree_static_content.js 25B
bin
rails 206B
CHANGELOG.md 29B
共 78 条
- 1
资源评论
BinaryBrewmaster
- 粉丝: 16
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功