Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

changed MetaTags function to use AbsoluteLink instead of Link in Translatable.php #2

Merged
merged 1 commit into from

2 participants

@cbryer

modified MetaTags function to provide absolute links instead of using normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use subdomains or TLD's.

@cbryer cbryer modified MetaTags function to provide absolute links instead of using…
… normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use different subdomains or TLD's.
baa7566
@chillu chillu merged commit 0cea59a into from
@chillu
Owner

Thanks Chris

@drzax drzax referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2012
  1. @cbryer

    modified MetaTags function to provide absolute links instead of using…

    cbryer authored
    … normal Link() method. This improves compatibility with the Translatable-Domains module and would provide accurate alternate href's to other locales that use different subdomains or TLD's.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/model/Translatable.php
View
2  code/model/Translatable.php
@@ -1276,7 +1276,7 @@ function MetaTags(&$tags) {
$tags .= sprintf($template,
Convert::raw2xml($translation->Title),
i18n::convert_rfc1766($translation->Locale),
- $translation->Link()
+ $translation->AbsoluteLink()
);
}
}
Something went wrong with that request. Please try again.