If you have created an EadRecord class in web/RecordDrivers/EadRecord.php, this class should be getting instantiated to display information about your EAD records. It is the responsibility of this class to return the paths to templates used to display various chunks of information. It sounds like you either don't have an EadRecord class, your EadRecord class is not getting instantiated because it is slightly misnamed (maybe a case sensitivity issue), or else it is inheriting default behavior from the IndexRecord class.
Please see the Record Driver interface if you have questions about which methods to fill in:
If you want most of the same data as the standard index-based display method but you want to use a different template, here's a simple way to do it:
class EadRecord extends IndexRecord
public function getCoreMetadata()
Note that the need to explicitly specify template paths in the record driver was an intentional design decision: this way, each record driver's template folder only contains templates that are unique to that record format, and the rest can be inherited from the Index driver. I thought this was a bit cleaner than forcing every driver to provide a full set of templates, which could result in a lot of redundancy and thus more potential maintenance problems.
I hope this helps -- please let me know if you still have questions!
> -----Original Message-----
> From: Eric Lease Morgan [mailto:emorgan@...]
> Sent: Monday, July 12, 2010 4:48 PM
> To: vufind-tech@...
> Subject: Re: [VuFind-Tech] indexing non-marc data [record driver
> On Jul 12, 2010, at 4:03 PM, Eric Lease Morgan wrote:
> > * started writing a driver for records of type
> > 'ead'
> How do I tell VUFind which record driver themes to use?
> I have indexed my data with a Solr recordType of ead. When I do a
> search and display a full record the default/Index/core.tpl template is
> used. It contains a number of table rows that I do not need. I also see
> a set of templates for the Marc recordType.
> Where in the code does VUFind look at the recordType value and branch
> to the Index or Marc recordType? My newly created Ead recordType
> templates (*.tpl) do not seem be getting called.
> Eric Lease Morgan
> University of Notre Dame
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> Vufind-tech mailing list