This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
building [2014/09/02 14:18] cruisefactory [Google maps] |
building [2018/08/31 17:26] (current) cruisefactory |
||
|---|---|---|---|
| Line 206: | Line 206: | ||
| http:// | http:// | ||
| would fetch the eflyer PDF for the special ID 1111111. | would fetch the eflyer PDF for the special ID 1111111. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Autoflyer Retrieval ===== | ||
| + | To download a special auto-flyer use the following URL: | ||
| + | http:// | ||
| Line 267: | Line 274: | ||
| The latitude and longitude coordinates are now included for each port within the Cruise Factory database. You can [[structure# | The latitude and longitude coordinates are now included for each port within the Cruise Factory database. You can [[structure# | ||
| + | To access a coordinate of a port you will need to have both the `ports` and `latlong` tables imported successfully. They will then link together via the `ports.id` and `latlong.port_id` columns. | ||
| + | |||
| + | For example, to retrieve all ports with their corresponding lat/long coordinates you could run a query as such: | ||
| + | |||
| + | <code sql> | ||
| + | SELECT | ||
| + | ports.*, | ||
| + | latlong.lat, | ||
| + | latlong.long | ||
| + | FROM | ||
| + | ports, | ||
| + | latlong | ||
| + | WHERE | ||
| + | ports.id=latlong.port_id | ||
| + | </ | ||
| ==== Google maps ==== | ==== Google maps ==== | ||
| As a suggested usage for the new port coordinates we recommend using [[https:// | As a suggested usage for the new port coordinates we recommend using [[https:// | ||
| Line 282: | Line 304: | ||
| Read the [[https:// | Read the [[https:// | ||
| + | |||
| + | ==== Amended Conditions ==== | ||
| + | Cruise lines may require specific conditions and disclaimers for the bookings and pricing. We have a table named '' | ||
| + | |||
| + | As above the required table name is '' | ||
| + | * **'' | ||
| + | * This will link to the current sailing: | ||
| + | * '' | ||
| + | * **'' | ||
| + | * This text must be displayed. Suggested under the pricing. | ||
| + | * **'' | ||
| + | * This text must be displayed. | ||
| + | * Will usually be much longer text and should be displayed under a "Terms & Conditions" | ||