Mobile/Distribution Files: Difference between revisions

Jump to navigation Jump to search
Title Guidance
(Title guidance)
(Title Guidance)
Line 160: Line 160:
==Suggested sites==
==Suggested sites==
Added by {{bug|1012462}} in Firefox 33.
Added by {{bug|1012462}} in Firefox 33.
The title of your suggested site should be short, as it will only be displayed one line. Multiple suggested sites should not begin with the same text.


Use a directory tree like the following. Locales are named via a locale code, such as <code>en-US</code>.
Use a directory tree like the following. Locales are named via a locale code, such as <code>en-US</code>.
Line 190: Line 188:


Where <code><image-dir></code> is the directory containing the density-specific image directories (<code>mdpi</code>, <code>hdpi</code>, etc) and <code><image-name></code> is the filename under the density-specific directories without the file extension. For example, <code>gecko.distribution://suggestedsites/res/distroimage</code> image URL will be translated to <code><distribution-root-dir>/suggestedsites/res/xhdpi/distroimage.png</code> on a XHDPI device.
Where <code><image-dir></code> is the directory containing the density-specific image directories (<code>mdpi</code>, <code>hdpi</code>, etc) and <code><image-name></code> is the filename under the density-specific directories without the file extension. For example, <code>gecko.distribution://suggestedsites/res/distroimage</code> image URL will be translated to <code><distribution-root-dir>/suggestedsites/res/xhdpi/distroimage.png</code> on a XHDPI device.
The title of your suggested site should be short, as it will only be displayed one line. Multiple suggested sites should not begin with the same text.


The list of suggested sites from the distribution will be prepended to the default list of suggested sites that ships with Firefox.
The list of suggested sites from the distribution will be prepended to the default list of suggested sites that ships with Firefox.
219

edits

Navigation menu