Jump to content

Search module results using listings_tableview.thtml instead of tmpl_suffix spec


dealio

Recommended Posts

I'm new to using the Geo Map add-on.

 

 

Since the dynamic Google map works only the blogview list template, I'm tying to configure the advance search  "Theme Suffix for search results page" to use the blogview list template.

 

However the mod_jreviews_advsearch just defaults to ".../listings_tableview.thtml"

 

 

My configuration is:

 

Jreviews admin-> Search:

=========================

Use current page Itemid for search results: yes

Theme Layout: tableview

View Suffix: <blank>

 

 

Geo Maps(mod_jreviews_advsearch)

===========================

Theme Suffix for search results page:_geomap <= this seems to be ignored)

Category Auto-detect: Yes

 

 

Theme Manager

================================

Category: MyGeoMapCategory

List Layout: blogview

Theme suffix : _geomap

 

 

Template overrides

===============================

/public_html/templates/jreviews_overrides/views/themes/theme_xzy/listings_blogview_geomap.thtml

 

 

 

...Clear cache, template files.... Clear cache again.

 

 

When I perform a Geo Location radius search search module. The search results url shows:

 

http://.../.../search-results/order:distance/cat:130/query:all/jr_address:San+Diego%2C+CA+92101/jr_radius:5/jr_latitude:32.7269669/jr_longitude:-117.16470939999999/tmpl_suffix:_geomap/  <=== shows the theme suffix

 

 

 

However the result view is using the "listing_tableview.thtml" template.

 

Why does the Geo Adv search module look for listings_tableview.thtml when the advanced search settings is configured to use

"Theme Suffix for search results page:_geomap"

 

 

To test, I renamed the" listings_tableview.thtml" to purposely get the error:

"The template file /home/.../public_html/templates/jreviews_overrides/views/themes/theme_mod1/listings/listings_tableview.thtml is missing. " So it shows that it is trying to look for "listings_tableview.thtml "

 

 

 

Not sure what I'm doing wrong.

 

thanks

 

 

 

 

 

Link to comment
×
×
  • Create New...