Some clients will opt to have a “locations” page, where customers can see a list of available locations, including a photo of the location, name, address, etc..  Each location will have a “buy now” button, which will take them to OPS-COM pages.

Creating the Pages

These pages will not require a login to view. These pages should include:

  • Lot Name
  • Lot Address
  • Lot Number
  • Lot location on small area map
  • Lot photo
  • Available Parking Rates
  • Contract Terms and Conditions (with the ability to be read and agreed to) This would be a disclaimer they will agree to before purchasing. This wouldn't be the right place for this. 

A buy now button from these pages would need to get the login screen or create account screen.

Instructions for the ShortCodes:

Shortcodes are a way to allow the client to set up the layout of a page the way they want.

They are used in the System Messaging page, which is under the System Config dropdown menu.

They way it works, is that a shortcode is defined in the code to return a specific value when placed within the body of the page layout. The value can be anything from single variable to a module laid out in a blade template, like a table or a form. 

The shortcode is surrounded in square brackets, like [lots_list]. By placing that in the body of the message, it will show up on the corresponding page in that location.

The path chosen by the client is what the path will be in the url. This would make the lots_list module show up when the address has /lots at the end of the base URL.

The specific lot detail page is set up a bit differently, in that it is hardcoded to only work if the path is set as --lots-detail. This will make the details for the lot appear from the path /lots/{id}, with the id supplied being passed to the page to fetch the correct lot information.

Here is a list of the shortcodes that have been setup for this issue:

List Shortcode (works on any page):

[lots_list] - displays a list of the currently available lots

The following options are available to shorten the list:

include_hidden=1 - By default, lots set as not visible will not appear. This option will include those lots in the list.

only_text2parkme=1 - This will restrict the list to only show lots that have Text2ParkMe enabled.

i.e. [lots_list only_text2parkme=1]

Value Shortcodes (only works on --lots-detail):

[values show=lotname] - displays the name of the lot

[values show=lottype] - displays the initial of the lot's type

[values show=lotnameid] - displays the lot's id

[values show=defaultcost format=currency] - displays how much renting a permit for the lot costs.

[values show=location] - displays the location set for the lot. It is an address or a short description.

[values show=textcode] - The Text2ParkMe code for the lot.

[values show=ratePer10Min format=currency] - The Text2ParkMe rate for the lot.

Module Shortcodes (only works on --lots-detail): 

[lot show=buy_now] - displays a button that will take the user to the page to purchase a permit for the lot. Will take the user to the login screen if they are not logged in or do not have an account.

[lot show=map] - displays a small map with the lot's location according to the latitude and longitude values that are stored for it.

[lot show=photo] - displays the photo that has been selected for the lot. A photo can be assigned from the Lot Administration page /admin/config/permits/lot/{id}/edit.

The Lot List Page

The resulting lot list page will look like this:

The Lot Detail Page

The Lot Detail Page will look like this:

Related Pages

There is no content with the specified labels

OperationsCommander parking and security management platform