Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple business listings display I18N best for this?
#2
The i18n special pages are (imho) more flexible than the Item Manager plugin. You want to install the i18n search, i18n special pages and dynpages plugins. Create a special page called "business info" or some such. Add to this special page all of the fields that you want to input data, ie Name, Address, Phone, Fax, Email, etc.

Then in the pages tab you can create new special page using the "business info" page type and fill in all of the data for each of the businesses.

For displaying them you have a couple of options, this is where the i18n search is handy. Each special page has its own built in search display code. It is modified in the special pages plugin. Alternatively, and I would recommend, you can create a GS component that has the code to display your business listings. The components are created in the Theme tab.

If you plan on having a site wide search, then configure the special page search code for how you want the business to show up in this search. The component code would only be used to display the business listings whenever the visitor went to the business listings page. In your page your code would look something like this:

Code:
(% searchresults tags=_special_businesslisting HEADER:' ' component:member-directory %)

Have a look at some of Angryboy's tutorials, they are most excellent.
Reply


Messages In This Thread
Simple business listings display I18N best for this? - by jay_m - 2012-10-03, 16:12:36



Users browsing this thread: 2 Guest(s)