craftcms-filter-demo

  • 所有者: samhernandez/craftcms-filter-demo
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Craft CMS Content Filter Demo

This is something I put together for the NYC Craft CMS meetup 4/2015. It demonstrates how to implement content listing filters (facet filtering) in Twig templates. These include:

  • Mutually exclusive category: Color
  • Inclusive category: Options
  • Range: Mileage
  • Enumeration (basic field value): Transmission

The product list is a bunch of Jeep Wranglers.

Setup

  1. Create a local database and import the sql file
  2. Edit craft/config/db.php to add your local credentials
  3. Set up local host (with MAMP or other)
  4. Log in at http://filter-demo.local/admin or whatever hostname you chose with admin/adminpass

主要指标

概览
名称与所有者samhernandez/craftcms-filter-demo
主编程语言PHP
编程语言ApacheConf (语言数: 6)
平台
许可证
所有者活动
创建于2016-04-22 18:10:12
推送于2016-04-22 18:15:57
最后一次提交2016-04-22 13:15:52
发布数0
用户参与
星数15
关注者数3
派生数3
提交数13
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?