Confirmed users
1,059
edits
m (Directory -> Default) |
(Directory -> Default) |
||
Line 57: | Line 57: | ||
At a high level the data object looks like this: | At a high level the data object looks like this: | ||
{ "LOCALE" : [ ARRAY OF | { "LOCALE" : [ ARRAY OF DEFAULT TILE OBJECTS ] } | ||
You can have many locales in the Tiles dictionary object to support multiple languages. | You can have many locales in the Tiles dictionary object to support multiple languages. | ||
Line 63: | Line 63: | ||
For example: | For example: | ||
{ "en-US" : [ ARRAY OF US | { "en-US" : [ ARRAY OF US DEFAULT TILES ], "en-CA" : [ ARRAY OF CA DEFAULT TILES ] } | ||
Each | Each Default Tile object requires a few attributes, most of which are self explanatory. | ||
{ | { | ||
Line 77: | Line 77: | ||
'''NOTE''': You need to URL escape all the text, in the bgColor you'll see the # is replaced with %23 and the spaces are replaced with %20 in the title. | '''NOTE''': You need to URL escape all the text, in the bgColor you'll see the # is replaced with %23 and the spaces are replaced with %20 in the title. | ||
'' | ''Default Tiles Object Attributes'' | ||
* '''url''' is the URL you want the Tile to link to | * '''url''' is the URL you want the Tile to link to |