Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Erreur d'affichage du bloc de texte suite suppression
#1
Citation :#~~~~~ NE PAS SUPPRIMER CE BLOC ~~~~~
#~ Version du CMS : 1.7.0
#~ Version du MLE si existante :
#~ Informations Système :
#~ ----------------------------------------------
#~ Cms Version: 1.7
#~ Installed Modules:
#~ * CMSMailer: 1.73.14
#~ * FileManager: 1.0.2
#~ * MenuManager: 1.6.2
#~ * ModuleManager: 1.3.3
#~ * News: 2.10.4
#~ * nuSOAP: 1.0.1
#~ * ThemeManager: 1.1.1
#~ * TinyMCE: 2.6.5
#~ Config Information:
#~ * php_memory_limit:
#~ * process_whole_template: false
#~ * max_upload_size: 2000000
#~ * default_upload_permission: 664
#~ * assume_mod_rewrite: false
#~ * page_extension:
#~ * internal_pretty_urls: false
#~ * use_hierarchy: true
#~ Php Information:
#~ * phpversion: 5.2.6-1+lenny8
#~ * md5_function: On (Vrai)
#~ * gd_version: 2
#~ * tempnam_function: On (Vrai)
#~ * magic_quotes_runtime: Off (Faux)
#~ * E_STRICT: 0
#~ * memory_limit: 128M
#~ * max_execution_time: 30
#~ * safe_mode: Off (Faux)
#~ * session_save_path: /var/lib/php5 (1733)
#~ * session_use_cookies: On (Vrai)
#~ Server Information:
#~ * Server Api: apache2handler
#~ * Server Db Type: MySQL (mysql)
#~ * Server Db Version: 5.0.51a
#~ ----------------------------------------------
#~~~~~ NE PAS SUPPRIMER CE BLOC ~~~~~
Bonjour à tous,
D'abord merci pour l'aide que vous pourrez m'apporter,
j'ai supprimé le bloc news de la page et effectivement il a bien disparu, le problème c'est que j'ai cherché toute la nuit comment faire, mais je souhaiterais que le bloc de texte (ou s'affiche le contenu principal), s'affiche sur toute la page, et ne reste pas que sur le côté droit.

[Image: menugauche.jpg]

Template :
Citation :{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
{* Changer lang="fr" par le langage de votre site *}

{* note: anything inside these are smarty comments, they will not show up in the page source *}
<head>
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}

<title>{sitename}</title>
{* {sitename} Le nom du site peut être changé dans Administration du site-Paramètres globaux. {title} est le nom de chaque page *}

{metadata}
{* Ne supprimer pas cela ! les Métadonnées sont changées dans Administration du site-Paramètres globaux. *}

{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}

{cms_selflink lang='fr' dir="start" rellink=1}
{cms_selflink lang='fr' dir="prev" rellink=1}
{cms_selflink lang='fr' dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}

<!--[if IE 6]>
<script type="text/javascript" src="modules/MenuManager/CSSMenu.js"></script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}

{* le code literal (entre crochets) entourant le code javascript, est nécessaire, pour éviter le message d'errreur Smarty *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<script type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></script>
<script type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
{/literal}

</head>
<body>
<div id="ncleanblue">
<div id="pagewrapper" class="core-wrap-960 core-center">
{* start accessibility skip links *}
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
{* end accessibility skip links *}
<hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *}

{* Start Header, with logo image that links to the default start page *}
<div id="header" class="util-clearfix">
{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: NCleanBlue" *}
<div id="logo" class="core-float-left">
{cms_selflink lang='fr' dir="start" text="$sitename"}
</div>

{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button *}
<div id="search" class="core-float-right">
{search lang='fr_FR' submit='OK' search_method="post"}
</div>
{* End Search *}
<span class="util-clearb"> </span>

{* Start Navigation, style sheet "Layout: NCleanBlue", starting at Menu ROOT *}
<h2 class="accessibility util-clearb">Navigation</h2>
{* anything class="accessibility" is hidden for visual browsers by CSS *}
<div class="page-menu util-clearfix">
{menu template='cssmenu_ulshadow.tpl'}
</div>
<hr class="accessibility util-clearb" />
{* End Navigation *}

</div>
{* End Header *}

{* Start Content (Navigation and Content columns) *}
<div id="content" class="util-clearfix">

{* Start Optional tag CMS Version Information, also is a good example how smarty works. *}

{* End Optional tag *}

{* Start Bar *}
<div id="bar" class="util-clearfix">
{* Start Breadcrumbs, a bit of letting you know where your at *}
<div class="breadcrumbs core-float-right">
{breadcrumbs starttext='Ici ' root='Home' delimiter='»'}
</div>
{* End Breadcrumbs *}

<hr class="accessibility util-clearb" />
</div>
{* End Bar *}

{* Start left side *}
{* End left side *}

{* Start Content Area, right side *}
<div id="main" class="core-float-right">

{* main top, holds top image and print image *}
<div class="main-top">
<div class="print core-float-right">
{print showbutton=true}
</div>
</div>

{* main content *}
<div class="main-main util-clearfix">
<h1 class="title">{title}</h1>
{content}
</div>
{* Start main bottom and relational links *}
<div class="main-bottom">
<div class="left49 core-float-left">
<span>
{cms_selflink lang='fr' dir="previous" } 
{* 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" *}
</span>
<span>
{cms_selflink lang='fr' dir="next"} 
</span>
</div>
{* End relational links *}

<hr class="accessibility" />
</div>
{* End main bottom *}

</div>
{* End Content Area, right side *}

</div>
{* End Content *}

</div>
{* end pagewrapper *}
<span class="util-clearb"> </span>

{* Start Footer *}
<div id="footer-wrapper">
<div id="footer" class="core-wrap-960">
{* first foot menu *}
<div class="block core-float-left">
{menu template='minimal_menu.tpl' number_of_levels='1'}
</div>

{* second foot menu if active page has children *}
<div class="block core-float-left">
{menu template='minimal_menu.tpl' start_level="2"}
</div>

{* edit the footer in the Global Content Block called "footer" *}
<div class="block cms core-float-left">
{global_content name='footer'}
</div>

<span class="util-clearb"> </span>
</div>
</div>
{* End Footer *}
</div>
{* End Div *}
</body>
</html>
Merci beaucoup
Endorphine
Répondre
#2
Bonjour,

Cherche plutôt du côté CSS ^^
Répondre
#3
Bonjour,

J'ai beau regarder dans le CSS et tenter de modifier tout les width que je trouve dans des items tels que "main", ca ne fait au contraire que casser le design.

Quelques indices supplémentaires s'il vous plaît ?

Merci Smile
Endorphine
Répondre
#4
re,

Hé oui il faut un minimum de connaissances
http://wiki.cmsmadesimple.org/index.php/...rements/fr
Tu dois modifier le gabarit ET le CSS
Utilise Firefox et l'extension Web developer pour afficher les éléments à supprimer ou modifier
J-C Etiemble Tutoriels v 2.2.x
Répondre


Atteindre :


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