Hello Alby and thanks for your reply,
Since i've not been myself making this website, i'm a bit lost in your explainations...
You're telling me that there is probably no "{content}" block in the HomePage template... You're right, i've been looking for it and it clearly doesn't appear anywhere. However, the page's content is only containing "{content}".
Here is how the HomePage template (Named "Home") body part looks like:
Code: Select all
</__body>
<div id="wrap">
<!-- start accessibility skip links -->
<ul class="accessibility">
<li><a href="#menu_vert" accesskey="s" title="Skip to navigation">Skip to navigation</a></li>
<li><a href="#main">Skip to content</a></li>
</ul>
<!-- end accessibility skip links -->
<!-- Start Header, with logo image that links to the default start page -->
<div id="header">
<a href="./"><img src="uploads/images/site/bandeaux/{title}.jpg" alt="" /></a>{cms_module module='menumanager' template='cssmenu-accessible.tpl'}
</div>
<!-- End Header -->
<!-- Start Horizontal Navigation -->
<!-- Emplacement du menu -->
<!-- End Horizontal Navigation -->
<!-- Start Content (Navigation and Content columns) -->
<div id="content" class="clearfix">
<!-- Start Content Area -->
<div id="main">
<div id="partie_haute">
<div id="gauche">
<div id="gauche_haut">
{news number='1' category='petit_encart' detailpage='article---details' moretext='Plus...'}
</div>
<div id="gauche_bas">
<div id="carte">
<h2 class="accessibility">Carte</h2>
<img id="imageCarte" style="width: 170px;" src="uploads/images/site/pages/accueil/carte/0.jpeg" onclick="javascript:carte();" alt="Carte" title="Cliquez pour changer la carte." /><br />Cliquez pour changer la carte.<br />
</div>
</div>
</div>
<div id="centre">
<table cellpadding="0" cellspacing="0" style="float: left;">
<tr style="height: 14px;">
<td colspan="2" style="background-image: url('uploads/images/site/bordures/accueil/new_bas/haut.png'); background-repeat: repeat-x;"><img src="uploads/images/site/bordures/accueil/new_bas/haut_gauche.png" style="float: left; vertical-align: top" alt="" /></td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_bas/haut_droite.png'); background-repeat: no-repeat;"></td>
</tr>
<tr>
<td style="vertical-align: bottom;"><img style="vertical-align: bottom;" src="uploads/images/site/bordures/accueil/new_bas/gauche.png" alt="" /></td>
<td>
<div id="news1">
<!-- First news, top center -->
{news number='1' category='grand_encart' detailpage='article---details' moretext='Plus...'}
</div>
</td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_bas/droite.png'); background-repeat: repeat-y;"> </td>
</tr>
<tr style="height: 14px;">
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_bas/bas_gauche.png'); background-repeat: no-repeat; bottom: 1em;"></td>
<td style="background-image: url('uploads/images/site/bordures/accueil/new_bas/bas.png'); background-repeat: repeat-x;"> </td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_bas/bas_droite.png'); background-repeat: no-repeat;"></td>
</tr>
</table>
<div id="logos">
<a href=""><img src="uploads/images/site/logos/pnrpl.png" alt="" /></a>
<a href="http://poleexperimentalmetiersda.typepad.com/"><img src="uploads/images/site/logos/peman.png" alt="" /></a>
<a href="http://www.perigord-nontronnais.com/index.php"><img src="uploads/images/site/logos/ccpn.png" alt="" /></a>
<a href="http://www.dordogne-perigord-tourisme.fr/"><img src="uploads/images/site/logos/cdtd.png" alt="" /></a>
<a href="http://www.vma.asso.fr/"><img src="uploads/images/site/logos/vma.png" alt="" /></a>
<a href="http://www.stationsvertes.com"><img src="uploads/images/site/logos/StationVerte_logo.jpg" alt="" /></a>
<div class="spacer"></div>
</div>
</div>
<div id="droite">
<div id="droite_haut" style="z-index: 0;">
<div id="flashcontent">
<__script__ type="text/javascript">
var so = new SWFObject("uploads/images/site/pages/accueil/slider/slider.swf?xml=uploads/images/site/pages/accueil/slider/slider.xml", "slider", "250", "166", "7", "#ffffff");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</__script>
</div>
</div>
<div id="droite_bas">
<table cellpadding="0" cellspacing="0" style="float: left;">
<tr style="height: 14px;">
<td colspan="2" style="background-image: url('uploads/images/site/bordures/accueil/new_haut/haut.png'); background-repeat: repeat-x;"><img src="uploads/images/site/bordures/accueil/new_haut/haut_gauche.png" style="float: left; vertical-align: top" alt="" /></td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_haut/haut_droite.png'); background-repeat: no-repeat;"></td>
</tr>
<tr>
<td style="vertical-align: bottom;"><img style="vertical-align: bottom;" src="uploads/images/site/bordures/accueil/new_haut/gauche.png" alt="" /></td>
<td>
<div id="agenda">
<!-- Second news, middle left -->
{cms_module module="Calendar" display="upcominglist" date_format="%d %m" detail="0" limit=15 }
<p style="text-align: center;">[<a href="index.php?page=agenda">Plus...</a>]</p>
</div>
<div class="spacer"></div>
</td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_haut/droite.png'); background-repeat: repeat-y;"> </td>
</tr>
<tr style="height: 14px;">
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_haut/bas_gauche.png'); background-repeat: no-repeat; bottom: 1em;"></td>
<td style="background-image: url('uploads/images/site/bordures/accueil/new_haut/bas.png'); background-repeat: repeat-x;"> </td>
<td style="width: 14px; background-image: url('uploads/images/site/bordures/accueil/new_haut/bas_droite.png'); background-repeat: no-repeat;"></td>
</tr>
</table>
</div>
</div>
<div class="spacer"></div>
</div>
</div>
<!-- End Content Area -->
</div>
<!-- Start Footer -->
<div id="footer" class="clearfix">
{global_content name='footer'}
</div>
<!-- End Footer -->
</div>
<!-- end wrap -->
About the calendar page, i've no idea what's the reason of this missbehavior. Again, everything was just working fine before the update... How can i know wether the calendar tables have been messed up in the database? Or maybe, should i uninstall the calendar module, delete the tables by hand in database, and install the module to get a fresh start with it?
For the very last problem, you're telling me to look at the Menu Manager, looking for an entity named "nodelist". However, when i go in the Menu Manager, there are no database templates, only file based templates (2nd tab). Since in the "Home" template, there is this line:
Code: Select all
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
i believe i have too look at the file named "cssmenu.tpl". Is that right?
Below is the content of this file:
Code: Select all
{* CSS classes used in this template:
#menuwrapper - The id for the <div> that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the <ul>
.menuparent - The class for each <li> that has children.
.menuactive - The class for each <li> that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
<div id="menuwrapper">
<ul id="primary-nav">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
<li class="menuactive menuparent"><a class="menuactive menuparent"
{elseif $node->current == true}
<li class="menuactive"><a class="menuactive"
{elseif $node->haschildren == true}
<li class="menuparent"><a class="menuparent"
{elseif $node->type == 'sectionheader'}
<li class="sectionheader"><span> {$node->menutext} </span>
{elseif $node->type == 'separator'}
<li style="list-style-type: none;"> <hr class="separator" />
{else}
<li><a
{/if}
{if $node->type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{elseif $node->type == 'sectionheader'}
><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1} </li>
</ul>
<div class="clearb"></div>
</div>
{/if}
And as you can see, the $nodelist var is already iterated here:
Code: Select all
{foreach from=$nodelist item=node}
Thanks a lot for your time!
Pierre.