I'm not interested in joining the developer community but I enclose the following short change.
The change means that a page that includes the blog will not be overwhelmed by long blog posts.
1) Add a new global pagevars member "blogmaxlines" with default value 9
2) in blogout() approx line 390 change
// original line $raw=implode("", $filem );
$raw=implode("", (count($filem)>$pagevars["blogmaxlines"])?array_slice($filem,0,$pagevars["blogmaxlines"]) :$filem );
and then a few lines later
// original line $content .=$raw;
$content .=$raw.((count($filem)>$pagevars["blogmaxlines"])?" <a href=\"index.php?$wiki_get=$page\">(more...)</a>":'');
PS similar changes (but remove the A href=) can be made in approx line 702 to do the same thing for the RSS feeds
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.