Hi,
I need your help with some special requirement.
I'm building a theme for a popular ecommerce engine using TPL files and vqmod. I have not access to modify the query, need to by clean.
And i need to fill the list view some like this:
So, my problem is: Can i group items in a listview without a datasource?
My example is here, please advise...
http://jsbin.com/toxuyate/4/edit
I need your help with some special requirement.
I'm building a theme for a popular ecommerce engine using TPL files and vqmod. I have not access to modify the query, need to by clean.
And i need to fill the list view some like this:
<?
php
if ($customers) { ?>
<?
php
foreach ($customers as $customer) { ?>
<
li
>
<
h3
class
=
"time"
><?
php
echo $customer['date_added']; ?></
h3
>
<
h3
><?
php
echo $customer['name']; ?></
h3
>
<
a
data-role
=
"button"
data-rel
=
"external"
style
=
"float: right;"
href="mailto:<?php echo $customer['email']; ?>" data-icon="compose">Email</
a
>
<
p
><
small
><?
php
echo $column_email; ?>: <?
php
echo $customer['email']; ?></
small
></
p
>
<
p
><
span
><
b
><?
php
echo $customer['status']; ?></
b
></
span
></
p
>
</
li
>
<?
php
} ?>
<?
php
} else { ?>
<
li
>
<
h2
><?
php
echo $text_no_results; ?></
h2
>
</
li
>
<?
php
} ?>
So, my problem is: Can i group items in a listview without a datasource?
My example is here, please advise...
http://jsbin.com/toxuyate/4/edit