data.dat -------- id|picture|name 1|seans.gif|Sean Shrum 2|steves.gif|Steve Shrum 3|dianas.gif|Diana Shrum 4|marthas.gif|Martha Shrum
Laying out the about data in a straight 1 x format is simple, I can do this myself without the aid of a templating module like:
1 - PICTURE - Sean Shrum...but what I want to be able to do is place X records in a row. The layout would be defined in a record template but ultimately would allow me to produce something like (if I wanted 3 to a row):
PICTURE PICTURE PICTURE
1 - Sean Shrum 2 - Steve Shrum 3 - Diana Shrum
PICTURE
4 - Martha Shrum
I'm half-way tempted to just code the thing myself. I already do page nesting via s// using tokens and field replacements via field tokens. This is simply a issue of knowing when to insert the /TR tag. But I regress...is there a module that would allow me to do something like this. I have looked over the HTML::Template documentation and from the looks of it, it cannot do this sort of layout.
If I am incorrect, please point me to a sample template and code snippet that demonstrates this implementation. Granted, HTML::Template would be great since it was a easy install. However, if I am correct, can someone point me to a module that acheives this. I have no issues with dropping HTML::Template like an IPO from a new internet company (in todays market) to switch to something else.
TIA - All input is welcome.
======================
Sean Shrum
http://www.shrum.net
In reply to Grouping multiple records in a row...templating ? by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |