"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;">{recordcount}</div>
<div style="float:left;">{add}</div>

<div style="text-align:center;">{print}</div>
<div class="datagrid">
<div>{batchtoolbar:edit,publish,unpublish,refresh,delete}</div>

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

<tbody>


{if:"{currenturl:string,where}"!=""}

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

{endif}



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

<br/><div style='text-align:center;'>{pagination}</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.