Hi,
I try to create a comment system with Seblod like that.
To display my article's content, I create a custom position in Seb One Template with some tabs :
<?php
// No Direct Access
defined( '_JEXEC' ) or die;
$doc =& JFactory::getDocument();
$doc->addStyleSheet(juri::base()."templates/seb_one/css/tabs.css");
$doc->addScript(juri::base()."templates/seb_one/js/tabs.js");
?>
<?php echo $cck->renderField('art_title');?>
<div class="tabs">
<ul class="tabNavigation">
<li><a href="#tab1">Informations</a></li>
<li><a href="#tab2">Présentation</a></li>
<li><a href="#tab3">Images</a></li>
</ul>
<div id="tab1">
<?php echo $cck->renderField('chaine');?>
<?php echo $cck->renderField('auteurs');?>
<?php echo $cck->renderField('categorie_chaine');?>
<?php echo $cck->renderField('date_de_creation_chaine');?>
<?php echo $cck->renderField('site_web');?>
<?php echo $cck->renderField('description_chaine');?>
<?php echo $cck->renderField('note');?>
</div>
<div id="tab2">
<?php echo $cck->renderField('texte_contenu');?>
<?php echo $cck->renderField('commentaires_module');?>
</div>
<div id="tab3">
<?php echo $cck->renderField('image_contenu');?>
</div>
</div>
I would like to display my Seblod Comments in tab2. So in my article's content, I create a Joomla Module Field called 'commentaires_module'.
In my custom template, I use : <?php echo $cck->renderField('commentaires_module');?>
This field need to display my form comments module.
But it doesn't work. It display only the label of my Joomla Module field and not the site form to post comments.
I hope you understand my problem. Sorry for my english.