re,
Avec mes excuses pour le post dans le "module Tag", je pensais que dû à ma mauvaise manip, j'avais généré un problème de tag avec smarty php et ne savais pas trop où poster.
Merci, je vais comparer par rapport au gabarit NcleanBlue et CSS layout NcleanBlue d'origine :
Cependant je ne comprends pas la relation avec le CSS, peux tu m'expliquer, stp ?
Précision : quand j'interroge la table, je trouve :
Structure de la table `cms_templates_seq`
--
CREATE TABLE `cms_templates_seq` (
`id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `cms_templates_seq`
--
INSERT INTO `cms_templates_seq` VALUES (22);
Est ce normal ?
Et dans la base de données (ligne 3139, ligne générée en erreur dans le header)
a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\r\n"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">\r\n{* Changer lang="fr" par le langage de votre site *}\r\n\r\n{* note: anything inside these are smarty comments, they will not show up in the page source *}\r\n <head>\r\n{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}\r\n\r\n<title>{title} | {sitename}</title>\r\n{* {sitename} Le nom du site peut être changé dans Administration du site-Paramètres globaux. {title} est le nom de chaque page *}\r\n\r\n{metadata}\r\n{* Ne supprimer pas cela ! les Métadonnées sont changées dans Administration du site-Paramètres globaux. *}\r\n\r\n{stylesheet}\r\n{* This is how all the stylesheets attached to this template are linked to *}\r\n\r\n{cms_selflink lang=''fr'' dir="start" rellink=1}\r\n{cms_selflink lang=''fr'' dir="prev" rellink=1}\r\n{cms_selflink lang=''fr'' dir="next" rellink=1}\r\n{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}\r\n\r\n<!--[if IE 6]>\r\n<script type="text/javascript" src="modules/MenuManager/CSSMenu.js"></script>\r\n<![endif]-->\r\n{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}\r\n\r\n{* le code literal (entre crochets) entourant le code javascript, est nécessaire, pour éviter le message d''errreur Smarty *}\r\n{* IE6 png fix *}\r\n{literal}\r\n<!--[if IE 6]>\r\n<script type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></script>\r\n<script type="text/javascript">\r\n // argument is a CSS selector\r\n DD_belatedPNG.fix(''.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version'');\r\n</script>\r\n<style type="text/css">\r\n/* enable background image caching in IE6 */\r\nhtml {filter:expression(document.execCommand("BackgroundImageCache", false, true));} \r\n</style>\r\n<![endif]-->\r\n{/literal}\r\n\r\n </head>\r\n <body>\r\n <div id="ncleanblue">\r\n <div id="pagewrapper" class="core-wrap-960 core-center">\r\n{* start accessibility skip links *}\r\n <ul class="accessibility">\r\n <li>{anchor anchor=''menu_vert'' title=''Skip to navigation'' accesskey=''n'' text=''Skip to navigation''}</li>\r\n <li>{anchor anchor=''main'' title=''Skip to content'' accesskey=''s'' text=''Skip to content''}</li>\r\n </ul>\r\n{* end accessibility skip links *}\r\n <hr class="accessibility" />\r\n{* Horizontal ruler that is hidden for visual browsers by CSS *}\r\n\r\n{* Start Header, with logo image that links to the default start page *}\r\n <div id="header" class="util-clearfix">\r\n{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: NCleanBlue" *}\r\n <div id="logo" class="core-float-left">\r\n {cms_selflink lang=''fr'' dir="start" text="$sitename"}\r\n </div>\r\n \r\n{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button *}\r\n <div id="search" class="core-float-right">\r\n {search lang=''fr_FR'' submit=''OK'' search_method="post"}\r\n </div>\r\n{* End Search *}\r\n <span class="util-clearb"> </span>\r\n \r\n{* Start Navigation, style sheet "Layout: NCleanBlue", starting at Menu ROOT *}
http://www.montalier.fr/admin/edittempla...late_id=22\r\n <h2 class="accessibility util-clearb">Navigation</h2>\r\n{* anything class="accessibility" is hidden for visual browsers by CSS *}\r\n <div class="page-menu util-clearfix">\r\n {menu template=''cssmenu_ulshadow.tpl''}\r\n </div>\r\n <hr class="accessibility util-clearb" />\r\n{* End Navigation *}\r\n\r\n </div>\r\n{* End Header *}\r\n\r\n{* Start Content (Navigation and Content columns) *}\r\n <div id="content" class="util-clearfix"> \r\n\r\n{* Start Optional tag CMS Version Information, also is a good example how smarty works. *}\r\n \r\n<div title="CMS - {cms_version} - {cms_versionname}" id="version"> \r\n {capture assign=''cms_version''}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}\r\n </div> \r\n{* End Optional tag *}\r\n \r\n\r\n \r\n{* Start Bar *}\r\n <div id="bar" class="util-clearfix">\r\n{* Start Breadcrumbs, a bit of letting you know where your at *}\r\n <div class="breadcrumbs core-float-right">\r\n {breadcrumbs starttext=''Ici '' root=''Home'' delimiter=''»''}\r\n </div>\r\n{* End Breadcrumbs *}\r\n\r\n <hr class="accessibility util-clearb" />\r\n </div>\r\n{* End Bar *}\r\n\r\n{* Start left side *}\r\n <div id="left" class="core-float-left">\r\n <div class="sbar-top">\r\n <h2 class="sbar-title">News</h2>\r\n </div>\r\n <div class="sbar-main">\r\n{* Start News *}\r\n <div id="news">\r\n {news number=''3'' detailpage=''news'' lang=''fr_FR''}\r\n </div>\r\n <img class="screen" src="uploads/NCleanBlue/screen-1.6.jpg" width="139" height="142" title="CMS - {cms_version} - {cms_versionname}" alt="CMS - {cms_version} - {cms_versionname}" />\r\n{* End News *} \r\n </div>\r\n <span class="sbar-bottom"> </span> \r\n </div>\r\n{* End left side *}\r\n\r\n{* Start Content Area, right side *}\r\n <div id="main" class="core-float-right">\r\n\r\n{* main top, holds top image and print image *}\r\n <div class="main-top">\r\n <div class="print core-float-right">\r\n {print showbutton=true}\r\n </div>\r\n </div> \r\n \r\n{* main content *}\r\n <div class="main-main util-clearfix">\r\n <h1 class="title">{title}</h1>\r\n {content}\r\n </div>\r\n \r\n{* Start main bottom and relational links *}\r\n <div class="main-bottom">\r\n <div class="right49 core-float-right">\r\n {anchor anchor=''main'' text=''^ Top''}\r\n </div>\r\n <div class="left49 core-float-left">\r\n <span>\r\n {cms_selflink lang=''fr'' dir="previous" } \r\n{* The label parameter doesn''t need to be there if you''re using English, but is here to show how it''s used if you don''t want the English text "Previous page" *}\r\n </span>\r\n <span>\r\n {cms_selflink lang=''fr'' dir="next"} \r\n </span>\r\n </div>\r\n{* End relational links *}\r\n\r\n <hr class="accessibility" />\r\n </div>\r\n{* End main bottom *}\r\n\r\n </div>\r\n{* End Content Area, right side *}\r\n\r\n </div>\r\n{* End Content *}\r\n\r\n </div>\r\n{* end pagewrapper *}\r\n <span class="util-clearb"> </span>\r\n \r\n{* Start Footer *}\r\n <div id="footer-wrapper">\r\n <div id="footer" class="core-wrap-960">\r\n{* first foot menu *}\r\n <div class="block core-float-left">\r\n {menu template=''minimal_menu.tpl'' number_of_levels=''1''}\r\n </div>\r\n \r\n{* second foot menu if active page has children *}\r\n <div class="block core-float-left">\r\n {menu template=''minimal_menu.tpl'' start_level="2"}\r\n </div>\r\n \r\n{* edit the footer in the Global Content Block called "footer" *}\r\n <div class="block cms core-float-left">\r\n {global_content name=''footer''}\r\n </div>\r\n \r\n <span class="util-clearb"> </span>\r\n </div>\r\n </div>\r\n{* End Footer *}\r\n </div>\r\n{* End Div *}\r\n </body>\r\n</html>', '', '', 1, 1, '2009-05-06 14:20:10', '2010-01-17 00:35:47');
Pour la version php, cela provient , je crois, de Xampplite que j'ai installé et pas souvent mis à jour.
J'aurais, tu as raison, mieux fait d'installer Xampp. Mais je ne sais pas si je peux le faire à présent sans risquer d'interaction sur ma base actuelle.
Merci pour ta réponse, je vais comparer...