[SOLVED] Custom Listing not showing results

georges999 03 Dec, 2013
I have been following the old documentation on ChronoConnectivity and trying to make a custom layout.

I have got as far as adding a header and body and footer, but cannot get it to return my results!

The field names on my ChronoForms are "name_of_signee", "email_of_signee" and "mobile_of_signee". Now I only want to display the name of the individual. So my code for the Custom Layout is as follows:

Header Code
<?php
$style = "";
$style .= "
table.cf_listing {
margin-bottom: 12px;
width: 100%;
}
";
if ( $style) {
$doc =& JFactory::getDocument();
$doc->addStyleDeclaration($style);
}
?>
<h2>Supporters Of The Georges Petition</h2>
<table class='cf_listing'>
<thead>
<tr>
<th></th><th>Name</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan='2' style='height:4px; background:silver;'></td>
</tr>
</tfoot>
<tbody>


Body Code
<tr><td><?php global $count; echo $count++ + 1;?></td><td>{name_of_signee}</td></tr>


Footer Code
</tbody>
</table>
{pagination}


Also the {pagination} does not work either I would really appreciate your help. The reason I dont want the "Auto Listing" set to yes, is because when it eventually returns the data I will be adding titles etc into it.

If you would like to look at the Website it is http://www.georges-march.co.uk/petition/results
georges999 03 Dec, 2013
OK So ive fixed the paignation by changing it to {paginator}. But still cant figure out why its not showing the contact names!!
georges999 03 Dec, 2013
OK just figured it out myself. On the "List View Fields" I had "01.name_of_signee:Name" instead of "name_of_signee:Name" now it works a treat. I hope this may help someone else in the future.
This topic is locked and no more replies can be posted.