Answers.Body: <p>First, there isn't a single specific template that <a href="https://craftcms.com/classreference/controllers/ElementIndexController" rel="nofollow">ElementIndexController's</a> <a href="https://craftcms.com/classreference/controllers/ElementIndexController#actionGetElements-detail" rel="nofollow">actionGetElements</a> uses to return data.</p>
  
  <p>It implements <a href="https://craftcms.com/classreference/elementtypes/IElementType" rel="nofollow">IElementType's</a> <a href="https://craftcms.com/classreference/elementtypes/IElementType#getIndexHtml-detail" rel="nofollow">getIndexHtml</a> method which <a href="https://craftcms.com/classreference/elementtypes/BaseElementType" rel="nofollow">BaseElementType</a> provides a <a href="https://craftcms.com/classreference/elementtypes/BaseElementType#getIndexHtml-detail" rel="nofollow">default implementation</a> of, but any <a href="https://craftcms.com/docs/plugins/working-with-elements" rel="nofollow">ElementType</a> (Entry, User, Asset, custom plugin ElementType, etc.) is free to implement that method with their own logic.</p>
  
  <p>Second, it sounds like you want to hack core files in the <code>craft/app</code> folder, which I definitely wouldn't recommend.</p>
  
  <p>You might be able to make the modifications you're looking for with something like the <a href="https://github.com/lindseydiloreto/craft-cpcss" rel="nofollow">CP CSS</a> and <a href="https://github.com/lindseydiloreto/craft-cpjs" rel="nofollow">CP JS</a> plugins.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-11T03:48:38.803Z
Answers.LastActivityDate: 2016-07-11T03:48:38.803Z
Answers.UserDisplayName: Brad Bell
Body: <p>First, which template does the <code>actionGetElements</code> use to generate a response?</p>
  
  <p>Second, how can I customize the template for a single entry section?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-11T08:13:56.890Z
Comments.Text: What kind of customization do you want to do, specifically?
Comments.UserDisplayName: Mats Mikkel Rummelhoff
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-12T00:47:01.907Z
Comments.Text: I want to add a filter and change headers.
Comments.UserDisplayName: user2997606
Tags: <control-panel>
Title: Customizing CP Entries section template
ThreadText: # Customizing CP Entries section template
  
  (Asked by: username_0 on 2016-07-11)
  
  First, which template does the `actionGetElements` use to generate a response?
  
  Second, how can I customize the template for a single entry section?
  
  **Tags:** control-panel
  
  > **Comments:**
  > **username_1**: What kind of customization do you want to do, specifically?  
  > **username_0**: I want to add a filter and change headers.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-07-11. Score: 2
  
  First, there isn't a single specific template that [ElementIndexController's](https://craftcms.com/classreference/controllers/ElementIndexController) [actionGetElements](https://craftcms.com/classreference/controllers/ElementIndexController#actionGetElements-detail) uses to return data.
  
  It implements [IElementType's](https://craftcms.com/classreference/elementtypes/IElementType) [getIndexHtml](https://craftcms.com/classreference/elementtypes/IElementType#getIndexHtml-detail) method which [BaseElementType](https://craftcms.com/classreference/elementtypes/BaseElementType) provides a [default implementation](https://craftcms.com/classreference/elementtypes/BaseElementType#getIndexHtml-detail) of, but any [ElementType](https://craftcms.com/docs/plugins/working-with-elements) (Entry, User, Asset, custom plugin ElementType, etc.) is free to implement that method with their own logic.
  
  Second, it sounds like you want to hack core files in the `craft/app` folder, which I definitely wouldn't recommend.
  
  You might be able to make the modifications you're looking for with something like the [CP CSS](https://github.com/lindseydiloreto/craft-cpcss) and [CP JS](https://github.com/lindseydiloreto/craft-cpjs) plugins.
  
  
  ---
  
  