Display the content of every article page
Insert this function in
manager/frontinc/functions.php :
/**
Display the content of every article page.
@proto function pxArtPageContentAll
@param string s Substitution string for the page_title ('%s')
*/
function pxArtPageContentAll
($s =
'%s')
{
while (!
$GLOBALS['_PX_render']['m']->
art->
pages->
EOF()) {
echo sprintf($s,
$GLOBALS['_PX_render']['m']->
art->
pages->
f('page_title'));
echo textParseContent
($GLOBALS['_PX_render']['m']->
art->
pages->
f('page_content'));
$GLOBALS['_PX_render']['m']->
art->
pages->
moveNext();
}
}
Afficher tous les chapitres à la suite
Insérer cette fonction dans
manager/frontinc/functions.php :
/**
Display the content of every article page.
@proto function pxArtPageContentAll
@param string s Substitution string for the page_title ('%s')
*/
function pxArtPageContentAll
($s =
'%s')
{
while (!
$GLOBALS['_PX_render']['m']->
art->
pages->
EOF()) {
echo sprintf($s,
$GLOBALS['_PX_render']['m']->
art->
pages->
f('page_title'));
echo textParseContent
($GLOBALS['_PX_render']['m']->
art->
pages->
f('page_content'));
$GLOBALS['_PX_render']['m']->
art->
pages->
moveNext();
}
}