It's possible for admins to pre-filter event lookup pages, including the local organizing map (/local), the public-facing all events page (/events), calendar lookup pages (/calendar/foo), and embedded maps to only show events (and/or groups) in one state.
To pre-filter these lists, you'll need to append ?filter[geographies]=[####]
to the URL of the appropriate lookup page. For example, to pre-filter our demo site's all events page to only show New York events, we'd update the URL to be: https://demo.controlshiftlabs.com/events?filter[geographies]=[1242].
The codes that should be used are included below:
State | Code | State | Code |
Alabama | 1254 | Montana | 1239 |
Alaska | 1255 | Nebraska | 1276 |
Arizona | 1256 | Nevada | 1240 |
Arkansas | 1257 | New Hampshire | 1277 |
California | 1258 | New Jersey | 1241 |
Colorado | 1259 | New Mexico | 1278 |
Connecticut | 1260 | New York | 1242 |
Delaware | 1261 | North Carolina | 1243 |
Florida | 1263 | North Dakota | 1279 |
Georgia | 1264 | Ohio | 1244 |
Hawaii | 1265 | Oklahoma | 1280 |
Idaho | 1266 | Oregon | 1281 |
Illinois | 1267 | Pennsylvania | 1245 |
Indiana | 1268 | Rhode Island | 1246 |
Iowa | 1269 | South Carolina | 1282 |
Kansas | 1270 | South Dakota | 1283 |
Kentucky | 1271 | Tennessee | 1247 |
Louisiana | 1272 | Texas | 1248 |
Maine | 1236 | Utah | 1249 |
Maryland | 1253 | Vermont | 1284 |
Massachusetts | 1237 | Virginia | 1285 |
Michigan | 1238 | Washington | 1250 |
Minnesota | 1273 | West Virginia | 1286 |
Mississippi | 1274 | Wisconsin | 1251 |
Missouri | 1275 | Wyoming | 1287 |
Puerto Rico | 1252 | Washington, D.C. | 1262 |
Comments
0 comments
Please sign in to leave a comment.