Wiki Plume Community : ArtPageContentAll

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-01-22 06:05:57 by LuigiBrosse [[spam]]

Additions:

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :


Deletions:
aclaeltacac
cnorel

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :




Edited on 2007-11-26 19:36:43 by PastrMonca

Additions:
aclaeltacac

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :


Deletions:

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :




Edited on 2007-11-15 19:44:16 by GetroVic4t

Additions:
cnorel

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :


Deletions:

FR Afficher tous les chapitres à la suite

Insérer cette fonction dans manager/frontinc/functions.php :




Edited on 2006-01-25 13:33:44 by SebastienFievet [Ajout de l'indentation]

Additions:
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}


Deletions:
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}




Edited on 2006-01-25 13:33:08 by SebastienFievet [Ajout d'une accolade fermante délimitant la fin de la fonction]

Additions:
}
}




Oldest known version of this page was edited on 2005-04-15 01:21:54 by ClaireRoubey [nouvelle fonction : pxArtPageContentAll]
Page view:

EN 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();
}



FR 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();
}
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.1
Page was generated in 0.4672 seconds