2
Hi,
It didn't work for me.
In DB%3ANewsArticle.html I found this code:
<div style="text-align: center; padding: 0px;
margin-top:3px;">
<?php echo $this->_tpl_vars['commentsnav']; ?>
<?php echo $this->_tpl_vars['lang_notice']; ?>
</div>
<div style="margin-top:3px; padding: 0px;">
<!-- start comments loop -->
<?php if ($this->_tpl_vars['comment_mode'] == 'flat'): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("db:system_comments_flat.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php elseif ($this->_tpl_vars['comment_mode'] == 'thread'): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("db:system_comments_thread.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php elseif ($this->_tpl_vars['comment_mode'] == 'nest'): ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include("db:system_comments_nest.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php endif; ?>
<!-- end comments loop -->
</div>
When I placed the code around this section, all I saw, was that my code was visible on the page!
Sorry, I'm not a PHP/Xoops expert. Am I doing something wrong?
Jakob