Displaying Record Uploads and Descriptions Horizontally

2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 6, 2009   (RSS)

Re: [Cathy] Displaying Record Uploads and Descriptions Horizontally

By ross - May 6, 2009

Hi Cathy.

Thanks for posting!

I think you are close on this one but have a bit of the code mixed up. Here's a generic form of what you are looking for:

<table>
<?php foreach ($parent_categoriesRecords as $record): ?>
<td>
display something here
</td>
<?php $maxCols=4; if (@++$count % $maxCols == 0): ?>
</tr>
<tr>
<?php endif ?>
<?php endforeach ?>
</table>


All your image code needs to go where it says "display something here".

Could you give it another shot and let me know how you make out?

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/