2011-05-18, 22:53:34
Hello Roog,
My news template code :
It's the same as template.php but I add show_articles().
When I display a "normal" page (contact, index, etc...) which use template.php, all work. When I display news page, the sidebar don't appear.
Firebug with a page (you see the sidebar div) :
Firebug with news template (sidebar div is not here) :
My news template code :
Code:
<div id="container">
<div id="content">
<?php get_page_content(); ?>
<?php show_articles(); ?>
</div>
<div id="sidebar">
<?php get_component('sidebar'); ?>
</div>
</div>
It's the same as template.php but I add show_articles().
When I display a "normal" page (contact, index, etc...) which use template.php, all work. When I display news page, the sidebar don't appear.
Firebug with a page (you see the sidebar div) :
Firebug with news template (sidebar div is not here) :