2014-03-10, 05:56:27
News Manager 2.5 beta 17 attached to this post.
- New optional NMNOSITEMAP setting, to be used in gsconfig.php. If you don't want posts to be included in sitemap.xml (by default they are, since beta 16),
- New more custom setting (0 or 1) (@TeeJay and others)
-- If more enabled (and it's not a single post page), post content will be cut at <hr (<hr>, <hr />, ...)
-- If the string "<hr" is not present, the usual stripped excerpt or full content is shown (depending on FullText/Excerpt selection or excerpt custom setting)
To enable, enter this in Custom settings:
- Changed excerpt custom setting (now can only be 0 or 1; if you were using "readmore" or "forcereadmore" values, see below)
- New readmore custom setting (0, 1 or a[lways])
- New experimental feature: custom URL parameters/prefixes (suggested by @emanwebdev)
You can redefine the post, page, tag and archive parameters used in NM URLs, via gsconfig settings NMPARAMPOST, NMPARAMPAGE, NMPARAMTAG and NMPARAMARCHIVE.
Example:
A single post URL will then be ?article=this-is-a-title instead of ?post=this-is-a-title (or /article/this-is-a-title with NM fancy URLs enabled)
To make it work with NM fancy URLs you must edit your .htaccess accordingly, for example:
- Fixed newspage dropdown selector (settings): now slugs are sorted alphabetically, and private pages can also be selected
- Fixed excerpt length issues with unicode characters
- Updated/completed French translation (@emanwebdev)
Please report any issues you find.
[for previous beta versions: http://get-simple.info/forums/showthread...4#pid43174 ]
[attachment removed: news_manager-2.5-beta17.zip (Size: 72.47 KB / Downloads: 25) ]
- New optional NMNOSITEMAP setting, to be used in gsconfig.php. If you don't want posts to be included in sitemap.xml (by default they are, since beta 16),
Code:
define('NMNOSITEMAP', true);
- New more custom setting (0 or 1) (@TeeJay and others)
-- If more enabled (and it's not a single post page), post content will be cut at <hr (<hr>, <hr />, ...)
-- If the string "<hr" is not present, the usual stripped excerpt or full content is shown (depending on FullText/Excerpt selection or excerpt custom setting)
To enable, enter this in Custom settings:
Code:
more 1
- Changed excerpt custom setting (now can only be 0 or 1; if you were using "readmore" or "forcereadmore" values, see below)
- New readmore custom setting (0, 1 or a[lways])
- New experimental feature: custom URL parameters/prefixes (suggested by @emanwebdev)
You can redefine the post, page, tag and archive parameters used in NM URLs, via gsconfig settings NMPARAMPOST, NMPARAMPAGE, NMPARAMTAG and NMPARAMARCHIVE.
Example:
Code:
define('NMPARAMPOST', 'article');
To make it work with NM fancy URLs you must edit your .htaccess accordingly, for example:
Code:
RewriteRule ^newspage/article/([^/.]+)/?$ index.php?id=newspage&article=$1 [L]
- Fixed newspage dropdown selector (settings): now slugs are sorted alphabetically, and private pages can also be selected
- Fixed excerpt length issues with unicode characters
- Updated/completed French translation (@emanwebdev)
Please report any issues you find.
[for previous beta versions: http://get-simple.info/forums/showthread...4#pid43174 ]
[attachment removed: news_manager-2.5-beta17.zip (Size: 72.47 KB / Downloads: 25) ]