Bug #31406
Sitemap module shows wrong flag (ITA)
| Status: | Rejected | Start date: | 2011-10-29 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Markus Blaschke | % Done: | 100% |
|
| Category: | Backend | Spent time: | - | |
| Target version: | 5.0.0 | |||
| TYPO3 Version: | 4.5 | PHP Version: | ||
| Votes: | 0 |
Description
The sitemap module shows the wrong banner for Italian language (Seems the flag of Moldova)
There is another small issue in this module: the mouse cursor does not become an hand on the "home page" text, so it is difficult to tell if it's clickable.
History
Updated by Markus Blaschke over 1 year ago
- Status changed from New to Needs Feedback
Which flag did you configured in the globe-page (uid=0) for italian? Or is italian your default language?
Updated by Riccardo De Contardi over 1 year ago
Italian is my default language
On page with UID=1 (Home page) I've set in TS Config:
mod.SHARED.defaultLanguageLabel = Italian
mod.SHARED.defaultLanguageFlag = it
Oddly, on another TYPO3 Installation (with the same version, 4.5.6), the flag is correct!
Updated by Markus Blaschke over 1 year ago
Maybe i found the issue:
Did you use
mod.SHARED.defaultLanguageFlag = it.gif
instead of
mod.SHARED.defaultLanguageFlag = it
in PageTS?
Since 4.5 you have to use the lang-key without ".gif"
Updated by Riccardo De Contardi over 1 year ago
Since 4.5 you have to use the lang-key without ".gif"
Yes, I knew that: my TS Config in home page says:
mod.SHARED.defaultLanguageLabel = Italian
mod.SHARED.defaultLanguageFlag = it
Updated by Markus Blaschke about 1 year ago
Still unable to reproduce. Are there any new informations about this issue?
Updated by Riccardo De Contardi about 1 year ago
Unfortunately not... the only thing I can see is that using Firebug, I see that the HTML element is:
<span class="t3-icon t3-icon-flags t3-icon-flags-it.gif t3-icon-it.gif"></span>
but in the CSS rules there is no background-position: the flag showed is the first (top left)
Updated by Markus Blaschke about 1 year ago
- Status changed from Needs Feedback to Rejected
- % Done changed from 0 to 100
You still have "mod.SHARED.defaultLanguageFlag = it.gif" instead of "mod.SHARED.defaultLanguageFlag = it" somewhere in your PageTS configuration.
the css-class in the span-tag must be "t3-icon-it", not "t3-icon-it.gif".
Remove the .gif and the issue is fixed :)
Maybe you overwrite your pageTS somewhere and there is still a it.gif - please doublecheck your PageTS in the root-page of each website-tree and check the "Info -> PageTS"-Module for the value in "mod.SHARED.defaultLanguageFlag"
TQ_SEO just takes your value and use it for the TYPO3 sprite-generator.