About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:advanced_search_templates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
development:architecture:advanced_search_templates [2015/12/14 18:27] – ↷ Page moved from advanced_search_templates to development:architecture:advanced_search_templates demiankatzdevelopment:architecture:advanced_search_templates [2023/11/09 20:55] (current) demiankatz
Line 1: Line 1:
 ====== Advanced Search Templates ====== ====== Advanced Search Templates ======
  
-As of 2.4.1 we are using script templates in VuFind to simplify advanced search interface Javascript and customization. There are two templates: a group template and a search input template.+VuFind® uses script templates to simplify the advanced search interface Javascript and customization. There are two templates: a group template and a search input template.
  
-You can find the default templates in the search/advanced/layout template. They're placed in the #new_group_template and the #new_search_template elements.+You can find the default templates in the [[https://github.com/vufind-org/vufind/blob/dev/themes/bootstrap3/templates/search/advanced/layout.phtml|search/advanced/layout]] template. They're placed in the #new_group_template and the #new_search_template elements.
  
-To overwrite with a custom template, look at the eds/advanced template for an example.+To overwrite with a custom template, look at the [[https://github.com/vufind-org/vufind/blob/dev/themes/bootstrap3/templates/eds/advanced.phtml|eds/advanced]] template for an example.
  
 ===== Javascript Requirements ===== ===== Javascript Requirements =====
  
 The required elements for the default Javascript to work are as follows: The required elements for the default Javascript to work are as follows:
 +
 ==== New Group Template ==== ==== New Group Template ====
   * Needs an id of new_group_template   * Needs an id of new_group_template
Line 46: Line 47:
  
 ==== New Search Template ==== ==== New Search Template ====
 +
   * Needs an id of "new_search_template"   * Needs an id of "new_search_template"
   * Text inputs need a "form-control" class   * Text inputs need a "form-control" class
Line 74: Line 76:
   </div>   </div>
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/architecture/advanced_search_templates.1450117638.txt.gz · Last modified: 2015/12/14 18:27 by demiankatz