Related data question

s6930064

Member
I have a case where I need to display few columns in the list with ?Related data? to save screen space but all related links in form/details with ?Show related data links?.

Is there a way to override the connection between ?Related data? and ?Show related data links? or I have to create a custom list and form template?

Any suggestions are welcomed.
 
I half solved the problem modifying my list template by adding the following in default_headings.php:

if (strpos($heading, 'special_word') !== false) {
unset($this->headings[$key]);
unset($this->headingClass[$key]);
} else {
.........

The logic is that if a special word exists in the heading title of the Related data then this column will be not be rendered in the list.
The other half of the problem is that all SQL queries related to the removed columns are still executed even that there are not used :(
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top