'no record found' text is showing on related tables

skyrun

Active Member
if 'show related data link' is 'only if not empty', then instead of showing 'no records found', should show nothing on related tables.

the idea of selecting show related add as 'only if empty' and the related data link as 'only if not empty' is to have either the add, or the link to the list, but never both to have a cleaner and more concise way of showing related data (and still allow people to show both how many records and the add button if they want for some reason).
Capture.JPG
 
updated f3.1.1 and still there. cleared cache (it's not on).

here's the html produced:
HTML:
<td class="165___4-4-165_list_heading fabrik_element related" >
<span style="text-align:center" class="related_data_norecords"></span><br />
<br /><span class="addbutton"><a href="/skyforce/leads/form/4/0?referring_table=3&amp;sf_activity___lead_id_raw=5" title="Add"><i class="icon-plus"></i> Add</a></span></a></td>
 
are you sure?
The markup is generated in components/com_fabrik/models/list.php line 1881:

PHP:
$html[] = '<div style="text-align:center" class="related_data_norecords">' . $tlabel . '</div>';
so you really shoudn't have the first <span> that you quoted there at all
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top