How can I best hide the intro when there is no data?
I have a list that is shown in the outro of a form, but I want to hide it all the way when there is no data to show.
For the data part it is ok, I have deleted the headings in the template.
But I have some text in the intro that I also want to be hidden if there is no data to be shown.
I tried with
if ($this->rows !=0) {
echo $this->table->intro;
}
and some other variations but it still shows
Many thanks in advance,
Filip
I have a list that is shown in the outro of a form, but I want to hide it all the way when there is no data to show.
For the data part it is ok, I have deleted the headings in the template.
But I have some text in the intro that I also want to be hidden if there is no data to be shown.
I tried with
if ($this->rows !=0) {
echo $this->table->intro;
}
and some other variations but it still shows
Many thanks in advance,
Filip