Last updated: 2006-01-09 22:00
Description
The chh_article_custom plugin is an enhanced replacement for txp:article_custom and txp:article, offering features like context-sensitive operation, support for multiple categories/sections, hierarchical category searching, and advanced date/time selection.
This plugin provides two tags, chh_article_custom and chh_article. The latter makes available all of the attributes of the former and enables some features more akin to txp:article, namely support for paging, searches, and frontpage filtering.
Download
This plugin requires the chh_article_lib library plugin, version 1.04 or greater, to be installed and enabled.
Discussion / Bug Reports
Please post all comments, suggestions, and bug reports to the chh_article_custom thread in the Txp Support Forum.
Caveats
- Version 1.0+ is not backward-compatible with 0.4x.
- Version 1.0+ requires Txp 4.0+
- Some features require MySQL version 4.1.1 or greater.
Changelog
1.15 (2006-02-05)
- Fixed custom-fields-as-attributes (again).
1.14 (2006-01-16)
- Restored default search form broken by 1.12.
1.13 (2006-01-15)
- Fixed paging, also broken by code split. sigh
1.12 (2006-01-15)
- Fixed attribute handling broken by code split.
1.11 (2006-01-12)
Fixed undefined limit warning.
1.10 (2006-01-09)
- Added chh_article tag
- Added searchsticky attribute
- Added searchmode attribute to select Txp standard, MySQL natural, or MySQL boolean search.
- Fixed partially broken custom-fields-as-attributes feature.
- Enabled strict keyword searching for keywords and custom fields.
- Added advanced date/time selection with time, month, and day attributes.
1.03 (2005-12-27)
- Added SmartTitle sorting to ignore leading articles in titles.
1.02 (2005-12-09)
- Compatability fix for Txp 4.0.0 & 4.0.1 (numRows).
1.01 (2005-12-01)
- Had a change of heart and replaced category name munging. Keep it on the down-low.
1.0 (2005-11-30)
- Everything scrapped to begin anew.
0.41 (2004-08-06)
- Added allowoverride attribute.
0.40 (2004-06-28)
- Added customized comments display and live preview.
- Added optional comment hiding.
- Added chh_flipflop tag.
0.33 (2004-06-22)
- Added article exiration dates.
- Included help now = attribute reference.
0.32 (2004-06-19)
- Fixed 2-category/empty-category bug.
- Added status and upcoming articles support.
- Added offset attribute.
- Miscellaneous refactoring
0.31 (2004-06-19)
- Added txp:older/txp:newer support.
- Moved caching from global to static.
0.3 (2004-06-17)
- Initial public release
Acknowledgements
The starting point for this plugin was Michael Manfre’s mem_article_custom. Things quickly got out of hand.
License
This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.