← Back to team overview

mahara-contributors team mailing list archive

[Bug 1240796] [NEW] Elastic Search Templates: 'hard coded' include files

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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 ePortfolio:
  New

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


Follow ups

References