• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Display City/State/Country on Layout Types and Carousels

This suggestion has been implemented. Votes are no longer accepted.
I've added 2 new fields to the xf_xa_sc_category table ( display_location_on_list and location_on_list_display_type ).

The field display_location_on_list is a tinyint(3) and the entity sets the field as a BOOL with the default of 0 (false).
The field location_on_list_display_type is a varchar(50) and the entity sets the field as a STRING with the default of '' (empty).

I've added 2 NEW inputs on the Category Add/Edit form (as shown in the screen shot below). You are now able to set whether some location related data (City, State, Country) is display on listing pages (SC Index, SC Category Pages, SC Widgets etc).

Selection_405.png

Note: Location Data will only display on Layout Types and Carousel types that support having additional data (List View, Grid View, Tile View, Item View, Carousel and Grid Block).


Here are some various screen shots showing Location Data being displayed on List View, Grid View, Tile View, Item View, Full Carousel, Simple Carousel and Display Type "Simple".

Before anyone asks... the address components are purposely just plain text for now as the PLAN is to eventually have Location Filtering functionality, which at that time, each component (City, State, Country) will be Filter Links (so linking them NOW to launch the overlay map would just confuse people when it changes to be filtering). That is why I added a FA Icon fa-map-marker-alt next to the location data, which when clicked on, will launch a google map in an overlay (as seen in the 2nd and 4th images below).

List View layout...

Selection_407.png


Grid View layout...

Selection_408.png


Item View layout...

Selection_409.png


Tile View layout...

Selection_406.png


Grid Block layout...

Selection_410.png


Carousel layout...

Selection_411.png


Clicking on the FA Icon will launch a google map in an overlay...

Selection_413.png
 
Back
Top