Re: [grauchut] Join two records
Hi Glenn,
This would be very simple to do using CMSB assuming you make the date and the content a separate record. The fields in a section will be connected to the other data in that section, so you simply need to make a new section and add the required fields (date, content) and any other info you want connected to this data.
CMSB has some preset Menu Editors, one of which is a Blog which would be very similar to what you are trying to do, if you are looking to create a news type feed like on that site.
When you are laying out the code for your page, put the date on one line, use a break tag and then use the content tag. So for example if you were to use the default Blog section, you could display the date and content using the following:
<?php echo date("D, M jS, Y g:i:s a", strtotime($record['date'])) ?>
<br/>
<?php echo $record['content'] ?>
If you are able to provide some more specific details on exactly what you are trying to do I can give you some clear instructions on what code to use.
If you have any further questions please don't hesitate to ask :)