Notice: Undefined property: CustomTablesModelDetails::$TotalRows in /homepages/10/d220801686/htdocs/jb3x/components/com_customtables/libraries/tagprocessor/pagetags.php on line 285

Notice: Undefined property: CustomTablesModelDetails::$TotalRows in /homepages/10/d220801686/htdocs/jb3x/components/com_customtables/libraries/tagprocessor/pagetags.php on line 727
Go Back

How to hide rows when search parameters not specified yet.
Custom Tables

"I would like to see nothing and only when I search something I would like to see data."

To show or hide part of the layout use the IF statement

This is Catalog Page layout example:

 

<div style="float:right;">Found:  Result(s)</div>
<div style="float:left;"></div>

<div style="text-align:center;"> </div>
<div class="datagrid">
<div></div>

<table><thead><tr><td style='text-align:center;'>*fullname*<br/></td>
<td style='text-align:center;'>*email*<br/></td>
<td style='text-align:center;'>*date*</td>
<td style='text-align:center;'>Action<br/></td>
</tr></thead>

<tbody>


{if:"0"!=""}

{catalog}<!-- here is your catalog -->

{endif}



</tbody>
</table>
</div>

<br/><div style='text-align:center;'></div>
 

JoomlaBoat.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters
the trademark holder in the United States and other countries.