Here is a video showing how to add "Email Me" to an individual location and have that link to a mailto: email link so that the end user can contact the location.

http://screencast.com/t/Jsimj99L

Published in Locator
Wednesday, 25 January 2012 15:20

How do I set the title of the locator page?

The tite of the locator page is determined by the title of the Menu Item

This locator:

http://screencast.com/t/rQqCt30n0

Has the title set by the Menu Item shown here:

http://screencast.com/t/e7Md07Wj

You can override that value by updating this setting on the Menu Item configuration.

http://screencast.com/t/8eHgMXee

 

Still not showing up? Ensure you havent made any customizations to your template that may interfere.

Also, Joomla 1.7 changed this setting to "Page Heading", and we have updated our software to reflect that change. So ensure you're running the latest version.

 

Published in Locator
Wednesday, 25 January 2012 15:16

Why is the map below the results?

If the combined width of the results and the map are too wide for your layout, the map can push below the results as shown here:

http://screencast.com/t/UJbzeUOBs7o

Adjust the map width parameter and ensure you have enough space to display both the results and the map side-by-side.

http://screencast.com/t/9lBgNO3b3W

Published in Locator
Tuesday, 24 January 2012 13:55

jqLocator is not defined error

Joomla templates need to have a properly formatting head section to allow components like Locator to add javascript libraries to the page. Ensure your template has a

<jdoc:include type="head" />

in the head section of the template HTML.

As a workaround, you can include the javascript in the page manually by adding our javascript to the template

 <script type="text/javascript" src=/components/com_locator/assets/jquery.min.js"></script>
<script type="text/javascript" src="/components/com_locator/assets/jquery.noconflict.js"></script>
Published in Locator

Use the Search Form Format setting to arrange fields as needed

http://screencast.com/t/MDPGlwCP

Published in Locator

All locator front-end templates files are located in 

components/com_locator/views/

For the search screens, you can manage files located under

components/com_locator/views/directory/tmpl

There you'll find template files that correspond to the available views and also individual files for each type of search control.

The three available views (Combined, Directory Search and Google Map) files are highlighted here:

http://screencast.com/t/pzsJk1BqNpe

Those highlighted view files incorporate the other files based on your settings.

If you are making changes to these files, be sure to follow the Template Override guidlines by making copies first.

Published in Locator
Thursday, 19 January 2012 10:27

How can I translate the actual location data?

The Locator doesn't provide for translation of the location data (E.g. the address, description etc) through Joomfish or similar language plugin.

To provide your locations in multiple languages, use the Tag feature to create locations by language.

For example, create a Tag called "German" and tag all locations with German translations with the German Tag.  You can then create a new locator, and select German under the "Tags" option. This creates a locator with only German tags.  

Published in Locator

If you need to change default language in the component e.g. "No results found. Please widen your search area or choose a different zip code.".  You can update the language file provided using your FTP client.  

Locator stores all language strings in the Joomla language file.  These files are stored by Joomla according to the language.  For English, see

languages/en-GB/en-GB.com_locator.ini

Published in Locator
Tuesday, 17 January 2012 14:25

How do I change the label of the Tags field?

The TAGs field is so-often renamed that we created a menu item configuration option to change it's value here:

http://screencast.com/t/0NIiGcrq

You can also update the language settings in 

languages/en-GB/en-GB.com_locator.ini

Change en-GB to whatever language you're using.

Published in Locator

The address templates are set on a per-menu item basis and allow for the control of the formatting of each directory entry and map-marker popup window.

The default format is as follows:

{title}{distance}{address}[br]{address2}[br] {city}, {state} {postalcode}[br]{phone}[br]{link}[br]{description}[br]{taglist}

Each field is defined as follows:

  • {title} - This is the title field, and is wrapped in an <h2> tag.  It is optionally hyperlinked to the item's detail page.  Prior to version 1.89, title was output as part of the Joomla template code and it's position could not be managed.  If the title is not displaying after an upgrade, you most likely do not have {title} in your address template.
  • {distance} - This is the description of the distance this entry is from the performed search.
  • {address}{address2}{city}{state}{postalcode}{phone} - These are all dynamically replaced by the corresponding field in the database.  No special formatting is applied.  Each is wrapped in a span tag for individual styling as follows: <span class="line_item {fieldname}"></span>.
  • {link} - This is the automatically hyperlinked "link" field.  If you would like to use another field as the "hypertext" of the link you can format the link tag as follows: {link {title} /link}.  All custom fields of type "link" can be used in this way.  You can also include custom text in this field as in {link Click Here! /link}.
  • {description} - This is the full text of the description, as entered in the WYSIWYG editor in the back-end.
  • {taglist} - This is a comma-separated list of tags for this item.  The taglist field will not be initialized unless "Show Tag List" is also selected.  This is a two-part option because the query (enabled by the "Show Tag List" drop-down) is computationally expensive.
For custom fields, the template tag will be generated and available in the list of custom fields.

The Map Address template works just as any other address template, and allows for the control of item format in the marker popup window.

Also, under the Parameters icon (or Configuration in Joomla 1.6) is an Admin Item Template setting that allows for the control of the formatting in the administrator list.

 

Published in Locator
Page 1 of 2