Hi, Jason.
Can you point me in the direction of an example, please?
Here's what I use in the head of my document:
list($product_categoriesRecords, $product_categoriesMetaData) = getRecords(array(
'tableName' => 'product_categories',
'loadUploads' => true,
'allowSearch' => false,
));
list($our_productsRecords, $our_productsMetaData) = getRecords(array(
'tableName' => 'our_products',
'loadUploads' => true,
'allowSearch' => false,
'where' => "category = '".intval(@$_REQUEST['main_category'])."'",
));
And this is to put the information on the page:
<?php foreach ($our_productsRecords as $record): ?>
<h2><?php echo $record['category:label'] ?></h2>
<p><strong><a href="<?php echo $record['_link'] ?>"><?php echo htmlencode($record['title']) ?></a></strong></p>
<?php endforeach ?>
Thanks,
Nigel Gordijk
Common Sense Design: User-focused Web design
Tel: 001 519 342 5348 | Web: www.commonsensedesign.net