News Manager 2.5
beta 18 attached to this post. (
alternative download)
[note for Dutch users: there's a bug in the nl_NL language file,
see here]
Changes:
- new conditional function
nm_post_has_tag: checks if single post has any tag or a certain tag
- conditional function
nm_is_tag() now can be passed a parameter to check if it's a certain tag's page, not
only if it's a tag page.
- custom date format for sidebar archives: redefinable strings MONTHLY_FORMAT, YEARLY_FORMAT (either in custom settings or in gsconfig) using the strftime format
- newspage dropdown selector: index now displayed on top in the list; and you can have no news page selected (that is, disabled)
- new custom setting
tagpagination to enable tag page pagination like in the main news page. Can be enabled with
tagpagination d (default, dynamic) or
tagpagination f (fancy or folder-style, requires adding a rewriterule in .htaccess)
- ... and some fixes
I've added a new string to the language files:
Code:
"NO_PAGE_SELECTED" => "No page selected",
It is displayed under the newspage selector in settings when no page is selected.
Translations for this would be appreciated.
I've also added these two that use the strftime format:
Code:
"MONTHLY_FORMAT" => "%B %Y",
"YEARLY_FORMAT" => "%Y"
They are used for the sidebar archives. If someone thinks any of these (the first one, I suppose) is not correct for some language, please tell me.
More info:
- Documentation (draft) for new features etc:
http://www.cyberiada.org/cnb/news-manager-b/
- Previous betas:
http://get-simple.info/forums/showthread...4#pid43174
As always, feedback is much appreciated.
PS I'm probably going to bump the version from 2.5 up to 3.0
[attachment removed: news_manager-2.5-beta18.zip (Size: 73.82 KB / Downloads: 14) ]