27
Hi Limecity,
I have Soapbox Vs: 1.5RC3
The original code of my article.php is different:
[Line64] // includes code by toshimitsu Pagebreak
if ( trim($bodytext) != '' )
{
$articletext = explode("[pagebreak]", $bodytext);
$story_pages = count($articletext);
if ($story_pages > 1)
{
include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
$pagenav = new XoopsPageNav($story_pages, 1, $storypage, 'page', 'articleID='.$articleID);
$xoopsTpl->assign('pagenav', $pagenav->renderNav());
if ($storypage == 0)
{
$templead = cleanTags($story['lead']);
$story['bodytext'] = $templead.'
'.$myts->displayTarea($bodytext, $html, $smiley, $xcodes, 1, $breaks);
}
else
{
$story['bodytext'] = $myts->displayTarea($bodytext, $html, $smiley, $xcodes, 1, $breaks);
}
}
else
{
$templead = cleanTags($story['lead']);
$story['bodytext'] = $templead.'
'.$myts->displayTarea($bodytext, $html, $smiley, $xcodes, 1, $breaks);
}
[Line91] }
Although I change line67 into the provided 'bug fix' pagebreak code, pagebreak still doesn't work.
Grtz., Shine