Hi!
I have put this project of mine to the side, but now I want to move on.
Like you said, CMC fields are there.
But if I called them separately like this
<?php echo $this->form->getLabel('cmc_newsletter'); ?>
and
<?php echo $this->form->getInput('cmc_listid'); ?>
they aren't displayed.
I saw a little difference in field rendering between Joomla core fields and CMC fields when using default registration:
Joomla fields are rendered like
<input type="text" name="jform[city]" id="jform_city" value="" class="required" size="30"/>
and then I call them like this:
<?php echo $this->form->getLabel('city'); ?>
But CMC fields have additional value [cmc] inside name tag:
<input type="checkbox" name="jform[cmc][newsletter]" id="jform_cmc_newsletter" value="1" class="inputbox cmc-checkboxes cmc-checkbox-subscribe">
Is this the reason why these fields aren't displayed if I call them the way I did?
What am I missing?