Untitled Record in current record view with relations
Archived from the Xataface Users forum.
Philipp Wenzel — Tue May 08, 2012 6:53 am
Hi,
how can i change the title from related records? (like in the attachment)
I tried it with the getTitle() function but it does not work.
- Code: Select all
<?PHP class tables_terror { function getTitle(&$record){ return $record->val('nation_name'); } } ?>
this will result in a white screen.
Any ideas?
Phil
shannah — Tue May 08, 2012 9:48 am
You’ll also need to implement the titleColumn() method. This just returns the name of the column that you want to use for the title.
-Steve