This topic is locked

Is a multi-column display possible?

6/28/2007 3:01:09 AM
PHPRunner General questions
A
asimha author

In one of my projects I would like to be able to display roughly 120 records, on one single page in a column form.
Each records includes a picture and a description and is then linked to another table which shows the details.
I would like to display these records in rows and in 5 columns
So the first row would display records 1 to 5, the second row would shows records 6 to 10, any so on?
Has anybody attempted this ?
Thank you

André

Alexey admin 6/28/2007

Andre,
proceed to the Fields order and totals tab in PHPRunner and enter 5in Records per rowbox.

A
asimha author 6/28/2007

Andre,

proceed to the Fields order and totals tab in PHPRunner and enter 5in Records per rowbox.


Alexey, I cannot believe I am so dumb ... I just never needed to use this option <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19239&image=1&table=forumreplies' class='bbc_emoticon' alt=':blink:' />
Thanks very much for pointing me in the right direction.
Andre

paperhog 10/9/2007

Ok sorry to revive an old post, I have two columns - Great but I want the order to go alpha down, then start next row not

as currently
A|B

C|D

E|F

I want to display
A|D

b|E

C|F
Is this possible??? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=22089&image=1&table=forumreplies' class='bbc_emoticon' alt=':o' />

Alexey admin 10/10/2007

Lori,
sure, this is possible.

However you'll need to redesign List page thoroughly.
Here is the sample structure of the page:

<table>

<tr><td>

<table>

{foreach from=$rowinfo item=row}
{if $row.newcolumn}

</table>

</td>

<td>

<table>

{/if}
... Display record ...
{/foreach}

</table>

</td></tr>

</table>

And add this code to After record processed event

if(...)

$row["newcolumn"]=true;