

I know many have been patiently waiting for this… I’m proud to announce that Market 2.0 is available. This update brings many of the same great features found in cMap 2.0 such as improve pagination style, search and is completely configurable with 60 available shortcode options.
Here’s a sample shortcode that can be used for Market that changes the number of entries displayed per page, sets the pagination to be displayed at the bottom of the list and hides both the anniversary and birthday fields.
[connections template='market' page_limit='32' pagination_position='after' show_birthday='FALSE' show_anniversary='FALSE']
Here’s a list of options that are currently available with their default settings. There are a lot of options to customize the template, but I think that they are all pretty self explanatory.
- enable_search=TRUE
- enable_pagination=TRUE
- page_limit=20
- pagination_position=’before’
- enable_category_select=TRUE
- show_empty_categories=TRUE
- show_category_count=FALSE
- enable_category_by_root_parent=FALSE
- enable_map=TRUE
- enable_bio=TRUE
- enable_bio_head=TRUE
- enable_note=TRUE
- enable_note_head=TRUE
- enable_website_link=TRUE
- show_addresses=TRUE
- show_phone_numbers=TRUE
- show_email=TRUE
- show_im=TRUE
- show_social_media=TRUE
- show_birthday=TRUE
- show_anniversary=TRUE
- image=’logo’
- image_width=NULL
- image_height=NULL
- image_fallback=’block’
- tray_image=’photo’
- tray_image_width=NULL
- tray_image_height=NULL
- tray_image_fallback=’none’
- map_zoom=13
- map_frame_height=400
- card_width=440
- category_width=175
- str_select=’Show All Categories’
- str_image=’No Logo Available’
- str_tray_image=’No Photo Available’
- str_map_show=’Show Map’
- str_map_hide=’Close Map’
- str_bio_head=’Biography’
- str_bio_show=’Show Bio’
- str_bio_hide=’Close Bio’
- str_note_head=’Notes’
- str_note_show=’Show Notes’
- str_note_hide=’Close Notes’
- str_contact=’Contact’
- str_home_addr=’Home’
- str_work_addr=’Work’
- str_school_addr=’School’
- str_other_addr=’Other’
- str_home_phone=’Home Phone’
- str_home_fax=’Home Fax’
- str_cell_phone=’Cell Phone’
- str_work_phone=’Work Phone’
- str_work_fax=’Work Fax’
- str_personal_email=’Personal Email’
- str_work_email=’Work Email’
- str_visit_website=’Visit Website’
- name_format=’%prefix% %first% %middle% %last% %suffix%’
- contact_name_format=’%label%: %first% %last%’
- addr_format=’%label% %line1% %line2% %line3% %city%, %state% %zipcode% %country%’

Wondering if you have any news on the front end input screen? Would be nice to have businesses submit their own details – a nice plugin that does something similar is Participants Database.
Also, search facility – are you aware of the haversine function (to calculate distance between two geo locations (using longitude and latitude)? In the UK we have a database of all postcodes with longitude and latitude coordinates, by referencing this with the postcode of the user carrying out the search it would be possible to sort entries by distance. Maybe display all companies withing a certain distance?
@Stephen
I’m working on the front end form. It’ll be basic at first and primarily based on the admin form. A few key differentiators will some validation, define which fields to show and be responsive, meaning gracefully scale to the screen size so it is phone and tablet ready.
No, I was not aware of the haversine formula … I may be able ti use that for another add-on that is in the planning stages.
Having the front end form for our users will be huge! Can you please give a timeframe for when the front end form will be available. Thanks.
@Bob
I’m sort of waiting for the iPad 3 to be released. Odd statement I know. The form add-on I’m working on will be pretty basic at first but one of the initial key features will be a responsive design that will scale depending on the device [phone, tablet, desktop].
Also, your up coming ‘Rating’ upgrade. Will this be a rating of each business in the database collated by consumers?
@Stephen
Could you elaborate your question?
I would find it very useful if consumers could rate the services of a company. Say 1-5 in respects of things like knowledge, service, speed, quality, etc. An average score could be compiled plus number of ratings.
Referring back to the haversine function in my earlier post. I’m looking through your code in ‘Market’ to see if it’s possible to filter against longitude\latitude (no luck so far but I’m newbie at PHP\MySQL).
This type of function would be a real benefit as it could reduce the number of records returned to those in a specific radius of the person seraching (return results = +\- 0.005 against each co-ordinate). Gives all entries in the database a chance of coming top of the list! The haversine function would then calculate the distance in miles\km’s and this could be displayed against each entry.