Carnet Wiki

PortageV2

Version 1 — Janvier 2009 JLuc

Trucs utiles pour le portage d’un plugin d’une version de SPIP < V2 vers la V2

debut_page

pour thelia il a fallu remplacer :

debut_page(_T("spip_thelia:catalogue_thelia"), "Catalogue T&eacute;lia", "Catalogue T&eacute;lia");

par

$commencer_page = charger_fonction('commencer_page', 'inc');
echo $commencer_page(_T("spip_thelia:catalogue_thelia"),_T("spip_thelia:catalogue_thelia"),_T("spip_thelia:catalogue_thelia"));