Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Using language switch links in firefox causes browser to load random templates
Status | Resolved |
Add-on / Version | Publisher |
Severity | Critical |
EE Version | 24 |
Brett Wagner
Jan 29, 2013Clicking the generated language switching links (ex. http://xxx.xxx.com/?ACT=40&site_id=1&lang_id=1 ) causes random templates to load, but only in firefox. I have no issues in chrome or safari.
This also happens when I copy and paste the links into the location bar.
I’m going to go ahead and call this ‘the strangest bug yet’
Brett Wagner
I lied, it’s not resolved and it’s happening in safari as well.
BoldMinded (Brian)
Can you be more descriptive on what URL you are expecting to load? Are you using translated URLs? What does your template translations setting look like? What URL/template are you expecting to load and what is actually loaded?
BoldMinded (Brian)
Are you on the home page when this happens, or a sub-page?
BoldMinded (Brian)
On line 174 of the models/publisher_template.php file change it from
to
and see if that fixes it.
BoldMinded (Brian)
Update: narrowed it down to a few ajax requests happening on the page. If a language change was attempted prior to all ajax requests finishing, it will redirect to one of the ajax requests URLs. Looking into a fix.
BoldMinded (Brian)
This was fixed. Recommended to use {alternate_url} in the languages tag pair instead of {switch_language_url}