ri.yearlist.ee_addon
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:ExpressionEngine plugin for listing out the years of entries in a weblog.
h1. RI YearList EE Plugin

The Year Listing plugin is a simple way to return a list of years in which there are entries in a weblog.

For better markup control, the {count} and {total_results} variables can be used, exactly the same way as in {weblog:entries} tag.

Example usage:

{exp:yearlist weblog="yourWeblog" category="1"}

	{year}

{/exp:yearlist}
    {exp:yearlist weblog="yourWeblog" category="1"} {year} {/exp:yearlist}
That will return an array of years. Use {year} to print them to the screen and wrap in any markup needed. There are currently no linebreaks or HTML associated with this plugin. The category parameter is optional and if you leave it out, the plugin will search across all categories. This plugin will only work on ExpressionEngine 1.6.8. I also have "YearList 2.0":http://github.com/ryanirelan/ri.yearlist.ee_addon.2.0 available for ExpressionEngine 2.0.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。