2 or more rows in Auto Listing (corrected)

chocofc1 02 Jun, 2012
It should not be very hard.

The option "List View Fields" should have a "List View Fields Col. 2" and "List View Fields Col. 3"

The idea is to make it easy have 2 or more rows so if we have to load many rows, dont have to move the screen to the right.

Please give an answer if this will be added, max would do it in 15 min. of work 😀

Thanks
GreyHead 03 Jun, 2012
Hi chocofc1,

I'm not sure I understand the question :-(

You can already add a list of field/column names in het List View Fields box e.g id,title,catid

Bob
chocofc1 03 Jun, 2012
Yes, but there is option to create only one row for each record with Auto listing.

So we have the "List View Fields" but only 1.

What I want is for example

ROW 1. -----> id,name,email,telefone
ROW 2. -----> mesage,country

Of course this could easly be done customizing the body of the middle table.

But the idea is to make it easy to have 2 or more rows and still use Auto listing

_____| COL 1 | COL 2 |
ROW 1 |_______|______| -------> At this moment is only posible to create one row
ROW 2 |_______|______|
I should be very easy but very useful for it will allow creating more complex listing tables.
Max_admin 03 Jun, 2012
Hello,

In the latest version, there is the new "Auto list row event" box, you can use it to do what you need here, example, add in this box "auto", then add a new event to your form and call it "auto".

In this new event, add a "Custom code" action and use the $form->data['row'] to change the displayed row values, example:

<?php
$form->data['row']['message_country'] = $form->data['row']['message']."_X_".$form->data['row']['country'];
?>


If you have one of your list fields called "message_country" then it will use the new value set for it, even if there is no database table field with this name.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chocofc1 04 Jun, 2012
Thank you Max

That is very very useful but it is not what I need right now.

I will try again.

The Auto listing generates automatically the HEADER, BODY and FOOTER of the table.

In the BODY it creates every column for each record.

Untill now everything normal.

What I whant is for each record not to be limited to have only one column. Do it the way you want, nested tables, divs, css.

I dont want more rows, but more columns for each record.

Column is horizontal.
Row is vertical.

Look at the image I have done in paint:
GreyHead 04 Jun, 2012
Hi chocofc1,

Column is horizontal.
Row is vertical.

Hmmm . . . but they aren't :-( Columns are vertical and rows are horizontal. When you use them the other way round it gets very hard to make sense of what you write.

Bob
chocofc1 04 Jun, 2012
Thank you, I always have a mess with this two words. I didnt meant to be a smartass, but that frase helped at least. Thank you again.
This topic is locked and no more replies can be posted.