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.071 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started