phpwax/wildfire.sitemap 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phpwax/wildfire.sitemap

最新稳定版本:7.1

Composer 安装命令:

composer require phpwax/wildfire.sitemap

包简介

README 文档

README

Provide xml sitemap and html helpers

First, make a Sitemap page at the top level of the cms (so these work)

you can now hit $_SERVER['HTTP_HOST']/sitemap.xml and you'll get a sitemap

if you want to make a html version there is a built in helper:

<?=partial("__sitemap", array('filters'=>$filters, "scope"=>$cms_live_scope, 'nodes'=>false, 'change'=>"monthly", 'model'=> new $cms_content_class))?>

$filters are applied to the model and children calls and should be in this form:

$filters = array(
              array('col'=>"column name", 'val'=>"value", 'operator'=> "= / != etc");
              );
              
$scope is a model scope ("live" etc)

统计信息

  • 总下载量: 266
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-02-05