{"id":1450686,"date":"2018-02-12T07:20:14","date_gmt":"2018-02-12T15:20:14","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/"},"modified":"2018-02-12T07:20:14","modified_gmt":"2018-02-12T15:20:14","slug":"how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/","title":{"rendered":"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?)"},"content":{"rendered":"<p>So I am editing the tickets.php view from Event Tickets Plus to a stacked table for implementation in a side bar.  Unfortunately, the Themer&#8217;s Guide doesn&#8217;t list very clear details on WHERE to put this file.  Dumping it in the \/tribe-events\/tickets\/ directory doesn&#8217;t query the revised file.  Here is the relevant section from the Themer&#8217;s Guide:<\/p>\n<blockquote><p><strong>2. Create a new folder in your theme<\/strong><\/p>\n<p>Open your theme folder, located at wp-content\/themes\/your-theme\/<br \/>\nCreate a new folder here called \/tribe-events. This will be the parent folder that contains all template overrides.<br \/>\nCreate a new folder inside \/tribe-events for specific premium addons:<br \/>\nCommunity Events: \/tribe-events\/community\/<br \/>\nEvents Calendar Pro: \/tribe-events\/pro\/<br \/>\nEvent Tickets: \/tribe-events\/tickets\/<br \/>\nFilter Bar: \/tribe-events\/filter-bar<\/p><\/blockquote>\n<p>So where does the ticket.php file actually go?<\/p>\n<p>As a follow up request, could MT add into the Themer&#8217;s Guide a complete list of all template &#8220;view&#8221; files and what their final destination should be inside our themes?  For example:<\/p>\n<blockquote><p><strong>Events Calendar:<\/strong><br \/>\n\/wp-content\/plugins\/the-events-calendar\/src\/views\/day.php -&gt; \/wp-content\/themes\/[your theme]\/tribe-events\/day.php<br \/>\n\/wp-content\/plugins\/the-events-calendar\/src\/views\/default-template.php -&gt; \/wp-content\/themes\/[your theme]\/tribe-events\/default-template.php<br \/>\netc&#8230;<\/p>\n<p><strong>Events Calendar Pro:<\/strong><br \/>\n\/wp-content\/plugins\/events-calendar-pro\/src\/views\/pro\/map.php -&gt; \/wp-content\/themes\/[your theme]\/tribe-events\/pro\/map.php<br \/>\n\/wp-content\/plugins\/events-calendar-pro\/src\/views\/pro\/photo.php -&gt; \/wp-content\/themes\/[your theme]\/tribe-events\/pro\/photo.php<br \/>\netc&#8230;<\/p>\n<p>And so on for each product.<\/p><\/blockquote>\n<p>It seems to me that a simple 15 minute addition to the Themer&#8217;s Guide would make all the difference in customer security of knowing they were putting the edited templates in the right place.  The current wording is somewhat ambiguous.<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1450686","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -\" \/>\n<meta property=\"og:description\" content=\"So I am editing the tickets.php view from Event Tickets Plus to a stacked table for implementation in a side bar. Unfortunately, the Themer&#8217;s Guide doesn&#8217;t list very clear details on WHERE to put this file. Dumping it in the \/tribe-events\/tickets\/ directory doesn&#8217;t query the revised file. Here is the relevant section from the Themer&#8217;s [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/\",\"name\":\"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-02-12T15:20:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/","og_locale":"en_US","og_type":"article","og_title":"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -","og_description":"So I am editing the tickets.php view from Event Tickets Plus to a stacked table for implementation in a side bar. Unfortunately, the Themer&#8217;s Guide doesn&#8217;t list very clear details on WHERE to put this file. Dumping it in the \/tribe-events\/tickets\/ directory doesn&#8217;t query the revised file. Here is the relevant section from the Themer&#8217;s [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/","name":"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?) -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-02-12T15:20:14+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-edit-tickets-php-where-does-it-go-in-theme-tribe-events-tickets\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"How to: Edit tickets.php (where does it go in [theme]\/tribe-events\/tickets\/?)"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1450686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1450686\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1450686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}