Elastic Search Templates: 'hard coded' include files

Bug #1240796 reported by Ghada El-Zoghbi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Undecided
Unassigned

Bug Description

Mahara: 1.8rc3dev (2013101401)
DB: MySql or PostGres
Browser: Mozilla Firefox 24.0
OS: Linux

If the user implements their own theme in the Elasticsearch, they need to copy all the .tpl files under:

/htdocs/search/elasticsearch/theme/raw/*.tpl

because the template 'searchresults.tpl' "hard codes" the include files.

It should wrap the include files as such:

{include file="search:elasticsearch:xxxx.tpl"}

Workaround:
The work around for this is for the user to copy searchresults.tpl in their theme and wrap the include files.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

This should have been resolved in Mahara 15.10+. I don't see a "theme" folder under /htdocs/search anymore.

Changed in mahara:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.