Les avertissements suivants se sont produits :
Warning [2] Undefined array key 0 - Line: 1640 - File: showthread.php PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1640 errorHandler->error_callback
/showthread.php 915 buildtree




Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Intégrer un forum phpBB 3.0.5 et inférieur dans un site cmsms
#34
a ce gabarit forum , j'ai lié les css suivantes :
accessibility et cross-browser tools
Navigation CSS menu-horizontal
Forum Made simple2.



voici aussi l'edit de mon fichier cms.php sous BB

<?php
$baseSite = "http://www.castillon-karate-do.fr/";
$local = "http://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
$local = substr($local, 0, strrpos($local,'/') + 1);
$content = file_get_contents($baseSite."index.php?page=forumBB");
$content = str_replace("<base href=\"".$baseSite."\" />", "<base href=\"".$local."\" />", $content);

list($tag1, $tag2, $tag3, $tag4) = split ("<SEPARATOR>", $content , 4);
$template->assign_vars(array(
'TAG_CMS_META' => $tag1,
'TAG_CMS_CSS' => $tag2,
'TAG_CMS_HEADER' => $tag3,
'TAG_CMS_FOOTER' => $tag4));
?>
Répondre


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)