Bug #23713 Accepted

Site name is not shown in the relationship field when having different channels from different sites

Version: 4.3.4 Reporter: Reinos

Hi There,

I notice that the site name is not showed in the relationship field (backend, react component) when we there are more sites available. Default it shows only the Entry Title and the Channel Name.

I modified the following files so we also show the site_label

  • system/ee/EllisLab/Addons/relationship/ft.relationship.php (465) i change it to 'instructions' => (ee()->config->item('multiple_sites_enabled') == 'y' ? $entry->Site->site_label.':' : '').$entry->Channel->channel_title
    • system/ee/EllisLab/Addons/relationship/ft.relationship.php (475) i change it to 'instructions' => (ee()->config->item('multiple_sites_enabled') == 'y' ? $child->Site->site_label.':' : '').$child->Channel->channel_title
  • system/ee/EllisLab/Addons/relationship/libraries/EntryList.php (239) i change it to 'instructions' => (ee()->config->item('multiple_sites_enabled') == 'y' ? $entry->Site->site_label.':' : '').$entry->Channel->channel_title
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases