Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Grid View 03 Jun 2013 18:26 #7307

can anyone help???
I find the way / or not possible, I want to at the hearing collation (grid) to make columns with content, to display 4 columns and 4 cells, believe it is possible :( ? thanks in advance :unsure:

Please Log in or Create an account to join the conversation.

Re: Grid View 03 Jun 2013 21:54 #7308

auto answer, please see this post .... I found a solution ...
<? php
$ k = 0;
for ($ i = 0, $ n = count ($ this-> items); $ i <$ n, $ i + +):

$ row = & $ this-> items [$ i];




Change to:

<table>
<? php
$ k = 0;
for ($ i = 0, $ n = count ($ this-> items); $ i <$ n, $ i + +):
if ($ tdcount == '3 ') {echo "<tr> <td>"; $ tdcount == '1'} else {echo "<td>";}

$ row = & $ this-> items [$ i];




then find:


<? php
$ k = 1 - k;

and change to:


<? php
$ k = 1 - k;
if ($ tdcount == "3") {echo "</ td> </ tr>";} else {echo "</ td>"; $ tdcount + +;}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds

Hi guys Before I ask for help just like to say I tried the tutorials on how to make a 2.5 component WOW.... HECTIC!! J-Cook is really amazing in its simplicity!!
Dorac (Forum)  

Get Started