Skip to content

[3.2] Preview targets for multiple sites #4406

@ghost

Description

Description

Additional preview targets are a great feature, but how to set it up for multi-language site with different target URIs?

For example you have a news archive section (single) set up like this:

image

and want that to be a preview target for the news entries. That would require different target URL formats for every site.

Maybe you can work around with a complex URL format like {{object.section.handle == 'en' ? 'news' : 'nachrichten'}} (untested), but it would be better to have a third column specifying the sites (all/specific) where the preview target should be used.

Additional info

  • Craft version: 3.2 beta 2
  • PHP version:
  • Database driver & version:
  • Plugins & versions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimprovements to existing featuresinternationalization 🌐features related to internationalization or localization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions