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

Getting intended site for redirect #20

Open
billymedia opened this issue Nov 4, 2019 · 1 comment
Open

Getting intended site for redirect #20

billymedia opened this issue Nov 4, 2019 · 1 comment
Assignees

Comments

@billymedia
Copy link

I need to display a message which informs the user that they have a localised version of the entry they are viewing, failing that, there is a localised version of a site with a link to the home page. What i cannot see is how to get the intended site that the plugin will redirect to. I have looked into craft.countryRedirect.info but that doesnt provide the information i need, what i want is the intended site handle. How do i get this?

@sjelfull
Copy link
Member

There isn't an easy way to get this in Twig at the moment, but I will add a method for this.

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

No branches or pull requests

2 participants