mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #37748
[Bug 1240796] Re: Elastic Search Templates: 'hard coded' include files
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
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1240796
Title:
Elastic Search Templates: 'hard coded' include files
Status in Mahara:
Invalid
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1240796/+subscriptions
References