You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/tab-files.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ lang: php
17
17
[TOC]
18
18
19
19
## Overview
20
-
Add-ons can also add tabs which are visible on in [Publish Layouts](control-panel/channels.md#publish-layouts). Respectivley these tabs would also be visible on the Entry Publish/Edit page if selected in the publish layout. Two things are required for your add-on to have this functionality:
20
+
Add-ons can also add tabs which are visible on in [Publish Layouts](control-panel/channels.md#publish-layouts). Respectively these tabs would also be visible on the Entry Publish/Edit page if selected in the publish layout. Tabs can also optionally display the associated data as columns in Entry Manager.
21
+
22
+
Two things are required for your add-on to have this functionality:
21
23
-[`tabs()` method](/development/add-on-update-file.md#add-publish-tabs-with-your-add-on-tabs) added to the Update File
22
24
- The Tab File (`tab.[addon_name].php`)
23
25
@@ -75,6 +77,13 @@ class Amazing_add_on_tab
75
77
}
76
78
77
79
80
+
// This function is needed to display data as an Entry Manager column
81
+
public function renderTableCell($data, $field_id, $entry)
0 commit comments