Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags bei events mit externer Verlinkung #78

Open
Pellinger opened this issue Aug 27, 2021 · 0 comments
Open

Tags bei events mit externer Verlinkung #78

Pellinger opened this issue Aug 27, 2021 · 0 comments

Comments

@Pellinger
Copy link

Die Auszeichnungen verschwinden im BE, wenn eine externe Verlinkung ausgewählt wurde.
Analog zum Ticket #69 von @Sioweb kann das durch hinzufügen von:

$disabledObjects = deserialize($GLOBALS['TL_CONFIG']['disabledTagObjects'], true);
if (!in_array('tl_calendar_events', $disabledObjects))
{
	$GLOBALS['TL_DCA']['tl_calendar_events']['config']['ondelete_callback'][] = array('tl_calendar_events_tags', 'deleteEvents');
	$GLOBALS['TL_DCA']['tl_calendar_events']['config']['onload_callback'][] = array('tl_calendar_events_tags', 'onCopy');
	$GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['default'] = str_replace("author", "author,tags", $GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['default']);
    $GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['internal'] = str_replace("author", "author,tags",  $GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['internal']);
    $GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['external'] = str_replace("author", "author,tags", $GLOBALS['TL_DCA']['tl_calendar_events']['palettes']['external']);
}

in tags/dca/tl_calendar_events.php behoben werden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant